/build/static/layout/Breadcrumb_cap_w.png

Custom Action after install

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   [ + ] Show comments

Answers (3)

Posted by: jagadeish 11 years ago
Red Belt
2

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

Posted by: pjgeutjens 11 years ago
Red Belt
2

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

Posted by: Arminius 11 years ago
Second Degree Green Belt
1

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. 


Comments:
  • 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. - joedown 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ