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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T21:25:52+00:00 2026-05-20T21:25:52+00:00

I use WiX 3.5. My installer should enable both per-user and per-machine installation. I

  • 0

I use WiX 3.5. My installer should enable both per-user and per-machine installation. I would like to achieve that by using radio buttons (“Everyone” and “Just me”).

I found a couple of references on the Internet:

  • Selecting current-user or all-users install: Adding a user interface, part of Yet Another WiX Tutorial – Part 2 – Adding the UI.
  • Set the ALLUSERS property to an empty string: Using WiX 3.0 to create a per-user MSI that does not prompt for elevation on Windows Vista

If I understand that correctly my installer should set ALLUSERS property to 1 for per-machine installation and to “” (empty string) for per-user installation.

My problem is no matter what I try ALLUSERS is always set to 1. Even when I don’t set it at all!

Here is a couple of things I tried:

<Control Id="UserSelection"
         Type="RadioButtonGroup"
         X="26"
         Y="115"
         Width="305"
         Height="45"
         Property="ASSISTANCE_USERS"
         Text="ASSISTANCE_USERS">
    <RadioButtonGroup Property="ASSISTANCE_USERS">
        <RadioButton Value="cur"
                     X="0"
                     Y="0"
                     Width="295"
                     Height="16"
                     Text="Just me" />
        <RadioButton Value="all"
                     X="0"
                     Y="20"
                     Width="295"
                     Height="16"
                     Text="Everyone" />
    </RadioButtonGroup>
</Control>

and then setting the ALLUSERS based on ASSISTANCE_USERS:

  <Publish Property="ALLUSERS"
           Value="{}">ASSISTANCE_USERS = "cur"</Publish> <!-- set null value -->
  <Publish Property="ALLUSERS"
           Value="1">ASSISTANCE_USERS = "all"</Publish>

However, ALLUSERS is always 1.

I also tried just setting ALLUSERS to an empty string:

<Property Id="ALLUSERS" Secure="yes"/>

This should set ALLUSERS to “”, yet it stays “1”

Once I’m able to set ALLUSERS, I should be able to use HKMU for per-user and per-machine installtion.

  • 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-20T21:25:53+00:00Added an answer on May 20, 2026 at 9:25 pm

    Check a verbose log (using /l*vx): MSI logs every property change so you can see when ALLUSERS is being set.

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

Sidebar

Related Questions

I am just starting to use Wix and would like to use heat to
I am writing a installer using WiX that will create a website and virtual
We have an installer for application that is compiled using WiX and each version
I am creating an installer for my program using WiX (Windows Installer XML). I
I am building a simple installer for a web application using Wix. I wish
I am new to WIX and have been tasked with creating an installer that
We use Wix to build an installer for our .NET application and are just
I have a .NET application that runs on both x86 and x64. I'd like
I'm building an installer using WiX (not keyworded since WiX is not the problem
I want to have our WiX installer that is currently building on a build

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.