Archive: Components of a uninstall and folder's icon


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

  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

  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.

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?


Simply have a section named with "un." prefix and it'll show up in the uninstaller.

Section un.Something
DetailPrint "this will show up in the uninstaller"
SectionEnd