Maybe try and find an error from the exe that your trying to run? Look in the event log. Also can you run the exe by itself? Maybe its trying to reference something that hasn't been installed yet. You could also try running the installer from the command line and get the verbose logging output.
Just some ideas that might help you work out the problem, sorry I'm no expert at wix yet. On Mon, Aug 10, 2009 at 22:23, Andrew Macvean <mad_man_...@hotmail.com>wrote: > > Hello everybody, I would greatly appreciate some help. > > > > I am using wix v2 to create an installer, at the moment the installer > checks for some prerqusite files using the registry and based on what is > found takes the user to one of three new dialogs. At 2 of the dialogs I have > a checkbox where the idea is that the user checks the box and hits the > finish button to launch a .exe to run appropriate updates. > > > > However I have never managed to successfully get the .exe to run. I tested > the checkbox with opening Notepad like so: > > > > <Property Id='NOTET'>Notepad.exe</Property> > > <CustomAction Id='LaunchNet' Property='NOTET' > ExeCommand='[TARGETDIR]\Program Files\Readme.txt' Return='asyncNoWait' /> > > > > <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" > Height="17" Default="yes" Cancel="no" Text="!(loc.WixUIFinish)"> > > <Publish Event="EndDialog" Value="Exit">1</Publish> > > </Control> > > > > <Publish Dialog="nwnUpdate" Control="Finish" Order="1" Event="DoAction" > Value="LaunchNet">LAUNCHNET = 1</Publish> > > > > And everything worked correctly. > > > > However when I try to change the custom action to launch the .exe nothing > seems to happen, I currently have the following code but I have tried > various approaches. > > > > <Binary Id="Updater_EXE" SourceFile="C:\Program Files\Atari\Neverwinter > Nights 2\nwupdate.exe" /> > > <CustomAction Id='LaunchUpdate' BinaryKey="Updater_EXE" ExeCommand="" > Return="asyncNoWait"/> > > > > Just to be clear there is definately a nwupdate.exe in the folder specified > above. > > > > Can anyone advise me on where I am going wrong > > > > Thanks very much in advance! > > _________________________________________________________________ > Windows Live Messenger: Celebrate 10 amazing years with free winks and > emoticons. > http://clk.atdmt.com/UKM/go/157562755/direct/01/ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users