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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:04:31+00:00 2026-05-26T20:04:31+00:00

Is is possible to build a MSI installer which can do a per-user install

  • 0

Is is possible to build a MSI installer which can do a per-user install for a non-admin user (copy files to the non-admin user’s directories) but also copy files into Program Files or other admin-only directories? With NSIS there exists a UAC plugin that allows some steps to be run as the normal user and others to run with elevated privileges. Does such a thing exist for MSI or is there some way to retain the original user context while gaining the admin permissions?

  • 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-26T20:04:31+00:00Added an answer on May 26, 2026 at 8:04 pm

    No, it’s not possible. The installation either runs in user context or in elevated system context.

    Yet it does not prevent you from copying some files into user’s profile. These files will inherit the default permissions set on folders. The defaults are full access to the user, system and administrators group.


    Although it’s technically possible, I would not recommend using it. Consider a computer with several users: one of them installs your MSI package, and they get files installed in user’s profile. Another user logs on this computer and starts your application from Start menu: there are no files in user’s profile whereas your application expects them there.

    The best approach to overcome this problem is to install the files that you want to go into user’s profile to Program Files. At the first start of your application, it copies these files to user’s profile. Thus every user of a multi-user computer will be able to use your application.

    If these data are to be shared between users, consider installing them into ProgramData, CommonAppDataFolder property. This way the files will be visible and readable to all users of computer. Yet only the user who installed the application will have write access, so your installer should modify permissions on your application folder inside ProgramData to give write rights to other users.

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

Sidebar

Related Questions

Is it possible to build a .dmg file (for distributing apps) from a non-Mac
Is it possible to build msi file using installshield, so that I have one
I want to install MSI package under user level and set several registry keys
I am using Visual Studio 2008 to build an MSI install package. Within the
I've upgraded a [.vdproj MSI generator project built into VS2008] System.Configuration.Install.Installer with a ServiceProcessInstaller
Is it possible to build Visual Studio solutions without having to fire up MonoDevelop?
Is it possible to build an email reader for the Zune through XNA ?
Do you know if it's possible to build an application for the LinkedIn platform?
Does somebody knows if its possible to build a T-SQL query to obtain the
Does anyone think it is possible to build a Google Docs style PDF document

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.