The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.

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

Registry for default user

carottette
By
Level 4
Hy,
I'd like to put registry keys for each new user in the system (windows XP).
The way I tried is to load, update and unload the ntuser.dat of the default user (C:\d&s\default user) and made a script to accomplish that task. The script work perfectly when I launch It myself, but when I insert it in my package I have'nt the privilege to make these changes. Do you now a way to make it easy ?
(5) Replies

looeee
By
Level 8
Hi carottette

Have you tried making the keys inside the MSI in
HKEY_USERS\.Default\
?

looeee

carottette
By
Level 4
It is the first thing I tried and it doesn't work.

Have you already try it ? because I was sure it is the way to do it...

Peerke
By
Level 6
Windows Installer adds key to the HKCU hive using self-repair. Every time a new users start the application (using an advertised shortcut), windows installer will start and create the keys.

Regards,


Rene

carottette
By
Level 4
I know for self-repair, that's what I've done, but my client doesn't want to see a repair window... I know that it is not the good way to do it but I'm oblige to do it differently, and I don't find the good method...

Oysteinl
By
Level 2
Found a splution to this ?

I have a client who only uses Terminal server, I have used the suggestion forwarded by Peerke with success, but in a terminal server enviornment the vendor van not have the application installset start up over and over and over again as new users log on.

Any clue would be greatly appreciated.