I'd recommend running the SQL install from a batch file to start with to get 
the command line correct and then plug that in to burn. The command line 
reference is here: http://msdn.microsoft.com/en-us/library/ms144259.aspx 

My command lines are:

<?define InstanceName = "YOUR_INSTANCE" ?>

InstallCommand="/ACTION=Install /INSTANCENAME=$(var.InstanceName) /FEATURES=SQL 
/SECURITYMODE=SQL /SAPWD=YOUR_PASSWORD /TCPENABLED=1 /SQLSVCACCOUNT=&quot;NT 
AUTHORITY\NETWORK SERVICE&quot; /SQLSVCSTARTUPTYPE=Manual 
/SQLSYSADMINACCOUNTS=BUILTIN\Administrators /Q /HIDECONSOLE 
/SkipRules=RebootRequiredCheck /IAcceptSQLServerLicenseTerms"

UninstallCommand="/Action=Uninstall /INSTANCENAME=$(var.InstanceName) 
/FEATURES=SQL /Q /HIDECONSOLE"

RepairCommand="/ACTION=Repair /INSTANCENAME=$(var.InstanceName) /Q /HIDECONSOLE"

This is installing with SQL security which you might not want.

This doesn't really help with the error you are seeing but the command line you 
have doesn't look correct to me.

Neil

-----Original Message-----
From: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in] 
Sent: 23 November 2012 13:21
To: WIX
Subject: [WiX-users] Unable to burn MS SQLServer Express 2012

Hello,
    I am trying to use the new ‘Burn’ feature for installing my application. 
I need to install ‘SQL Server Express 2012’ before installing my application. 
Hence, I am putting it as a prerequisite. My code is as
follows:

<Bundle Name           = "My Product
          Version        = "$(var.Version)"
          Manufacturer   = "My Company"
          UpgradeCode    = "$(var.UPGRADE_CODE)"
          IconSourceFile = "BootStrap.ico" >

    <WixVariable Id = "WixStdbaLicenseRtf" Value = Eula.rtf" />
    <WixVariable Id = "WixStdbaLogo" Value = PageIcon.jpg" />
    <BootstrapperApplicationRef Id =
"WixStandardBootstrapperApplication.RtfLicense" />

    <Chain>

      <PackageGroupRef Id = "SQLServerExpr" />

      <MsiPackage SourceFile = "MySetup.msi"
                  Vital      = "yes"
                  Compressed = "yes"
                  DisplayInternalUI="yes">
      </MsiPackage>

    </Chain>
  </Bundle>

<util:RegistrySearch Root  = "HKLM" Key = "SOFTWARE\Microsoft\Microsoft SQL 
Server 2012 Redist\SqlDom\1033\CurrentVersion"
                         Value = "Version" Variable = "SQL2012RedistFound" 
/>

    <PackageGroup Id = "SQLServerExpr">
      <ExePackage Id              = "SQLServerExpr"
                  Cache           = "no"
                  Compressed      = "yes"
                  PerMachine      = "yes"
                  Permanent       = "yes"
                  Vital           = "yes"
                  Name            = "SQLEXPR_Setup_ENU.exe"
                  InstallCommand  = "/ACTION=Install"
                  SourceFile      = "SQLEXPR_Setup_ENU.exe"
                  DetectCondition = "SQL2012RedistFound" />

    </PackageGroup>




But, when the bootstrapper tries to extract the SQL Server Express setup file, 
it encounters the following error:

[0194:0198][2012-11-23T13:24:12]: Registering bundle dependency provider: 
{3b885b1c-178c-4623-8c81-89dc4fa40886}, version: 1.0.0.0
[0560:06BC][2012-11-23T13:24:12]: Acquiring container: WixAttachedContainer, 
copy from: C:\Users\installer\Desktop\MyProductPkg.exe
[0560:06BC][2012-11-23T13:24:24]: Setting string variable 
'WixBundleLastUsedSource' to value 'C:\Users\installer\Desktop\'
[0560:0CBC][2012-11-23T13:24:24]: Error 0x80004005: Failed to extract all files 
from container.
[0560:06BC][2012-11-23T13:24:24]: Error 0x80004005: Failed to wait for 
operation complete.
[0560:06BC][2012-11-23T13:24:24]: Error 0x80004005: Failed to open container.
[0560:06BC][2012-11-23T13:24:24]: Error 0x80004005: Failed to open
container: WixAttachedContainer.
[0560:06BC][2012-11-23T13:24:24]: Failed to extract payloads from container: 
WixAttachedContainer to working path: 
C:\Users\INSTAL~1\AppData\Local\Temp\{3b885b1c-178c-4623-8c81-89dc4fa40886}\E2CBF4C8C2DEDCEC10119F027D609C3DE9E0ECA5,
error: 0x80004005.
[0560:09F0][2012-11-23T13:24:24]: Error 0x80004005: Failed while caching, 
aborting execution.
[0194:0198][2012-11-23T13:24:24]: Removed bundle dependency provider: 
{3b885b1c-178c-4623-8c81-89dc4fa40886}




    Please help me out of this. Thanks in advance.




Thanking You,
With Regards,

// Sudripta Nandy
S.D.E (Systems Programming),

SARANGSoft Pvt. Ltd. 


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single web 
console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud 
infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to