A new Flexera Community experience is coming on November 25th, click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tuner: Add HKCU reg to all users via a .mst-file

I'm trying to create an .mst-file for a .msi-file with the Installshield Tuner (V 6.1). Everything works fine, except a particular value for HKCU won't be set. The value appears in the registry only for the user, which perfomed the installation. But is missed, when a new user log in to the system.

What must be done, that this value is added for each user on the system ?

Can anybody helps me ??? THX
(3) Replies
The registry value being added to HKCU must be a keyfile so when a new user logs on and starts the program WindowsInstaller will see the missing registry resource and run a repair to put it in for the current user profile.

Also in more complex situations ( lets say the registry value represents an application setting unique to that user that is obtained from a SQL database ) it's also common to write a user logon script and apply it to the policy for the OU the computer is in.

I try not to create layers of configuration like this, but sometimes it is unavoidable.
'The registry value being added to HKCU must be a keyfile so when a new user logs on and starts the program WindowsInstaller will see the missing registry resource and run a repair to put it in for the current user profile.'

@ChristopherPainter: OK, but can you tell me, how I set a keyfile in TUNER. Because I can't find this function - it isn't available by right-click on the affected registry-key.

THX
I stopped using AdminStudio when I changed jobs, I'm using DevStudio 9 these days so I can't give you exact step by step instructions.

However if you make your MST file using Tuner you can open it open in Editor. You'll get a wizard that looks like Tuner where it asks you for the base MSI file. Then you will be in Direct MST mode. Go to the components view and create a new component. In the component author your registry data. Pick one of your registry values and right click you'll see "set key path". Then save your MST.

Remember when running the MSI you have to include in the command line TRANSFORMS=FOO.MST