MSFN Forum: per machine VS per user - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

per machine VS per user Rate Topic: -----

#1 User is offline   bmusgrove 

  • Group: Members
  • Posts: 8
  • Joined: 01-May 06

Posted 01 May 2006 - 08:19 PM

Needa little help understanding a software install issue. MY inexperience in MSI file is killingme here.

I have asoftware install package that basically copies a bunch of OCx and DLL files, then is supposed to make entries for these files in the HKEY_Classes_root section of the registry.

Installer works great EXCEPT the pacakge only works for the person who installed it. Each new user has to reinstall the package.

The person who created the MSI pacakge did set the install mode to PER USER instead of PER MACHINE in the MSI file. This appears to cause the file registry information to be written to HKEY_Classes_root and to Hkey_current_User\software\classes.

This is what confuses me . Since the information is designed to be written to HKCR, and (if I have this right) HKCR is merged with HKLM, shouldn't this information and the files be available to all users on a per machine basis? Or is there somehing about being written to HKCU\software\classes that overrides the entries in HKCR?


#2 User is offline   redxii 

  • Member
  • PipPip
  • Group: Members
  • Posts: 286
  • Joined: 18-August 05

Posted 01 May 2006 - 08:36 PM

Entries in HKCU\software\classes override HKCR entries. If an entry for X exists in HKCU, then that is used. If an entry does not exist for X, then it looks to HKCR and uses that value.

I think it is a simple case of the program configuring per-user information as a post-setup task, rather than being done at runtime in the actual program to see if the entries exist in HKCU and create per-user entries if needed. Grab Registry Monitor at http://www.sysinternals.com and execute the program while monitoring to see where it fails. If it fails after reading HKCU then the program is broken.

You also want to check the permissions on the keys.

#3 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 01 May 2006 - 11:40 PM

you can use an msi editor like MS free ORCA (i prefer Installer Design Studio from ScriptLogc) and edit the per-use/machine configuration of the msi without any problem. so when you install your program, it will be installed for all users. also, msi setup have some arguments, i believe that you can use switch ALLUSERS=1 but i dont know if it will work with any msi.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy