Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 709979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:33:49+00:00 2026-05-14T04:33:49+00:00

I have a WiX installer that I would like to check for .Net 3.5,

  • 0

I have a WiX installer that I would like to check for .Net 3.5, and install it if it does not exist. I have the following lines in my wixproj file:

<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
    <ProductName>.NET Framework 3.5</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
    <ProductName>WIndows Installer 3.1</ProductName>
</BootstrapperFile>

When I create the installer, a DotNetFX35 folder is created, and in it are 4 different versions of .Net (including 3.5), and an installer file.

I have two questions:

  1. How do I have it only bring in version 3.5 (so that the user doesn’t have to install 100+ MB of files)?

  2. How do I tell WiX to package these files up into the MSI file, so that the user only has to download 1 file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:33:49+00:00Added an answer on May 14, 2026 at 4:33 am
    1. I think you are better of creating a separate project for the bootstrapper. If a web-install is sufficient, the following project template should work:

      <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
      <ItemGroup>
          <BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
              <ProductName>Windows Installer 3.1</ProductName>
          </BootstrapperFile>
          <BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1">
              <ProductName>.NET Framework 3.5 SP1</ProductName>
          </BootstrapperFile>
      </ItemGroup>
      <Target Name="Bootstrapper">
          <GenerateBootstrapper
              ApplicationFile="MyProject.msi"
              ApplicationName="MyProject"
              BootstrapperItems="@(BootstrapperFile)"
              OutputPath="$(OutputPath)"
              Culture="en-US"
              CopyComponents="true"
              ComponentsLocation="HomeSite"
              Path="$(BootstrapperPath)" />
      </Target></Project>
      
    2. The WiX team is working on Burn, a new bootstrapper, but until it is ready for production use, you may use one of the (commercial) solutions to build a self extracting single executable that automatically runs “setup.exe”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XNA 3.1 program and would like to create an installer that
While extending a WIX-installer that I have to maintain, I ran into the following
I have a fairly complicated installer that I'm writing in Wix that has a
I have a WiX install project that includes IIS setings for virtual directory and
I have a WiX installer which installs .Net 4 and SQL as prerequisites. All
I have a simple WIX installer which will install a Windows Service. I have
I have Wix 3.5, WixUI_Mondo dialogs and only one Feature to install. The Installer
I have an msi (authored with WIX) that has a check box bound to
I have a .NET application that runs on both x86 and x64. I'd like
I have a WiX installer which needs to install new bits for Interop.FOOBARLib.DLL to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.