You shouldn't be doing this from an MSI, but from a bootstrapper. MSIs are not design to run other installers. Try http://dotnetinstaller.codeplex.com.
Hope this helps, Cheers dB. -----Original Message----- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Monday, December 28, 2009 10:15 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Install external program from CDROM drive I searched all over the Wix but couldn't find anywhere how to install application from cdrom drive. I have wix install which should install SQL Server 2008 based on user selection. Say, if user selects client install I don't have to install SQL Server but if he selects Server install then I have to install it and SQL Server folder is on the CD. CD ROM Directory structure looks like this CD\Setup.exe - Wix Installer with BootStrapper to Install .NET Framework. CD\SQLSERVER2008 - this folder includes x86 and x64 installer for SQL Server 2008 Express Edition. I need one to install SQL Server from the CD Folder. Something like <var.Platform = x64> <CustomAction Id="InstallSQLx64" FileKey="[cddromdir]\SQLServer2008\SQLEXPR_x64_ENU.EXE" ExeCommand ="/q /hideconsole /action=Install /features=SQL /INSTANCENAME=MSSQLSERVER /TCPENABLED=1 /SECURITYMODE=SQL /SAPWD="****" /enableranu=1 /sqlsvcaccount= "NT Authority\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /skiprules=RebootRequiredCheck" <var.Platform = x86> <CustomAction Id="InstallSQLx86" FileKey="[cddromdir]\SQLServer2008\SQLEXPR32_x86_ENU.EXE" ExeCommand ="/q /hideconsole /action=Install /features=SQL /INSTANCENAME=MSSQLSERVER /TCPENABLED=1 /SECURITYMODE=SQL /SAPWD="****" /enableranu=1 /sqlsvcaccount= "NT Authority\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /skiprules=RebootRequiredCheck" Is this possible? Thanks, Arun Perregattur ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users