Is the Microsoft Component Installer any use to you?

It creates a setup that will install the prerequisites you mark as being 
needed, and then runs your 
installer.

http://www.microsoft.com/downloads/details.aspx?FamilyID=cd11be5a-c735-48d9-9cdd-a6d211c2e1c1&DisplayLang=en

Rob

Ricardo Lopes wrote:
> 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] 
> <mailto:[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=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     WiX-users mailing list
>     WiX-users@lists.sourceforge.net <mailto:WiX-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wix-users
>     <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


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

Reply via email to