Use burn...  Calling one installer from another installer is not supported.

https://msdn.microsoft.com/en-us/library/aa368010(v=vs.85).aspx

-----Original Message-----
From: Dileep S [mailto:dileep.sanamp...@gmail.com] 
Sent: Thursday, March 26, 2015 12:12 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] [WIX]: Execute setup.exe from MSI package location (which 
is not packaged) using MSI.

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

------------------------------------------------------------------------------
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