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!

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
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

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

Answered 10/18/2012 by: pjgeutjens
Red Belt

Please log in to comment

Answers

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.

Answered 10/18/2012 by: anshul
Orange Belt

Please log in to comment
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?

Answered 10/18/2012 by: dunnpy
Red Belt

  • Yea, it takes time but I was just curious to learn if there is something out there :)
Please log in to comment
0

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

Answered 10/17/2012 by: sumitsingh1984
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity