How to install an .MSI on a per machine basis

book

Article ID: 180622

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

 

Resolution

Question
How do I Install an .MSI on a per machine basis with Wise for Windows Installer or Wise Package Studio?

Answer
Installing .MSI applications on a per machine basis is beneficial in environments where multiple users access the same machine. Windows Installer technology helps you manage how applications get installed on multi-user machines, reducing confusion and needless reinstallations. With an .MSI installation, you can specify whether all user accounts have access to an application or only the user account that was active while the application was installed.

Typically, when a user first attempts to use a program that another user of that machine has already run, it appears to the new user that the program is re-installing or self-healing. In fact, the program is installing itself for the first time under that user's account, making the necessary modifications to the registry.
Administrators can streamline this process by installing applications to client machines using the ALLUSERS property. Installing an .MSI with the ALLUSERS property set to "1" or "2" gives all users of that machine access to the shortcuts, files, and per-machine registry keys associated with that application. The application does not re-install itself for each new user.

The ALLUSERS property determines where the configuration information of the installed application is stored. In the Microsoft Windows Installer SDK topic "ALLUSERS Property," there is a table that describes property settings for the ALLUSERS property. Setting the ALLUSERS property to a value of 1 or 2 causes an .MSI installed by an Administrator account to place all shortcuts in the All Users Profile. 

Windows NT/Windows 2000

ALLUSERS is not set. (ALLUSERS="")

ALLUSERS = 1

ALLUSERS = 2

User access privileges.

Per-user installation using folders in user's personal profile.

Not valid; returns an error stating the user does not have enough access privileges to install application.

Per-user installation using folders in user's personal profile.

Administrator access privileges.

Per-user installation using folders in user's personal profile.

Per-computer installation using folders in "All Users" profile.

Per-computer installation using folders in "All Users" profile.

Follow the steps below to set the ALLUSERS property so that installations installed by an Administrator are available to all users:

  1. In Setup Editor, click the Product tab.
  2. Right-click on the Properties icon, and select New > Property.
  3. Enter in "ALLUSERS" (uppercase) in the Name field and enter "1" in the Value field.
  4. Click OK.

    If you install this installation to a multi-user machine under an Administrator account, the application will be available to all users of that machine.