quickSelfTest/quickSelfTest.nsi
author sr
Fri, 13 Oct 2017 16:34:19 +0200
changeset 496 192448fb1ad7
parent 481 f0d586a780dd
child 508 6574d60ec072
permissions -rw-r--r--
removed ole for linux
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
363
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     1
; $Header$
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     2
; Script generated by ProjectDefinition.
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     3
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     4
!define PRODUCT_NAME "Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     5
!define PRODUCT_FILENAME "Smalltalk_X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     6
!define PRODUCT_VERSION "7.1.0.0"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     7
!define PRODUCT_PUBLISHER "eXept Software AG"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     8
!define PRODUCT_WEB_SITE "http://www.exept.de"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
     9
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_FILENAME}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    10
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    11
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    12
;
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    13
; SETUP_NAME can come from makefile as either setup or setup64
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    14
;
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    15
!if "${SETUP_NAME}" == ""
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    16
SETUP_NAME="Smalltalk/XSetup"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    17
!endif
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    18
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    19
!define STX_ROOT "..\..\..\.."
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    20
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    21
SetCompressor /solid lzma
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    22
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    23
!include "MUI2.nsh"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    24
!include "x64.nsh"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    25
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    26
; MUI Settings
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    27
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    28
!define MUI_WELCOMEPAGE_TITLE_3LINES
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    29
!define MUI_ABORTWARNING
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    30
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    31
;; !define MUI_ICON "nil.ico"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    32
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    33
;; !define MUI_UNICON "nil.ico"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    34
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    35
; Language Selection Dialog Settings
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    36
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    37
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    38
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    39
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    40
; Welcome page
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    41
!insertmacro MUI_PAGE_WELCOME
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    42
; License page
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    43
; !define MUI_LICENSEPAGE_CHECKBOX
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    44
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    45
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    46
!insertmacro MUI_PAGE_COMPONENTS
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    47
; Directory page
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    48
!insertmacro MUI_PAGE_DIRECTORY
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    49
; Instfiles page
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    50
!insertmacro MUI_PAGE_INSTFILES
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    51
; Finish page
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    52
!insertmacro MUI_PAGE_FINISH
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    53
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    54
; Uninstaller pages
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    55
!insertmacro MUI_UNPAGE_INSTFILES
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    56
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    57
; Language files
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    58
!insertmacro MUI_LANGUAGE "English"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    59
!insertmacro MUI_LANGUAGE "German"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    60
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    61
; MUI end ------
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    62
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    63
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    64
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    65
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    66
VIProductVersion "${PRODUCT_VERSION}.0"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    67
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${PRODUCT_NAME}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    68
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${PRODUCT_PUBLISHER}"
496
192448fb1ad7 removed ole for linux
sr
parents: 481
diff changeset
    69
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "7.1.1.7"
363
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    70
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${PRODUCT_NAME} Installer"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    71
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${PRODUCT_VERSION}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    72
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "Copyright Claus Gittinger 2017\nCopyright eXept Software AG 2017"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    73
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    74
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    75
OutFile "${SETUP_NAME}.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    76
InstallDir "$PROGRAMFILES\quickSelfTest"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    77
ShowInstDetails show
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    78
ShowUnInstDetails show
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    79
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    80
Function .onInit
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    81
  !insertmacro MUI_LANGDLL_DISPLAY
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    82
FunctionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    83
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    84
InstType Full
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    85
InstType Partial
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    86
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    87
Section "Programme" Section1
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    88
  SectionIn 1 2
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    89
  SetOutPath "$INSTDIR\bin"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    90
  SetOverwrite ifnewer
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    91
  File  "quickSelfTest.com"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    92
  File "*.dll"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    93
  File "symbols.stc"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    94
  File "*.stx"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    95
  File "*.rc"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    96
  File /r /x CVS /x ".*" resources
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    97
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    98
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
    99
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   100
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   101
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   102
  WriteRegStr HKCR "Stx.Smalltalk_X.1" "" "Smalltalk_X File"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   103
  WriteRegStr HKCR "Stx.Smalltalk_X.1\DefaultIcon" "" '$INSTDIR\bin\quickSelfTest.exe,0'
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   104
  WriteRegStr HKCR "Stx.Smalltalk_X.1\Shell\open" "" $(appOpen)
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   105
  WriteRegStr HKCR "Stx.Smalltalk_X.1\Shell\open\command" "" '"$INSTDIR\bin\quickSelfTest.exe" -- "%1"'
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   106
SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   107
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   108
;; Section "Online-Documentation for Smalltalk/X" Section2
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   109
;;   SectionIn 1
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   110
;;   SetOutPath "$INSTDIR\doc"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   111
;;   SetOverwrite ifnewer
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   112
;;   File /r /x CVS "${STX_ROOT}\stx\quickSelfTest\doc\*"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   113
;; SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   114
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   115
;; Section "Smalltalk/X Libraries and Demos" Section3
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   116
;;   SectionIn 1
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   117
;;   SetOutPath "$INSTDIR\lib"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   118
;;   SetOverwrite ifnewer
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   119
;; ;   File /r /x CVS "${STX_ROOT}\stx\quickSelfTest\examples\*"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   120
;; SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   121
;; 
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   122
;; Section "Smalltalk/X Reports and Printing" Section4
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   123
;;   SectionIn 1
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   124
;;   SetOutPath "$INSTDIR\reportGenerator"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   125
;;   SetOverwrite ifnewer
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   126
;; ;  File /r /x CVS "..\reportGenerator\java" "..\reportGenerator\rules" "..\reportGenerator\*.xml" "..\reportGenerator\*.xslt" "..\reportGenerator\CloseApp.exe" "..\reportGenerator\expecco.jpg"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   127
;; SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   128
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   129
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   130
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   131
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   132
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   133
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   134
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   135
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   136
Section -AdditionalIcons
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   137
  SetOutPath "$INSTDIR\bin"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   138
  WriteIniStr "$INSTDIR\${PRODUCT_FILENAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   139
  CreateDirectory "$SMPROGRAMS\${PRODUCT_FILENAME}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   140
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\quickSelfTest.lnk" "$INSTDIR\bin\quickSelfTest.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   141
  CreateShortCut "$DESKTOP\quickSelfTest.lnk" "$INSTDIR\bin\quickSelfTest.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   142
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk" "$INSTDIR\${PRODUCT_FILENAME}.url"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   143
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   144
SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   145
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   146
Section -Post
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   147
  WriteUninstaller "$INSTDIR\uninst.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   148
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   149
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   150
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   151
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   152
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   153
SectionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   154
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   155
LangString appOpen ${LANG_GERMAN}  "Mit Smalltalk/X öffnen"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   156
LangString appOpen ${LANG_ENGLISH} "Open with Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   157
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   158
LangString DESC_Section1 ${LANG_ENGLISH} "Program components of Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   159
LangString DESC_Section1 ${LANG_GERMAN}  "Alle Programmkomponenten von Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   160
;; LangString DESC_Section2 ${LANG_ENGLISH} "Online-Documentation of Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   161
;; LangString DESC_Section2 ${LANG_GERMAN}  "Online-Dokumentation zu Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   162
;; LangString DESC_Section3 ${LANG_ENGLISH} "Libraries and Demo Projects"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   163
;; LangString DESC_Section3 ${LANG_GERMAN}  "Bibliotheken und Beispielprojekte"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   164
;; LangString DESC_Section4 ${LANG_ENGLISH} "Logfile Printing and Report Generation"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   165
;; LangString DESC_Section4 ${LANG_GERMAN}  "Drucken und Report-Generierung aus Log-Dateien"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   166
;; LangString DESC_Section3 ${LANG_ENGLISH} "Sources of ST/X (Base-System)"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   167
;; LangString DESC_Section3 ${LANG_GERMAN}  "Quellcode von ST/X (Basis-System)"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   168
;; LangString DESC_Section4 ${LANG_ENGLISH} "Sources of Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   169
;; LangString DESC_Section4 ${LANG_GERMAN}  "Quellcode von Smalltalk/X"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   170
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   171
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   172
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   173
  !insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   174
;;   !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   175
;;  !insertmacro MUI_DESCRIPTION_TEXT ${Section3} $(DESC_Section3)
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   176
;;  !insertmacro MUI_DESCRIPTION_TEXT ${Section4} $(DESC_Section4)
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   177
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   178
!insertmacro MUI_FUNCTION_DESCRIPTION_END
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   179
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   180
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   181
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   182
Function un.onUninstSuccess
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   183
  HideWindow
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   184
  MessageBox MB_ICONINFORMATION|MB_OK "Smalltalk/X wurde erfolgreich deinstalliert"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   185
FunctionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   186
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   187
Function un.onInit
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   188
!insertmacro MUI_UNGETLANGUAGE
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   189
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Möchten Sie Smalltalk/X und alle seine Komponenten deinstallieren?" IDYES +2
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   190
  Abort
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   191
FunctionEnd
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   192
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   193
Section Uninstall
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   194
  Delete "$INSTDIR\${PRODUCT_FILENAME}.url"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   195
  Delete "$INSTDIR\uninst.exe"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   196
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   197
    Delete "$INSTDIR\*"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   198
    RMDir /r "$INSTDIR"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   199
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   200
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   201
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   202
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\quickSelfTest.lnk"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   203
  Delete "$DESKTOP\quickSelfTest.lnk"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   204
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   205
  RMDir "$SMPROGRAMS\${PRODUCT_FILENAME}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   206
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   207
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   208
  DeleteRegKey HKCR "Stx.Smalltalk_X.1"
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   209
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   210
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   211
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   212
  SetAutoClose true
a76df1b2fc2f initial checkin
sr
parents:
diff changeset
   213
SectionEnd