Old 5th June 2003, 14:57   #1
Citty69
Junior Member
 
Join Date: Jun 2003
Posts: 1
Question 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
Citty69 is offline   Reply With Quote
Old 5th June 2003, 15:16   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump