Hello Mr. Gombrelli,

Here is code taken from a *working* wixproj project file in WiX 3.5. MSSDK_DIR 
is an environment variable set to the absolute path to the Windows SDK. It 
installs the .NET Framework 4.0 client profile. For the full version use 
Include=".NETFramework,Version=v4.0". I don't see much difference between this 
one and yours, with the possible exception that I didn't specify a Culture.

  <ItemGroup>
    <BootstrapperFile Include=".NETFramework,Version=v4.0,Profile=Client">
      <ProductName>.NET Framework 4.0 Client</ProductName>
    </BootstrapperFile>
    <BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
      <ProductName>Windows Installer 3.1</ProductName>
    </BootstrapperFile>
  </ItemGroup>
  <Target Name="AfterBuild">
    <GenerateBootstrapper ApplicationFile="$(TargetFileName)"
                          ApplicationName="MyApplication"
                          BootstrapperItems="@(BootstrapperFile)"
                          ComponentsLocation="Relative"
                          CopyComponents="True"
                          OutputPath="$(OutputPath)"
                          Path="$(MSSDK_DIR)\Bootstrapper\" />
  </Target>

The <Import Project="$(WixTargetsPath)" /> element in my wixproj is between the 
</ItemGroup> and <Target Name="AfterBuild"> lines above. The entire set of 
lines above is at the very bottom of my wixproj. My wixproj builds an MSI. 
Order shouldn't matter, given that it is XML, but I know it does in Visual 
Studio vcxproj files.

Dan

-----Original Message-----
From: Bruce Gombrelli (Comsys Information Technology) 
[mailto:v-bru...@microsoft.com] 
Sent: Friday, August 05, 2011 7:09 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Framework 4.0 installation using 3.5 Wix Boot strapper not 
creating setup.exe

My bootstrapper isn't creating a setup.exe file. Can any one assist?

>From my project file:
 <ItemGroup>
    <BootstrapperFile Include=".NETFramework,Version=v4.0">
      <ProductName>.NET Framework 4.0</ProductName>
    </BootstrapperFile>
    <BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
      <ProductName>Windows Installer 3.1</ProductName>
    </BootstrapperFile>
  </ItemGroup>


<Target Name="AfterBuild">
    <GenerateBootstrapper  ApplicationFile="$(TargetFileName)"
                           ApplicationName="MOSDAL"
                           BootstrapperItems="@(BootstrapperFile)"
                           Path="C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Bootstrapper\"
                           ComponentsLocation="Relative"
                           CopyComponents="True"
                           OutputPath="$(OutputPath)"
                           Culture="en-us"
                           />
  </Target>




Bruce Gombrelli
Softare Design Engineer
COMSYS Information Technology
v-bru...@microsoft.com<mailto:v-bru...@microsoft.com>
cell: 425-614-7517

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to