I altered the SQL Express Package.xml but then quickly realized that
when building with MSBuild it doesn't create the setup.exe. Should it
have? The only way I was able to create it was to Publish it in VS 2005.
Do I have to Publish my application as a ClickOnce app? This way would
be unacceptable since I want my build process to be automated. Maybe I
can automated it but not sure how. Surely, I am missing something very
simple since I am new to much of this. What I had before was simply a
.proj file to create the bootstrap when I ran my build process. Is there
a way of automating the creation of the bootstrap with MSBuild and
configure SQL Express as well. Below is the code I had for the .proj
file. This code was easy to find and get to work, but I cannot find
anything on configuring SQL Express this way.
My setup.proj :
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.2.0">
<ProductName>Microsoft .NET Framework
2.0</ProductName>
</BootstrapperFile>
<BootstrapperFile
Include="Microsoft.Sql.Server.Express.1.0">
<ProductName>SQL Server 2005 Express
Edition</ProductName>
</BootstrapperFile>
<BootstrapperFile
Include="Microsoft.Data.Access.Components.2.8">
<ProductName>Microsoft Data Access Components
2.8</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>Windows Installer 3.1</ProductName>
</BootstrapperFile>
</ItemGroup>
<Target Name="Bootstrapper">
<GenerateBootstrapper
ApplicationFile="SuiteSetup_v3.2.10920.1.msi"
ApplicationName="OSI_100207"
BootstrapperItems="@(BootstrapperFile)"
OutputPath=".\"
ComponentsLocation="Relative"
Culture="en" />
</Target>
</Project>
Thanks for your time,
Eric
From: John Vottero [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 02, 2007 4:57 PM
To: Eric Latendresse; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to configure SQL Express bootstrap
Find the Package.xml file for SQL Express, edit it and look for the
<Command PackageFile="sqlexpr32.exe" Arguments="..."... element. Change
the Arguments to what you want.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Latendresse
Sent: Tuesday, October 02, 2007 5:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to configure SQL Express bootstrap
I created a bootstrapper with MSbuild to install SQL Express, but I'd
like to change the configuration... Since it is in a bootstrap it
doesn't show the install wizard. Surely configuring the database engine
is possible. Does someone have an example or can please point me in the
right direction?
Thanks.
Eric
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users