This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Adding rows to installation database tables during install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2011
03:18 AM
Adding rows to installation database tables during install
The help for the Registry table quotes
"A custom action can be used to add rows to the Registry table during an installation, uninstallation, or repair transaction. These rows do not persist in the Registry table and the information is only available during the current transaction. The custom action must therefore be run in every installation, uninstallation, or repair transaction that requires the information in these additional rows. The custom action must come before the RemoveRegistryValues and WriteRegistryValues actions in the action sequence."
My question is how ?
I have checked through the help for just about all obvious leads but still cannot find how to do this ( N.B. The recomended way ).
"A custom action can be used to add rows to the Registry table during an installation, uninstallation, or repair transaction. These rows do not persist in the Registry table and the information is only available during the current transaction. The custom action must therefore be run in every installation, uninstallation, or repair transaction that requires the information in these additional rows. The custom action must come before the RemoveRegistryValues and WriteRegistryValues actions in the action sequence."
My question is how ?
I have checked through the help for just about all obvious leads but still cannot find how to do this ( N.B. The recomended way ).
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2011
09:05 AM
Depending on what you're trying to do, there's often a more straightforward way than modifying the in-memory MSI database, but for the general idea see (for example) this ancient newsletter tip (PDF): http://www.flexerasoftware.com/webdocuments/PDF/msiaccess.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 18, 2011
06:31 AM
Thanks,
I did manage to find an example of the MsiCreateRecord method and associated calls for opening the running database from the forum but the user manuals are rather slim on these kinds of detail.
I did manage to find an example of the MsiCreateRecord method and associated calls for opening the running database from the forum but the user manuals are rather slim on these kinds of detail.