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 8954065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:14:00+00:00 2026-06-15T14:14:00+00:00

I have a wix bootstrapper that is checking if .net framework 4.0 is installed

  • 0

I have a wix bootstrapper that is checking if .net framework 4.0 is installed and if it isn’t it should install it. This works. but now i want to uninstall the program but it wants to uninstall the framework asswell. This should not be happening and i looked all over google but i couldn’t find a solution. Iam still looking for an awnser on the net but a tip would be helpfull

I tried to just uninstall the app with add/remove program in windows but when i run the boodstrapper it wants to uninstall or wants to repair the installation. this is my code:

    <?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
     xmlns:fx="http://schemas.microsoft.com/wix/NetFxExtension">
<Bundle Name="MyCompanyapp" Version="1.0.0.0" Manufacturer="MyCompany" 
    UpgradeCode="99e2007c-0d40-4b58-958a-218a93c08270" DisableRemove="yes" DisableModify="yes">

    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/>
    <Variable Name="InstallFolder" Type="string" Value="[ProgramFilesFolder]\company\app" />
    <util:RegistrySearch Id="FindDotNet40InstallRegValue" Root="HKLM"
                         Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Value="Install"
                         Variable="DotNetFramework40InstallRegValue" />

    <Chain >

     <PackageGroupRef Id="NetFx40Web" />
     <ExePackage Name="dotNetFx40_Client_x86_x64.exe" SourceFile=".\sources\dotNetFx40_full_x86_x64.exe" DownloadUrl="http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe" 
                  Vital="yes"  DetectCondition="DotNetFramework40InstallRegValue=1" InstallCommand="/passive/promptrestart">
        <!--<RemotePayload Size="42991616" Description="net 4.0 installer"  ProductName="net 4.0 installer" Version="4.0.0.0" Hash="6ce3a433309c63d98bcf0e2b9f1dfaed8cc18783"/>-->
      </ExePackage>
      <RollbackBoundary/>

      <MsiPackage Id="setup" Compressed="yes" Vital="yes" 
        SourceFile="C:\installer.msi" 
                  Cache="yes" Visible="yes" After="dotNetFx40_Client_x86_x64.exe" >
        <MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
      </MsiPackage>   
    </Chain> 
 </Bundle>
</Wix>

thanks in advance

  • 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-06-15T14:14:01+00:00Added an answer on June 15, 2026 at 2:14 pm

    You need to add a Permanent attribute to ExePackage and set it to ‘yes’.

    This means it won’t be uninstalled.

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

Sidebar

Related Questions

I have a WiX installer that I would like to check for .Net 3.5,
I have a WiX install project that includes IIS setings for virtual directory and
I have a WiX file that is updated automatically and programmatically. This file needs
Basically I want to have our installer also install the .NET framework and any
I have a Wix installer and bootstrapper application to install my application and a
I have a wix installer that will install an XML file and then modify
I have a WiX file that includes this snippet: <CustomAction Id=DownloadCache FileKey=CACHEDOWNLOADER.EXE ExeCommand=/v Execute=deferred
How can I have my Wix package to download the required .NET Framework when
In WIX project I have an custom action that works on SQL server with
I have two Virtual Machines that I wish to (Wix) install my software onto.

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.