/build/static/layout/Breadcrumb_cap_w.png

MSI Script and registry insert

Greetings,

ok, im a beginner in MSI and stuff. Im using Wise for Windows Installer. The problem i have is, that i need to add/edit a specific registry key. But, and thats the point, it needs to be inserted after I have installed some drivers. If i add the registry settings to the registry on the usual way (adding them in "Installation Expert") they will be overwritten, since the drivers will be installed at the end of the whole process.

I've read through some "How Tos" to get an idea of how to install drivers ("Installing PNP drivers within an MSI"). But in order to make the installtion perfect, i also need to adjust some registry settings, which hold the settings for the drivers. Since the driverinstallation is made in a MSI Script I don't know how to add registry settings from within MSI Script. The registrykey is a binary value.

Does anyone of you can give me some hints on how to do it?

Thanks in advance

Trollpower

0 Comments   [ + ] Show comments

Answers (4)

Posted by: nvdpraveen 18 years ago
Orange Belt
0
You can use a custom action to import the required registry keys at the end of the installexecute sequence with Not Installed condition.

Alternatively you can also delay the WriteRegistryValues action, but I wouldn't recommend that.
Posted by: Trollpower 18 years ago
Yellow Belt
0
Dear nvdpraveen

Thank you very much for your quick answer. Unfortunately i dont know how to make a custom action which will fire the registry insert. And i also dont know how to call this action from within the script. Can you give me some more help on this?

Thanks in advance
Posted by: nvdpraveen 18 years ago
Orange Belt
0
Please stroll the below links to get an ideaof custom actions
- http://www.advancedinstaller.com/user-guide/custom-actions.html

and the windows installer sdk is a also a nice place to start with.
Posted by: Trollpower 18 years ago
Yellow Belt
0
Thanks for the link. I will take a look into it.

Regards

TP
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