aboutsummaryrefslogtreecommitdiff
path: root/Src/installer/winamp/uninstall/components.nsh
blob: 2ee280ee8e07a7b98b6334239e8be934602e6205 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
!ifndef NULLSOFT_WINAMP_UNINSTALLER_COMPONENTS_HEADER
!define NULLSOFT_WINAMP_UNINSTALLER_COMPONENTS_HEADER

!ifndef MUI_UNCONFIRMPAGE
	!define MUI_UNCONFIRMPAGE
!endif

!include ".\utils\skins.nsh"

SectionGroup "un.$(MUI_UNTEXT_CONFIRM_TITLE)" IDX_UNINSTALL_COMPONENTS_GROUP
	Section "-un.ComponentsInit" IDX_UNINSTALL_COMPONENTS_INIT
		StrCpy $SETTINGSDIR $INSTDIR
		StrCpy $PREVINSTINI "$INSTDIR\install.ini"
		StrCpy $INSTINI $PREVINSTINI
  
		${If} ${FileExists} "$INSTDIR\paths.ini"
			Push $SETTINGSDIR
			nsis_winamp::ReadSettings /NOUNLOAD
			nsis_winamp::GetIniPath
			Pop $SETTINGSDIR
		${EndIf}
	SectionEnd
	
	!include  ".\uninstall\player.nsh"
	!include  ".\uninstall\userData.nsh"
SectionGroupEnd

!endif ;NULLSOFT_WINAMP_UNINSTALLER_COMPONENTS_HEADER