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