Summary
This article describes how to configure your setup to persist these property values for further operations on the installed package.
Synopsis
Windows Installer does not persist changes made at runtime to the MSI Database, which makes it not possible by default to gain access to property values that a User or other Custom Action may have changed during the initial installation while running Maintenance or Uninstalls. This article describes how to configure your setup to persist these property values for further operations on the installed package.
Discussion
- Create a registry key similar to the following:
HKLM\Software\My Company Name\My Product Name\ - Set a value for this key using the name/value pair of your custom property:
Name: MYPROPValue: [MYPROP]
This will write the valh to search for the registry entry, and then store it in the same named property you used in step 2 (MYPROP).
Given the above steps, what will take place is that during Uninstall and Maintenance the AppSearch action will still run, and reset the default value ofMYPROPto the ue of the custom property to the registry during installation. - Create a System Searcvalue you wrote to the registry during the initial installation. This will also allow for changes to the property during the User Interface of Maintenance operations, since the new value will be written for later usage.
Related Articles
Disable Maintenance and Uninstall for a Basic MSI Project 7Number of Views Basic MSI Project: Uninstall Does Not Remove the Device Driver Folder 10Number of Views Conditionally Run SQL Scripts During Uninstall 6Number of Views Add/Remove Programs Hangs When Launching an Application During Uninstall 6Number of Views How the MAINTENANCE Property Is Set 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago