I have tried to do this and I don¹t think it is possible. The problem is
that the SQL install extracts to a folder outside the location of it¹s exe
(in the root I think) and needs a fully qualified path to the
configuration file. Unfortunately burn doesn¹t have a method of getting a
fully qualified path to a payload file (I believe there is a feature
request outstanding for this).

Neil


>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)ConfigurationFi
>leSQL2008ExpressR2SP2.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.i
>ni"
>                 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


------------------------------------------------------------------------------
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

Reply via email to