/build/static/layout/Breadcrumb_cap_w.png

[resolved]Delete registry key in all CU hive

Hi,

I made a repackaging of office 2003 , just put a MST on the MSi package of MS, and create an active setup to modify the workgroup template path by the SharedTemplate key in all current users(the active setup key was created directly in installshield). So, all works at the install, but when i uninstall the package, the SharedTemplate key was not deleted.
If anyone have a suggestion.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: usachrisk 13 years ago
Purple Belt
0
You can leave the user hive alone - as long as it's removed from HKLM it wont run again.
Posted by: thales78 13 years ago
Senior Yellow Belt
0
Thx for your reply. But we decided to let the HKCU registry key of this software.
Posted by: anonymous_9363 13 years ago
Red Belt
0
You need to understand that AS is completely detached from an installation package. All the package knows is that it wrote an HKLM key which will obviously be removed.

For cases like this, you may want to consider having the AS process run a script instead of a simple repair. The script would detect the presence of other parts of the installation (e.g. files and/or registry data) and use those to determine that the package has been installed. If those parts are absent, then the script would then delete the relevant HKCU data. Not trivial to get right but eminently do-able.
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