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

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
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.
Answered 04/24/2006 by: nvdpraveen
Orange Belt

Please log in to comment
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
Answered 04/24/2006 by: Trollpower
Yellow Belt

Please log in to comment
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.
Answered 04/24/2006 by: nvdpraveen
Orange Belt

Please log in to comment
0
Thanks for the link. I will take a look into it.

Regards

TP
Answered 04/24/2006 by: Trollpower
Yellow Belt

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