/build/static/layout/Breadcrumb_cap_w.png

Restart condition

I need on the end of uninstallation to check if some registry key exist,
and if yes I want to display message box with restart prompt.

I have only small knowledge about custom action and launch conditions.
Can you give me tip what to add into my *.msi wizard project to solve this
task ?

0 Comments   [ + ] Show comments

Answers (1)

Posted by: VikingLoki 19 years ago
Second Degree Brown Belt
0
You want to learn all about the AppSearch table and how it is used to populate a Property based on the existance of a registry key. It does files, ini, components too but you want the registry.

Start with the AppSearch table documentation (this defines what property to populate based on what signature) and move on to the RegLocator Table documentation (this defines exactly what registry key you are searching for).

Start by creating a property in the Property Table, create an entry in the AppSearch Table that links to the property, create an entry in the RegLocator Table that links to the entry in the AppSearch Table.

That will populate a value in the Property Table with a True/False, which you use as a condition for your message box.
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