You should build / use a bootstrapper for this. Installing other MSI files from within a CA (especially managed ones) are a scenario for deasaster (As far as I have seen at least) and are highly discouraged! Check out if you can use Burn; I have good hopes for it, although I haven't found the time to have a look at it :)
-----Original Message----- From: kim [mailto:contactme...@gmail.com] Sent: maandag 7 februari 2011 18:06 To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction fails with error code 1603?? I am in need to check if SQLExpress is installed on target machine before installing my product. If not installed, my product's msi will install SQLEXpress first. I created a C# custom action to install SQLExpress using command line. When executing this command directly on cmd prompt SQLExpress gets installed successfully. However when calling the custom action to install SQLexpress my msi is failing with error code 1603. Following are the details from the Verbose log: --------------------------------------------------- Action 16:23:11: InstallSQL. SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSIA231.tmp-\ SFXCA: Binding to CLR version v2.0.50727 Calling custom action SQLCustomAction!SQLCustomAction.CustomActions.InstallSQLServer MSI (s) (A8:40) [16:27:20:768]: Running as a service. MSI (s) (A8:40) [16:27:23:878]: Running as a service. MSI (s) (A8:28) [16:29:25:274]: Running as a service. MSI (s) (A8:28) [16:29:28:337]: Running as a service. MSI (s) (A8:28) [16:31:29:709]: Running as a service. MSI (s) (A8:28) [16:31:32:819]: Running as a service. CustomAction InstallSQL returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 16:32:32: InstallFinalize. Return value 3. ---------------------------------------------------------------------------- -- Also at the very end of log file I found: MSI (s) (A8:64) [16:32:33:209]: MainEngineThread is returning 1603MSI (s) (A8:C4) [16:32:33:224]: RESTART MANAGER: Session closed. Action ended 16:32:33: ExecuteAction. Return value 3. Can someone please advice me what could be teh problem here. I tried to look for error code 1603 but not getting proper solutions. Windows Event log also displays the same error code without much meaningful information. Kindly advice. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CustomAction-f ails-with-error-code-1603-tp6000977p6000977.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users