Microsoft KB Archive/833416

= Edit Registry script item may write to different registry locations =

Article ID: 833416

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition
 * Microsoft Systems Management Server 2.0 Service Pack 5

-





SYMPTOMS
When you use the Microsoft Systems Management Server (SMS) Installer to create a custom program, the program may write to different registry locations, depending on how you run the program. For example, if you compile and run the SMS Installer script as an executable (.exe) file, the program writes data to the following registry location:

If you use the Windows Installer Step-up utility to convert the .exe file to the Windows Installer (.msi) file format, the Windows Installer file writes data to the following location:



This behavior occurs because you use the Edit Registry script item in the SMS Installer script to write data to the HKEY_CLASSES_ROOT key.



STATUS
This behavior is by design.



WORKAROUND
By default, Windows Installer programs perform a per-user installation. To perform an installation for all users, use the allusers command-line option. To run your SMS Installer-compiled program for all users, and to write data to the  key, use the following command line:

msiexec /i  ALLUSERS=2

Note In this command,  is the name of your custom SMS Installer program.

For more information about, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms724475.aspx

Keywords: kbsmsutil kbusage kbsetup kbinterop kbsoftwaredist kbprb kbnofix kbbug KB833416

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.