/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (9)

Posted by: anonymous_9363 12 years ago
Red Belt
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.
Posted by: unreal2me 12 years ago
Orange Senior Belt
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
Posted by: anonymous_9363 12 years ago
Red Belt
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洒
Posted by: unreal2me 12 years ago
Orange Senior Belt
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,
Posted by: unreal2me 12 years ago
Orange Senior Belt
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
Posted by: AngelD 12 years ago
Red Belt
0
Will you have any entrypoint in your package such as an advertised shortcut?
Posted by: unreal2me 12 years ago
Orange Senior Belt
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?
Posted by: AngelD 12 years ago
Red Belt
0
Without any entrypoint there would be impossible to utilize the Windows Installer resiliency feature.
How about using Active Setup?
Posted by: unreal2me 12 years ago
Orange Senior Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ