myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


MSI package to change registry setting

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> MSI package to change registry setting Page: [1]
Login
Message << Older Topic   Newer Topic >>
MSI package to change registry setting - 10/1/2008 2:30:17 PM   
tbizog

 

Posts: 31
Score: 0
Joined: 3/28/2007
Status: offline
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
Post #: 1
RE: MSI package to change registry setting - 10/1/2008 2:52:25 PM   
skissinger


Posts: 2110
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
Does that regkey happen to be under HkeyCurrentUser?

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to tbizog)
Post #: 2
RE: MSI package to change registry setting - 10/1/2008 3:05:51 PM   
tbizog

 

Posts: 31
Score: 0
Joined: 3/28/2007
Status: offline
Yes it is.

(in reply to tbizog)
Post #: 3
RE: MSI package to change registry setting - 10/1/2008 5:45:13 PM   
skissinger


Posts: 2110
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
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.

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to tbizog)
Post #: 4
RE: MSI package to change registry setting - 10/2/2008 10:59:42 AM   
tbizog

 

Posts: 31
Score: 0
Joined: 3/28/2007
Status: offline
Thank you

(in reply to tbizog)
Post #: 5
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> MSI package to change registry setting Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.781