How to manually load hive in a Wise
Hi,
I am a junior packager and am wondering how can i load the hive to update a registry key for every user inside a wise package.
REG LOAD "HKU\ComUser" "path to ntuser.dat file"
REG ADD "HKU\ComUser\.......
REG UNLOAD "HKU\ComUser"
Thanks for your help
I am a junior packager and am wondering how can i load the hive to update a registry key for every user inside a wise package.
REG LOAD "HKU\ComUser" "path to ntuser.dat file"
REG ADD "HKU\ComUser\.......
REG UNLOAD "HKU\ComUser"
Thanks for your help
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Why would you want to manually load the hive? Wise allows you to add, delete or modify registry values very simply.
I notice that the hive you show is HKU: presumably, you mean HKEY_USERS? I wonder what you intend to so there? If you want to add registry data for each user, you can use HKEY_CURRENT_USER in a discrete feature (with a suitable - dummy, if necessary - key path) which will get populated as each logs in.
Perhaps if you were to elucidate more clearly what it is you ar etrying to achive, we could offer specific advice.
I notice that the hive you show is HKU: presumably, you mean HKEY_USERS? I wonder what you intend to so there? If you want to add registry data for each user, you can use HKEY_CURRENT_USER in a discrete feature (with a suitable - dummy, if necessary - key path) which will get populated as each logs in.
Perhaps if you were to elucidate more clearly what it is you ar etrying to achive, we could offer specific advice.
Posted by:
unreal2me
15 years ago
HI, Thanks for replying and helping me with this.
The package am building is an msi with a mst file. I want to fill the registry key to avoid getting pop with the upgrade option. The registry key that set the no upgrade is located under HKCU (using InControl). If i set the registry inside the MST under HKCU, it does not apply to a new user that log on for the first time.
That is why i was thinking about loading the hive. Is there a better way to do?
Thanks
The package am building is an msi with a mst file. I want to fill the registry key to avoid getting pop with the upgrade option. The registry key that set the no upgrade is located under HKCU (using InControl). If i set the registry inside the MST under HKCU, it does not apply to a new user that log on for the first time.
That is why i was thinking about loading the hive. Is there a better way to do?
Thanks
Posted by:
anonymous_9363
15 years ago
Put the reg key concerned into a new feature (most people - in a fit of originality - call that feature 'CurrentFeature') and make that feature the top-level one. Ensure that the component has a key path, so that it gets "repaired" as each user logs in.
Check out this thread http://itninja.com/question/how-do-you-roll-out-new-machines?7148&mpage=1&key=currentuser洒
Check out this thread http://itninja.com/question/how-do-you-roll-out-new-machines?7148&mpage=1&key=currentuser洒
Posted by:
unreal2me
15 years ago
Posted by:
unreal2me
15 years ago
That link didn't help me either. Probably too new with all this. Only thing ive got was adding feature then, then selecting a few properties, then nothing like a registry entry that i could add to that new feature.
I mostly did repackage stuff, i am not experienced with the other features.
Thanks for trying,
Bob
I mostly did repackage stuff, i am not experienced with the other features.
Thanks for trying,
Bob
Posted by:
AngelD
15 years ago
Posted by:
unreal2me
15 years ago
Posted by:
AngelD
15 years ago
Posted by:
unreal2me
15 years ago
AngeID. In my case, this is the way to go. I have found this very interesting page and it solved my problem.
http://juice.altiris.com/article/2514/a-guide-to-msi-healing
Thanks all,
Bob
http://juice.altiris.com/article/2514/a-guide-to-msi-healing
Thanks all,
Bob
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.