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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:40:02+00:00 2026-06-03T04:40:02+00:00

I have this bit in a Component in my WIX Installer <util:User Id=CIUSER CreateUser=yes

  • 0

I have this bit in a Component in my WIX Installer

    <util:User Id="CIUSER" CreateUser="yes" UpdateIfExists="no" Name="myuser" PasswordNeverExpires="yes" Password="noneofyourbusiness">
      <util:GroupRef Id="Users" />
    </util:User>

I also use this as a reference in other parts of the code to set directory permissions.

It seems like a new user profile gets created each time I install my product. So if anything id placed on the desktop, logging in as this user doesn’t see it from install to install.

For the most part I just have this code in the installer to assist people who are setting our system up. This is a desktop application, but it is sold as a single “device” and isn’t a general use computer and we are creating a non-privledged account to execute our application under.

This is WIX 3.5. Anyone see anything like this before or know what I may be doing wrong?

It creates the user fine and sets the proper permissions, just multiple profiles now exist under users in Windows 7.

  • 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-03T04:40:03+00:00Added an answer on June 3, 2026 at 4:40 am

    Set RemoveOnUninstall attribute to no, the default is yes. You are really creating a new user with every installation and so the profiles are distinct.

    The failure to remove the profile on uninstall turns to be a known defect in WiX 3.5.
    It is independent of UpdateIfExists attribute, and it also does not matter whether the product is uninstalled and reinstalled, or upgraded.

    Rob Mensching’s note on the defect says that custom action bugs will not be fixed before WiX 4.0. This also reminds us that all of wixutil is implemented using a custom action and that we all are technically able to create a better custom action for handling user accounts and include it in the MSI as a binary or a script, provided that the issue is urgent enough. Or maybe just one to remove inactive user profiles on uninstall.

    (Credit for this answer goes largely to additional research conducted by question author. My own first shot at the cause has been found to be wrong. Thank you.)

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

Sidebar

Related Questions

I have this small snippet to change a bit of html when a user
I have a 32 bit COM component DLL and this DLL is written in
I have this bit of JavaScript... 15 $('.ajax_edit_address').each(function() { 16 $(this).ajaxForm({ 17 target: $(this).parents('table.address').find('tr.address_header').children(':first'),
I have this bit of code, public static List<string> GetSentencesFromWords(List<string> words, string fileContents) {
ok i got this problem. i have this routes: (code bit change) File:/home/dotcloud/current/config/routes.js exports.routes
I use this bit of code to feed some data i have parsed from
I have a file called bbUI.js which contains this bit of JavaScript. Outside of
I have a costume class called Region and I am using this bit of
its a little bit hard to understand. in the header.php i have this code:
I have searched this topic on google a bit and seen some best practices.

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.