views:

178

answers:

0

I'm trying to create an installer in VisualStudio 2008 that will prompt the user with a "Run application when finished" checkbox. I was able to create the dialog with no problem:

User Interface, select End, right-click, add dialog, CheckBoxes (A).

I then tried adding a custom action to run my app. Again, no biggie: Custom Actions, select Install, right-click, Add custom action, point to primary output.

When I ran the installer, the custom action ran as soon as the progress screen finishes. That is to say, before my dialog even appears.

I assume custom actions is the wrong way to go about this. The question is, what is the right way?