0

we have requirement to create a MSI package to run on non-admin users machine.

i have created msi package using wixedit tool and works perfectly for Admin users and not for non-admin users.

is there any config settings in wixedit to run and install the MSI package for non-admin users?

our application will install in program files directory location and our end users doesn't have privileges to run the msi as administrator

Any help is highly appreciated.

Thanks in advance.

  • 1
    our application will install in program files directory location - Then it cannot be installed as a non-admin user. A non-admin user cannot write to program files. Packages installed by non-admin users are installed to the users profile (eg c:\users\%username). – Zoredache Jul 1 '14 at 23:49
2

There's no way around it. Preventing users from installing software on their own is the whole point of not giving users local admin rights in the first place.

The only way to do the install is to use a package distribution system (e.g. SCCM, Kaseya, psexec, Remote Installer, etc.) that can elevate privileges.

If the computers in question are on a domain and you don't have access to such tools, then Group Policy would be your best bet.

This link can get you started

  • There is also the AlwaysInstallElevated option (Google it), but any admin would probably be nuts to enable it. I include it here for completeness. – Patrick Seymour Jul 2 '14 at 1:23
  • Wow I've been working with Group Policy for years and I can't believe I've never seen that setting! Probably because my brain subconsciously realized how ridiculous it is and ignored it. – Wes Sayeed Jul 2 '14 at 1:50

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.