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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


You can leave the user hive alone - as long as it's removed from HKLM it wont run again.
Answered 12/20/2010 by: usachrisk
Purple Belt

Please log in to comment
Thx for your reply. But we decided to let the HKCU registry key of this software.
Answered 12/21/2010 by: thales78
Senior Yellow Belt

Please log in to comment
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.
Answered 12/21/2010 by: VBScab
Red Belt

Please log in to comment