MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: Per-Machine Installations[Next]: Per-Machine Installations with some Per-User Resources
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer Basics->Installation Types (per-user or per-machine)->Per-User Installations

Per-User Installations

Per user resources are those that only effect a single user, that is "HKCU" registry and profile directories for file (no "Program files"). See "system folder properties" for locations Windows Installer defines along with some sample values.

The user may or may not have permissions to any other resources and assumptions about permissions to such objects are a constant source of issues and may mean that an administrator is required to install a product where not really required (more of a problem under "Vista").

Under Vista if you don't access per-machine resources you still have to prevent user elevation (LUA) by setting the "COMPANY_PACKAGE_REQUIRES_ELEVATED_PRIVLEDGES" macro to "N" (see "company.mmh").

Per-User installs will only appear in the Add/Remove Applet if the product was installed for that user (the one running the applet).

Nothing prevents a per user installation modifying per-machine resources but this should be avoided whereever avoided and tested well with multipe users to ensure these resources are shared correctly.


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 12 Jun 2008Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: Per-Machine Installations[Next]: Per-Machine Installations with some Per-User Resources


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Wednesday June 25 2008 at 7:16pm
Visit MAKEMSI's Home PageThis external link was OK when tested at 21 Jun 2008

HTML page dated Mon, 29 Jan 2007 00:11:11 GMT
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006 & 2007 for the Windows SDK (Windows Installer) area.This external link was OK when tested at 12 Jun 2008