The program I'm working on needs to have either SQL 2005 or the SQL Server Native Client installed. We've decided that if neither of those have been installed we should give the user the option of installing the Native Client after the basic installation is finished in order to simplify things for them.
I've looked through the archives and am aware that concurrent installation has been deprecated, so I've been trying to make it so the SQL installation only happens after my installation has finished. I put together the following code fragments just to test before I worried about the UI or detecting an existing installation: <CustomAction Id="RunSQLNativeClientMsi" BinaryKey="SQLNativeClientMsi" ExeCommand=""/> <InstallExecuteSequence> ... <Custom Action="RunSQLNativeClientMsi" After="InstallFinalize">NOT Installed</Custom> </InstallExecuteSequence> <Binary Id="SQLNativeClientMsi" src="sqlncli.msi"/> However that results in the following error: Action 11:59:58: RunSQLNativeClientMsi. Action start 11:59:58: RunSQLNativeClientMsi. MSI (s) (B0:A4) [11:59:59:228]: Note: 1: 1721 2: RunSQLNativeClientMsi 3: C:\WINDOWS\Installer\MSI9C0.tmp 4: Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: RunSQLNativeClientMsi, location: C:\WINDOWS\Installer\MSI9C0.tmp, command: MSI (s) (B0:A4) [12:17:46:746]: Product: Server -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: RunSQLNativeClientMsi, location: C:\WINDOWS\Installer\MSI9C0.tmp, command: Action ended 12:17:46: RunSQLNativeClientMsi. Return value 3. Action ended 12:17:46: INSTALL. Return value 3. Am I doing something wrong, or it it just not possible to run msi files with a Type 2 custom action? On the plus side the failure doesn't cause a rollback which seems to indicate that I've at least got the timing right. If it's not possible this way then is there some other manner in which I can trigger the second msi to run after the first one finishes? Thanks! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users