MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Determining component state on repair

Hi

I want to display an extra dialog in the repair step if components are missing that need user input for text replace.
Using ?componentname < 3 as condition doesn't work. When does the installer analyze which components are missing?
Do I have to create a file search for each component I want to check in repair mode?

Kind reagards,
Michael
Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Determining component state on repair

Hi Michael,

You can use the Windows Installer to detect missing components or files, and then reinstall features that contain the missing components. For details, please take a look on the Installing a Missing Component article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Determining component state on repair

Hi Dan,

this looks like I need a lot of custom action code. So there is nothing built in in advanced installer?
Performing AppSearch for the files seems to be much easier for me than writing such a custom action.

Kind regards,
Michael

Return to “Building Installers”