/build/static/layout/Breadcrumb_cap_w.png

HKCU settings for all users

Hello,

How to author a windows installer package which installs hkcu registry entries to multiple users logging on to the same PC?

I tried using registry table along with component table attribute set to RegistryKeyPath and it updates the default user in HKU. This is not helpful since default profile is only used on first login and users may have already profile created.

I know Active setup or Advertised shortcut could be used...But wondering if there is some other way through msi database?

Thanks!


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
simple answer is no if you want msi-database specific options, except to mention that not only shortcuts can be advertised. For an overview read my blog on the topic: http://www.itninja.com/blog/view/a-general-approach-to-software-packaging-propagating-user-settings
Posted by: pjgeutjens 11 years ago
Red Belt
1
I know Active setup or Advertised shortcut could be used...But wondering if there is some other way through msi database?

 

simple answer is no if you want msi-database specific options, except to mention that not only shortcuts can be advertised. For an overview read my blog on the topic: http://www.itninja.com/blog/view/a-general-approach-to-software-packaging-propagating-user-settings

Posted by: anshul 11 years ago
Orange Belt
0

you can do it by vbscript.

write vbscript (what you have to perform) dump it in windows folder with the help of msi.

now in msi create a registry hive for run.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

in run create a registry and in value give the path of that vbscript.

Posted by: dunnpy 11 years ago
Red Belt
0

ActiveSeutp and Advertised shortcuts are the inbuilt mechanisms within an MSI to populate these keys - why would you want to invest time and effort in producing some other method that isn't going to be as reliable?


Comments:
  • Yea, it takes time but I was just curious to learn if there is something out there :) - SnowLyric 11 years ago
Posted by: sumitsingh1984 11 years ago
Second Degree Green Belt
0

well we can read the logged in users hive by SID and write the hkcu keys via vb script during installation

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ