Old 8th September 2006, 03:08   #1
Raproid
Junior Member
 
Join Date: Sep 2006
Posts: 1
Send a message via ICQ to Raproid
Components of a uninstall and folder's icon

Hello.
I created install with install types and components choise.

1. I want, that on components uninstall page (MUI_UNPAGE_COMPONENTS) be possible change components for uninstall
How can i make this?
What section in scrpit must create?

2. How can make dialog add/remove components, unistall?

3. In script i add attributes for some folders and files.
All work perfect only for all folders inside main folder of a programm - they be with setted icons and background inside. But...
But the main folder of a installed programm have no icon and no background.
I wonder, be cause i check:
the desktop.ini be in this folder
all lines for main folder in script is the same, how for another folders
code:
SetFileAttributes $INSTDIR SYSTEM
SetFileAttributes $INSTDIR\Desktop.ini HIDDEN|SYSTEM|READONLY



Why main folder have no icon and back and how possible make this another way?


Thanks in advance
Raproid is offline   Reply With Quote
Old 8th September 2006, 16:18   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
  1. Create sections with names prefixed with "un."
  2. You can use a custom page to do this. I think Component Manager has this page built-in.

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
Old 30th September 2006, 09:20   #3
HaMsTeYr
Junior Member
 
Join Date: Feb 2006
Posts: 44
Regarding the component uninstalling, could you so happen to have like an example code onto how this is done?

I know that you need a section called "Uninstall" for the uninstalling to work, but you said putting an Un prefix infront of the section names you want to uninstall to create their uninstaller section?

What i'm not sure now is where to place these specific uninstall component sections @_@ help?
HaMsTeYr is offline   Reply With Quote
Old 30th September 2006, 12:19   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Simply have a section named with "un." prefix and it'll show up in the uninstaller.
code:
Section un.Something
DetailPrint "this will show up in the uninstaller"
SectionEnd


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