How to pass .ini configuration file to InstallCommand for a SQLEXPR_x64_ENU.exe ExePackage element.
<ExePackage Id="SQLExpressx64" Name="SQLEXPR_x64_ENU.exe" DisplayName="Microsoft® SQL Server® 2008 R2 SP2 - Express Edition x64" SourceFile="$(var.PreRequisites_x64)SQLEXPR_x64_ENU.exe" InstallCommand="/ConfigurationFile=$(var.PreRequisites_x64)ConfigurationFileSQL2008ExpressR2SP2.ini" InstallCondition="Not SqlInstanceFoundx64 AND Not SqlInstanceFoundx64Express AND Not SqlInstanceFoundx86 AND Not SqlInstanceFoundx86Express AND VersionNT64" DetectCondition="SqlInstanceFoundx64" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes"> <Payload Id="ConfigurationFileSQL2008ExpressR2SP2" Compressed="yes" SourceFile="$(var.PreRequisites_x64)ConfigurationFileSQL2008ExpressR2SP2.ini" Name="ConfigurationFileSQL2008Express" /> </ExePackage> I have a lot of install parameter to pass. Which I have put in the configuration file. If I give absolute path then I get the following error: Applying execute package: SQLExpressx64, action: Install, path: C:\ProgramData\Package Cache\E768A3B70E3F3B596EFFA9F57D812F95C0A0506B\SQLEXPR_x64_ENU.exe, arguments: '"C:\ProgramData\Package Cache\E768A3B70E3F3B596EFFA9F57D812F95C0A0506B\SQLEXPR_x64_ENU.exe" /ConfigurationFile=SomePath\ConfigurationFileSQL2008ExpressR2SP2.ini' ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users