marcel-slip
12th June 2009 15:45 UTC
The choice of programs to uninstall
Hello
Today I made the installer that installs the 5 programs.
Uninstaller does not want to delete all of these programs only to ask
which program to be uninstalled, or that creates the Uninstaller
each of these programs.
The installer was made by Eclipse and uninstall section was made automatically.
Zinthose
12th June 2009 23:38 UTC
You will need to add to the uninstall section the execution commands to remove the programs.
### Example
ExecWait '"$INSTDIR\Setup.exe" /Remove' $0 ## Or Whatever the program uses to remove the software
DetailPrint "Returned $0"
Afrow UK
13th June 2009 14:26 UTC
You can have more than one uninstall section. Just put un. in front of section names to make them uninstall sections (as opposed to using one Uninstall section). Then add an uninstall components page (!insertmacro MUI_UNPAGE_COMPONENTS).
Stu
marcel-slip
14th June 2009 12:05 UTC
@ Afrow UK
This is brilliant! It works;] thank you so much for answers.
I have a question on the MUI_UNPAGE_COMPONENTS not
displays the description of products and even add in the code:
! insertmacro MUI_DESCRIPTION_TEXT $ UNSEC0001) ($ (UNSEC0001_DESC)
LangString UNSEC0001_DESC $ LANG_POLISH () "some text"
Do I need to somehow define differently?
Afrow UK
14th June 2009 18:57 UTC
This is in the Modern UI manual:
For the uninstaller, use the MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END macros.
Stu