View Full Version : Restricted Win2000 User Problem

11-29-2001, 02:21 PM
I've created a SingleImage installer, and even though I log into my machine as a restriced user (by default a restricted user is not allowed to install apps), I can run this installer.

I am trying to make sure my installer will prevent restricted users from executing the install.

I could sure use a hint here :-)


11-30-2001, 10:43 AM
One quick suggestion I can make would be to make an entry in the "LaunchConditions" table of the final built msi for "AdminUser" (Using a tool like ORCA - Available with the Windows Installer SDK). "AdminUser" is a reserved Windows Installer word that is set if the Setup is run under Admin Proviledges. See the Msi Help for more info on this.

Otherwise, I guess you could run a Custom Action that looks somewhere in the registry or Ntuser.dat or someplace to determine the user profile.