[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.
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)
Please log in to answer
Posted by:
usachrisk
14 years ago
Posted by:
thales78
14 years ago
Posted by:
anonymous_9363
14 years ago
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.
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.
so that the conversation will remain readable.