I'm trying to bootstrap SQL Server Standard installation in my Wix setup...
So far I've done this:

 <ExePackage Compressed="no" Id= "SQLServer2012"
                  Cache           = "no"
                  PerMachine      = "yes"
                  Vital           = "yes"
                  DisplayName     = "SQL Server 2012 STD"
                  Description     = "Installs SQL 2012 STD Biztools
Instance"
                  InstallCommand  =
"/SQLSYSADMINACCOUNTS=&quot;BUILTIN\Administrators&quot;
&quot;%USERDOMAIN%\%USERNAME%&quot; &quot;NT AUTHORITY\NETWORK
SERVICE&quot; /ASSYSADMINACCOUNTS=&quot;BUILTIN\Administrators&quot;
&quot;%USERDOMAIN%\%USERNAME%&quot; &quot;NT AUTHORITY\NETWORK
SERVICE&quot; /HIDECONSOLE /SkipRules=RebootRequiredCheck
/configurationfile=&quot;ConfigurationFile.ini&quot;"
                  RepairCommand   = "/Q /ACTION=Repair /HIDECONSOLE
/configurationfile=&quot;ConfigurationFile.ini&quot;"
                  UninstallCommand= "/Q /ACTION=Uninstall /HIDECONSOLE
/configurationfile=&quot;ConfigurationFile.ini&quot;"
                  Name            =  "SQL\Setup.exe"
                  SourceFile      = "SQL\Setup.exe"
                  DetectCondition = "SQLInstanceFound"
                  SuppressSignatureVerification="yes">
        <ExitCode Behavior="success" Value="0"/>
      </ExePackage>

Directory structure looks like this:
\SetupBootStrapper.exe
\SQL\Setup.exe ß launches sql installer
\SQL\x86\<many folders/files>
\SQL\redist\<many folders/files>


The problem is that when I run the package I see this in the logs...

[0F14:03B0][2013-09-25T19:42:58]i338: Acquiring package: SQLServer2012,
payload: SQLServer2012, copy from: C:\install\SQL\Setup.exe
[0F14:03B0][2013-09-25T19:42:58]i000: Setting string variable
'WixBundleLastUsedSource' to value 'C:\install\'
[0EF4:03A8][2013-09-25T19:42:58]i305: Verified acquired payload:
SQLServer2012 at path: C:\ProgramData\Package
Cache\.unverified\SQLServer2012, moving to: C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe.
[0EF4:0858][2013-09-25T19:42:58]i301: Applying execute package:
SQLServer2012, action: Install, path: C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe, arguments:
'"C:\ProgramData\Package
Cache\24876E94686BBFDD2EBBC5BD8FE20598EA85DB10\SQL\Setup.exe"
/SQLSYSADMINACCOUNTS="BUILTIN\Administrators" "%USERDOMAIN%\%USERNAME%" "NT
AUTHORITY\NETWORK SERVICE" /ASSYSADMINACCOUNTS="BUILTIN\Administrators"
"%USERDOMAIN%\%USERNAME%" "NT AUTHORITY\NETWORK SERVICE" /HIDECONSOLE
/SkipRules=RebootRequiredCheck /configurationfile="ConfigurationFile.ini"'
[0EF4:0858][2013-09-25T19:43:04]e000: Error 0x84c40035: Process returned
error: 0x84c40035

Yeah, it copies everything to the Package Cache directory (even when
specifying cache="no")...

What I think I need is:

* Using payload
http://wixtoolset.org/documentation/manual/v3/xsd/wix/payload.html to copy
all directories and files to the Package Cache directory before initiating
the installation
* Telling to run from the SQL Server installation root directory instead of
from the Package Cache, avoiding to copy without need to the directory.

I will prefer the last option so it will (in theory) use a lot less space
for installation.

Any hint?
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to