Archive: Uninstall Components


Uninstall Components
Hi there!

This is my problem:
how can I show the window component during the unistall process? And also:
how can disable the installation of one component if already present?

I know I could do it with a little *hard* coding (at least for me), but, maybe, someone have already the solution.

T.I.A.

Citty69


You can't show a components page in the uninstaller yet. You can show an InstallOptions page though.

To hide sections on runtime use SectionSetText ${sectiondefine} "". To just set to read only use SectionSetFlags ${sectionindex} ${SF_RO}. Don't forget to include Sections.nsh (!include sections.nsh) and to get the right value for ${sectionindex}. See examples\one-section.nsi for an example.