1 more suggestion, inside your control for the finish button:
<Control X="236" Text="!(loc.WixUIFinish)" Y="243" Id="Finish" Default="yes" Width="56" Height="17" Type="PushButton" Cancel="yes"> <Publish Event="DoAction" Value="CustomAction1><![CDATA[NOT Installed OR UPGRADINGPRODUCTCODE]]></Publish> <Publish Event="DoAction" Value="CustomAction2">1</Publish> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> Pulled this from some old code. On Wed, Nov 26, 2008 at 9:55 AM, Chad Miles <[EMAIL PROTECTED]> wrote: > no problem. i'm actually interested in this, i'm creating a little test > install. i'll get back to you later on unless someone pops in first. > > > On Wed, Nov 26, 2008 at 9:47 AM, Peter Vestergaard <[EMAIL PROTECTED]>wrote: > >> I tried ignore. It builds, but the installer does not close:-( But thanks >> for your effort... >> >> 2008/11/26 Chad Miles <[EMAIL PROTECTED]> >> >> > Ah I see why. Pardon me on that one. async's can only be used w/ >> exe's. >> > >> > http://msdn.microsoft.com/en-us/library/aa368071(VS.85).aspx >> > >> > I'd say try ignore then... unless you already did that one too and it >> > griped >> > at you. >> > >> > On Wed, Nov 26, 2008 at 9:15 AM, Peter Vestergaard < >> [EMAIL PROTECTED] >> > >wrote: >> > >> > > But when I set the CustomAction/@Return I get the warning that the >> > > CustomAction/@ExeCommand has to be set. But what shoukd that be set to >> > > then? >> > > >> > > Thanks for your help... >> > > >> > > Best regards >> > > Peter >> > > >> > > 2008/11/26 Chad Miles <[EMAIL PROTECTED]> >> > > >> > > > I would guess your CustomAction/@Return is defaulting to 'check'. >> You >> > > > could >> > > > try setting it to asyncNoWait/ignore and see if that remedies the >> > > problem. >> > > > >> > > > On Wed, Nov 26, 2008 at 8:14 AM, Peter Vestergaard < >> > [EMAIL PROTECTED] >> > > > >wrote: >> > > > >> > > > > My customAction element looks like this: >> > > > > >> > > > > <CustomAction Id="HeyMan" BinaryKey="_32" DllEntry="HeyMan" >> Execute=" >> > > > > immediate" /> >> > > > > and my publish element like this: >> > > > > >> > > > > >> > > > > <Publish Dialog="MyExitDialog" Control="Finish" Event="DoAction" >> > > Value=" >> > > > > HeyMan">1</Publish> >> > > > > When I run the Installer and press the finish button, the custom >> > action >> > > > is >> > > > > executed, but the installer does not exit. The only way to close >> it >> > is >> > > > > through the task manager... >> > > > > >> > > > > What am I doing wrong? >> > > > > >> > > > > Best regards >> > > > > Peter >> > > > > >> > > > > 2008/11/26 Chad Miles <[EMAIL PROTECTED]> >> > > > > >> > > > > > Sure, >> > > > > > >> > > > > > >> > > > > > <CustomAction Id="LaunchSAwithLOCALDB" Execute="immediate" >> > FileKey=" >> > > > > > SetupAssistant.exe" Return="asyncNoWait" >> > > > > > ExeCommand='"[INSTALLDIR]SetupAssistant.exe" >> > > > > > /db=[DBNAME] /dbserver=[ComputerName]' /> >> > > > > > >> > > > > > <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" >> > > Value=" >> > > > > > LaunchSAwithLocalDB">SQLTYPE=1 AND (NOT PATCH)</Publish> >> > > > > > >> > > > > > >> > > > > > On Wed, Nov 26, 2008 at 6:21 AM, Peter Vestergaard < >> > > > [EMAIL PROTECTED] >> > > > > > >wrote: >> > > > > > >> > > > > > > Hi is it possible to execute a custom action after the >> installer >> > > has >> > > > > > exited >> > > > > > > or alternativly run the custom and then exit the installer. >> > > > > > > fx: The user presses the finish button, then a custom action >> is >> > > > > executed >> > > > > > > and >> > > > > > > then the installer exits. >> > > > > > > >> > > > > > > Best regards >> > > > > > > Peter >> > > > > > > >> > > > > >> > > >> ------------------------------------------------------------------------- >> > > > > > > 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 >> > > > > > > >> > > > > > >> > > > >> > >> ------------------------------------------------------------------------- >> > > > > > 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 >> > > > > > >> > > > > >> > > >> ------------------------------------------------------------------------- >> > > > > 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 >> > > > > >> > > > >> > >> ------------------------------------------------------------------------- >> > > > 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 >> > > > >> > > >> ------------------------------------------------------------------------- >> > > 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 >> > > >> > >> ------------------------------------------------------------------------- >> > 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 >> > >> ------------------------------------------------------------------------- >> 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 >> > > ------------------------------------------------------------------------- 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