Hi All,

Execute setup.exe from MSI package location (which is not packaged) using
MSI.

Step1: Created a c++ custom action to get the current directory and set the
EXEPATH property.

Step2: Set the INSTALLDIR property to setup.exe parent folder path.

Step3: Added a custom action shown below to execute setup.exe.
<CustomAction Id="InstallDRV" Directory="INSTALLDIR " Execute="deferred"
ExeCommand="[EXEPATH] -uninst $(var.ARGUMENT)" Impersonate="no"
Return="asyncNoWait" />

Step4: In "InstallExecuteSequence",
<Custom Action="InstallDRV" Before="InstallFiles">NOT REMOVE ~=
"ALL"</Custom>

setup.exe is not running.

Please help me to solve this.

Regards,
Dileep
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to