Thanks for the pointer-I checked the MSDN docs and got a simple
bootstrapper working. It looks like I can do most of what I want,
except it doesn't look like the task will let you specify command line
parameters to msiexec. Am I missing something here? The only time this
really looks like it's an issue is when I have a minor upgrade (i.e.
product versions don't change). I can install it with the REINSTALL=ALL
REINSTALLMODE=vemus flags, but otherwise I'll get an error saying that a
version of the product is already installed. If there's no way to have
MSBUILD generate the bootstrapper, then it looks like I'll just have to
write my own, correct?
Oh yeah, and if anyone is still working on Votive, adding MSBUILD
bootstrapper generation options to the property pages would be nice to
have. Some sort of interface to determine which prerequisites to
botstrap, and which bootstrapper properties to set.
________________________________
From: Ricardo Lopes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 11:04 AM
To: Chris Bardon
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Bootstrapping to install .net 2.0-sample and
best practices?
Hi, i use the GenerateBootstrapper task from msbuild to create a
bootstrapper but it doesn't do what you want to do, for that you have to
create your own bootstrapper.
However if you want to give it a try here you have an example:
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.2.0">
<ProductName>.NET Framework 2.0</ProductName>
</BootstrapperFile>
<BootstrapperFile Include=" Microsoft.Windows.Installer.3.1">
<ProductName>Windows Installer 3.1</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.JSharp.2.0 ">
<ProductName>Visual J# redistributable</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Sql.Server.Express.1.0">
<ProductName>SQL Server 2005 Express Edition</ProductName>
</BootstrapperFile>
</ItemGroup>
<Target Name="Bootstrapper">
<GenerateBootstrapper
ApplicationFile="app.msi" ApplicationName="My app"
BootstrapperItems="@(BootstrapperFile)" OutputPath="bin"
ComponentsLocation="Relative" Culture="pt-PT"
Path="$(BootstrapperPath)" />
</Target>
In this example the bootstrapper includes the MSI 3.1, net2.0, j# and
SQLExpress. The property "BootstrapperPath" indicates the path to the
bootstrapper required files, default is: "C:\Program Files\Microsoft
Visual Studio 8\SDK\v2.0\BootStrapper", however i use a local copy for
the cruise control server.
Hope it helps.
On 20/03/07, Chris Bardon <[EMAIL PROTECTED]> wrote:
I have some applications that depend on .net 2.0 being
installed, and I have an idea of how I'd like to have things work. A
setup file, deployed from an intranet site will check for the
prerequisites, and then once they are installed/verified, download and
run my MSI with the command line switches that I specify (if, for
example, I want to pass some property values in on the command line). I
understand that visual studio has a bootstrapper included that should
help with this, but I can't seem to find anything that really talks
about how to use it with your own MSI package. Is there a sample out
there of how to use the VS bootstrapper?
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
to share your
opinions on IT & business topics through brief surveys-and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Ricardo Lopes
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users