Peter Vestergaard wrote: > I have a custom action that runs when my exit dialog's finish button is > pressed. Is it possible to make the installer shut down when my custom > action has run.
Check the .msi in Orca to see that the ControlEvent table order for your DoAction event comes before the EndDialog event. > This is my finnish button: > <Publish Dialog="MyExitDialog" Control="Finish" Event="DoAction" > Value="MyCustomAction"">CHECKBOXVALUE = "1" </Publish> > > This is my InstallExecuteSequence: > <InstallExecuteSequence> > <Custom Action="MyCustomAction" > After="InstallInitialize">CHECKBOXVALUE = "1"</Custom> > </InstallExecuteSequence> > That's running the custom action twice; is that what you intended? -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users