|
|
#1 |
|
Junior Member
Join Date: Nov 2005
Posts: 38
|
Hiding Uninstall Component
I've got a script that uses MUI_UNPAGE_COMPONENTS to allow the user to decide which bits to uninstall. The problem is that I don't seem to be able to hide the Uninstall section from the list of components. If I put a "-" in front of the name "Uninstall", then the uninstaller is not generated, but there seems to be no other documented way to keep the Uninstaller section hidden and therefore out of the list of uninstallable components.
Anyone else know how to do it? Thanks. |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
The section in which you create the Uninstaller is not (or, at least, should not) be the same section in which you create the option to uninstall the uninstaller (>_<)
I.e. you might have something like this: PHP Code:
PHP Code:
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2005
Posts: 38
|
Maybe I'm missing something, but what, in your example, prevents the (un-) Components page from including the "Uninstaller" section in the list of installable components?
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
The dash/minus/thing. I hope I've got it in the right place, as I seem to remember that:
"-un.Uninstaller" was incorrect "un.-Uninstaller" was correct |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2005
Posts: 38
|
Well, the "-un.Uninstall" trick seems to have worked. I'm pretty sure I tried "-Uninstall" earlier and it failed, but, hey, whatever.
Thanks for the hints. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|