Archive: The choice of programs to uninstall


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.


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"

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


@ 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?

This is in the Modern UI manual:

For the uninstaller, use the MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END macros.
Stu