Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th June 2009, 14:45   #1
marcel-slip
Junior Member
 
Join Date: Jun 2007
Location: Poland
Posts: 16
Question 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.
marcel-slip is offline   Reply With Quote
Old 12th June 2009, 22:38   #2
Zinthose
Senior Member
 
Join Date: May 2009
Posts: 152
You will need to add to the uninstall section the execution commands to remove the programs.
PHP Code:
### Example
    
ExecWait '"$INSTDIR\Setup.exe" /Remove' $## Or Whatever the program uses to remove the software
    
DetailPrint "Returned $0" 
Zinthose is offline   Reply With Quote
Old 13th June 2009, 13:26   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
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

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 14th June 2009, 11:05   #4
marcel-slip
Junior Member
 
Join Date: Jun 2007
Location: Poland
Posts: 16
@ 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:

code:
! insertmacro MUI_DESCRIPTION_TEXT $ UNSEC0001) ($ (UNSEC0001_DESC)


code:
LangString UNSEC0001_DESC $ LANG_POLISH () "some text"



Do I need to somehow define differently?
marcel-slip is offline   Reply With Quote
Old 14th June 2009, 17:57   #5
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
This is in the Modern UI manual:
Quote:
For the uninstaller, use the MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END macros.
Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp 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