| 52 |
UninstPage instfiles |
UninstPage instfiles |
| 53 |
|
|
| 54 |
;!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt" |
;!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt" |
| 55 |
|
!insertmacro MUI_PAGE_WELCOME |
| 56 |
|
Page custom Setup |
| 57 |
!insertmacro MUI_PAGE_COMPONENTS |
!insertmacro MUI_PAGE_COMPONENTS |
| 58 |
!insertmacro MUI_PAGE_DIRECTORY |
!insertmacro MUI_PAGE_DIRECTORY |
| 59 |
!insertmacro MUI_PAGE_INSTFILES |
!insertmacro MUI_PAGE_INSTFILES |
| 69 |
|
|
| 70 |
Function .onInit |
Function .onInit |
| 71 |
|
|
| 72 |
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutex") i .r1 ?e' |
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutex") i .r1 ?e' |
| 73 |
Pop $R0 |
Pop $R0 |
| 74 |
StrCmp $R0 0 +3 |
StrCmp $R0 0 +3 |
| 75 |
MessageBox MB_OK|MB_ICONEXCLAMATION "Die Installation läuft bereits." |
MessageBox MB_OK|MB_ICONEXCLAMATION "Die Installation läuft bereits." |
| 76 |
Abort |
Abort |
| 77 |
|
|
| 78 |
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "vpndial_settings.ini" |
| 79 |
|
|
| 80 |
FunctionEnd |
FunctionEnd |
| 81 |
|
|
| 82 |
|
Function Setup |
| 83 |
|
; custom page |
| 84 |
|
; see: http://nsis.sourceforge.net/Docs/Modern%20UI/Readme.html#customPages |
| 85 |
|
; and: http://nsis.sourceforge.net/Docs/InstallOptions/Readme.html |
| 86 |
|
!insertmacro MUI_HEADER_TEXT "VpnDial Einstellungen" "Bitte füllen Sie folgende Angaben aus" |
| 87 |
|
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "vpndial_settings.ini" |
| 88 |
|
FunctionEnd |
| 89 |
|
|
| 90 |
; -------------------------------- |
; -------------------------------- |
| 91 |
; The stuff to install |
; The stuff to install |