I'm pretty sure the WiX.chm has a topic about exactly this case.

little.forest wrote:
> Hi,
>
> We're using WiX 3.0.4805.0.
>
> Question: how to run a program? We'd like to run it after all files installed 
> but before the main application running.
>
> Here is the code which doesn't work - the test.exe program never run during 
> installation:
> <Component Id="ComponentTestExe" Guid="...">
>     <File Id="TestExe" Source="test.exe" KeyPath="yes" Checksum="yes"/>
> </Component>
> ...
> <CustomAction Id="RunTestExe" FileKey="TestExe" ExeCommand='' 
> Return="asyncWait" />
> ...
> <InstallExecuteSequence>
>     <Custom Action="RunTestExe" After="InstallFiles">NOT Installed</Custom>
> </InstallExecuteSequence>
> ...
> <ComponentRef Id ="ComponentTestExe"/>
>
> Can you please point out the errors? Thanks a lot..
>
> /Brian
>
>
>
>       __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr!
>
> http://www.flickr.com/gift/
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to