Soundbytes
22nd November 2006 10:40 UTC
Uninstaller components? (+ how to handle shared files?)
some more questions:
(1) Is there an example script available that illustrates how to set up the uninstaller components page complete with item desciptions?
(2) my components share some files.
How can I make sure that a shared file is only erased when all the components using it are deinstalled.
Thanks very much!
kichik
23rd November 2006 18:32 UTC
- Not that I know of. But it should be pretty easy. Just append UN in the right place. The MUI readme should have the uninstaller option listed right next to the installer option.
- You can uninstall that shared component as a separate component that'd first check if all other components are removed.
Soundbytes
24th November 2006 11:26 UTC
Originally posted by kichik
- Not that I know of. (...)
I have figured it out now. An example script is attached to this posting.
Features:
- the example works right out of the box. It creates a few text files to play around with.
- the deinstaller can be used for a complete or partial deinstallation.
- the deinstaller components page shows only sections that are present on the users system.
- an alternative implementation is included that displays absent sections as read only and deselected.
- a shared file section is included that will not be removed when a partial deinstallation is made
- the deinstaller will not be deleted during a partial deinstallation. It can be used afterwards to remove the remaining stuff.
Any comments, ideas for improvement, appraisals are welcome.
Andreas
Soundbytes
24th November 2006 11:37 UTC
Oops, here is the script
Abpodick
24th November 2006 19:58 UTC
wow!
*crap removed*
regards, Abpodick