MSI package to change registry setting (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003



Message


tbizog -> MSI package to change registry setting (10/1/2008 2:30:17 PM)

I have pushed an msi package that is supposed to change a registry setting. The msi runs and installs but the registry setting never get created. I am using a domain admin account to run this and all my other packages run fine. Is there something I need to do to allow registry settings to be created.

tb




skissinger -> RE: MSI package to change registry setting (10/1/2008 2:52:25 PM)

Does that regkey happen to be under HkeyCurrentUser?




tbizog -> RE: MSI package to change registry setting (10/1/2008 3:05:51 PM)

Yes it is.




skissinger -> RE: MSI package to change registry setting (10/1/2008 5:45:13 PM)

In that scenario, you are only able to change the regkey for the current user; which generally is the SYSTEM account, not the currently logged in user.

There's a few ways to do this, but I think what I would do is if this is just regkeys (nothing else in the .MSI), I'd probably drop the keys into a .reg, and then use a reg import command for the program, and the program runs "only when a user is logged in" and "with user rights" to the reg keys go into the HKCU hive area.  I'd also set the program to "run for every user that logs in".

You could also forgot SMS completely, and use a GPO or login script.




tbizog -> RE: MSI package to change registry setting (10/2/2008 10:59:42 AM)

Thank you




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.359375