I want to run a custom action once, using self repair, when the user launches the shortcut to the applicaton for the first time.

Would I key off the reg entry that gets created by the custom action in the HKCU hive?

What would my conditions be for the CA?  Installed AND NOT REMOVE?

Where would I sequence this CA?

Nick are you still here?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



What registry entry you want to create through custom action.. We can look for other options as well..

Answered 09/25/2012 by: jagadeish
Red Belt

Please log in to comment

Installed AND NOT REMOVE should do the trick as a condition. I would sequence it in Deferred Execution after InstallFiles or in Immediate Execution after InstallFinalize

Answered 09/25/2012 by: pjgeutjens
Red Belt

Please log in to comment

This sounds more like either activesetup or advertised shortcut.  ActiveSetup will run a full repair the first time a user logs on to the machine since the installation, which means that your install requires a reboot.  An advertised shortcut won't need a reboot, but that only does a feature-level repair when the app is launched. 

Answered 09/24/2012 by: Arminius
Second Degree Green Belt

  • Active Setup won't work in this situation. So I want to use an advertised shortcut to trigger self repair. I know how to create an advertised shortcut but I am not sure how to condition my CA to only run if repair is triggered. The CA runs an installed exe with parameters.
Please log in to comment