Can you restate the problem you are having as I don't understand from the
text below what your question is?

-----Original Message-----
From: Matteo Nicolotti [mailto:eversor...@hotmail.com] 
Sent: 11 February 2010 13:23
To: WixUsers MailingList
Subject: [WiX-users] How to: using the MSBuild to create a bootstrapper for
.Net 2.0


Following advice from his newsletter i was looking around to find a how to
guide to create a bootstrapper to create a combined installer for my
application and the .net framework. The suggestion also stated to use
MSbuild as the "less pain" choice to do so.

 

Ok, so I understand that MSBuild is the main builder for all .net
applications, so I suppose I should be able to create a bootstrapper from
Sharpdevelop, without installing anything else.

 

I opened the Mygame.wixproj, featuring the installer for my app, and this is
what i have added:

 

<Project DefaultTargets="BuildAll"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
...
  <Target Name="Bootstrapper">
     <GenerateBootstrapper
        ApplicationFile="MyGame.msi"
        ApplicationName="My Application"
        BootstrapperItems="@(BootstrapperFile)"
        OutputPath="$(Root)\MyApplication\"
        ComponentsLocation="HomeSite"
        Culture="en"
  />
  </Target>
  <ItemGroup>
    <BootstrapperFile Include="Microsoft.Net.Framework.2.0">
      <ProductName>Microsoft .NET Framework 2.0</ProductName>
    </BootstrapperFile>

   ....

  </ItemGroup>
</Project>

 

Ok, I know that i merely did a copy paste, and i also know that i'm missing
something as the project compiles straight without caring for the missing
infos, with the output .msi file being less than a few MB.

 

Any help will be greatly appreciated.

 

 
                                          
_________________________________________________________________
Hotmail: posta elettronica con funzioni avanzate e gratuita, con la
protezione Microsoft.
https://signup.live.com/signup.aspx?id=60969
----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to