Thanks Chris and Phil, Ya :( figured that out, at least the custom action ran... it just didn't install the msi :)
Looking at burn Steve -----Original Message----- From: Chris Lord [mailto:chris.l...@atterotech.com] Sent: September-10-12 1:09 PM To: wix-users Subject: Re: [WiX-users] running a msi via a custom action... Steven, It sounds like you are calling one MSI from another. This is not a Windows Installer recommended practice. If you need to install two MSI's for your application, you should consider using a bootloader such as Burn to install them one at a time. Hope that helps Chris -----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Monday, September 10, 2012 12:51 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] running a msi via a custom action... I am trying to run a MSI that I have installed onto the desktop (via a custom action) but I get a MSI error 1603 I have run the code via a cmd line after the install has finished and it works properly, I just dont understand why it doesnt work via the custom action?? CustomAction: <CustomAction Id="SetRunSynchronization" Property="RunSynchronizationInst" Value=""msiexec.exe" /i "C:\Program Files (x86)\TITUS\Gloria\Services\Synchronization-v2.1-$(var.Platform)-ENU.msi "" Execute="immediate"/> <CustomAction Id="RunSynchronization" Impersonate="no" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="asyncWait" /> <UI> <ProgressText Action="RunSynchronization">Installing Synchronization-v2.1-$(var.Platform)-ENU.msi...</ProgressText> </UI> Install execute sequence: <InstallExecuteSequence> <Custom Action="SetRunSynchronization" After="CostInitialize">NOT Installed</Custom> <Custom Action="RunSynchronization" Before="InstallFinalize">NOT Installed</Custom> Error in MSI: MSI (s) (40:DC) [12:39:50:228]: PROPERTY CHANGE: Adding RunSynchronizationInst.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 property. Its value is '"msiexec.exe" /i "C:\Program Files (x86)\TITUS\Gloria\Services\Synchronization-v2.1-x86-ENU.msi"'. MSI (s) (40:DC) [12:39:51:102]: Doing action: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 Action 12:39:51: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7. Installing Synchronization-v2.1-x86-ENU.msi... Action start 12:39:51: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7. 1: Installing Synchronization-v2.1-x86-ENU.msi... Action ended 12:39:51: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7. Return value 1. MSI (s) (40:DC) [12:40:21:756]: Executing op: ActionStart(Name=RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 ,Description=Installing Synchronization-v2.1-x86-ENU.msi...,) Action 12:40:21: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7. Installing Synchronization-v2.1-x86-ENU.msi... MSI (s) (40:5C) [12:40:21:757]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI3E11.tmp, Entrypoint: CAQuietExec MSI (s) (40:DC) [12:40:21:758]: Executing op: CustomActionSchedule(Action=RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_F D373F99E9D7,ActionType=3201,Source=BinaryData,Target=CAQuietExec,) MSI (s) (40!98) [12:40:21:759]: Creating MSIHANDLE (1473) of type 790531 for thread 8600 CAQuietExec: Error 0x80070057: failed to get command line data MSI (s) (40!98) [12:40:21:759]: Closing MSIHANDLE (1473) of type 790531 for thread 8600 MSI (s) (40!98) [12:40:21:759]: Creating MSIHANDLE (1474) of type 790531 for thread 8600 CAQuietExec: Error 0x80070057: failed to get Command Line MSI (s) (40!98) [12:40:21:759]: Closing MSIHANDLE (1474) of type 790531 for thread 8600 CustomAction RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) 1: RunSynchronization.CA23A0DC_B2DE_4F2C_9E74_FD373F99E9D7 2: 1603 Thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/running-a-msi-via-a-custom-action-tp7580398.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users