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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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.
Answered 06/13/2008 by: VBScab
Red Belt

Please log in to comment
0
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
Answered 06/13/2008 by: unreal2me
Orange Senior Belt

Please log in to comment
0
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洒
Answered 06/13/2008 by: VBScab
Red Belt

Please log in to comment
0
Put the reg key concerned into a new feature

Hmmmmm... do you have a link that explains this trick a bit in more details?

Thanks,
Answered 06/13/2008 by: unreal2me
Orange Senior Belt

Please log in to comment
0
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
Answered 06/13/2008 by: unreal2me
Orange Senior Belt

Please log in to comment
0
Will you have any entrypoint in your package such as an advertised shortcut?
Answered 06/13/2008 by: AngelD
Red Belt

Please log in to comment
0
The first application has shortcut. I now have another one. This one is only a fix, overwritting some files and updating registry. There will be nothing to launch, so no shortcut to launch the self healing. Is there another way to load hive or something similar inside Wise?
Answered 06/14/2008 by: unreal2me
Orange Senior Belt

Please log in to comment
0
Without any entrypoint there would be impossible to utilize the Windows Installer resiliency feature.
How about using Active Setup?
Answered 06/14/2008 by: AngelD
Red Belt

Please log in to comment
0
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
Answered 06/16/2008 by: unreal2me
Orange Senior Belt

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