startup/startup.nsi
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 06 Sep 2013 00:16:38 +0100
branchdevelopment
changeset 2711 a00302fe5083
parent 2429 ebece4dcaab9
child 2731 13f5be2bf83b
permissions -rw-r--r--
Added version_CVS to all classes and build files regenerated & cleaned. This is necessary step before updating CVS.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2711
a00302fe5083 Added version_CVS to all classes and build files regenerated & cleaned.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2429
diff changeset
     1
; $Header$
749
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"
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
     6
!define PRODUCT_VERSION "6.2.3.0"
749
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"
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
    17
!include "x64.nsh"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    18
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    19
; MUI Settings
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    20
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    21
!define MUI_WELCOMEPAGE_TITLE_3LINES
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    22
!define MUI_ABORTWARNING
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    23
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    24
;; !define MUI_ICON "nil.ico"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    25
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    26
;; !define MUI_UNICON "nil.ico"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    27
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    28
; Language Selection Dialog Settings
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    29
!define MUI_LANGDLL_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    30
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_UNINST_KEY}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    31
!define MUI_LANGDLL_REGISTRY_VALUENAME "NSIS:Language"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    32
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    33
; Welcome page
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    34
!insertmacro MUI_PAGE_WELCOME
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    35
; License page
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    36
; !define MUI_LICENSEPAGE_CHECKBOX
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    37
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    38
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    39
!insertmacro MUI_PAGE_COMPONENTS
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    40
; Directory page
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    41
!insertmacro MUI_PAGE_DIRECTORY
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    42
; Instfiles page
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    43
!insertmacro MUI_PAGE_INSTFILES
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    44
; Finish page
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    45
!insertmacro MUI_PAGE_FINISH
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    46
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    47
; Uninstaller pages
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    48
!insertmacro MUI_UNPAGE_INSTFILES
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    49
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    50
; Language files
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    51
!insertmacro MUI_LANGUAGE "English"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    52
!insertmacro MUI_LANGUAGE "German"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    53
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    54
; MUI end ------
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
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    58
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    59
VIProductVersion "${PRODUCT_VERSION}.0"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    60
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${PRODUCT_NAME}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    61
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${PRODUCT_PUBLISHER}"
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
    62
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "6.2.32767.32767"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    63
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${PRODUCT_NAME} Installer"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    64
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${PRODUCT_VERSION}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    65
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
    66
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    67
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    68
OutFile "Smalltalk_X JVMSetup.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    69
InstallDir "$PROGRAMFILES\stx"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    70
ShowInstDetails show
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    71
ShowUnInstDetails show
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    72
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    73
Function .onInit
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    74
  !insertmacro MUI_LANGDLL_DISPLAY
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    75
FunctionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    76
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    77
InstType Full
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    78
InstType Partial
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    79
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    80
Section "Programme" Section1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    81
  SectionIn 1 2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    82
  SetOutPath "$INSTDIR\bin"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    83
  SetOverwrite ifnewer
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    84
  File  "startup.com"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    85
  File "*.dll"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    86
  File "symbols.stc"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    87
  File "*.stx"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    88
  File "*.rc"
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
    89
  File /r /x CVS /x ".*" resources
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
    90
749
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
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    94
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    95
  WriteRegStr HKCR "Stx.Smalltalk_X JVM.1" "" "Smalltalk_X JVM File"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    96
  WriteRegStr HKCR "Stx.Smalltalk_X JVM.1\DefaultIcon" "" '$INSTDIR\bin\startup.exe,0'
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    97
  WriteRegStr HKCR "Stx.Smalltalk_X JVM.1\Shell\open" "" $(appOpen)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
    98
  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
    99
SectionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   100
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   101
;; Section "Online-Documentation for Smalltalk/X JVM" Section2
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   102
;;   SectionIn 1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   103
;;   SetOutPath "$INSTDIR\doc"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   104
;;   SetOverwrite ifnewer
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   105
;;   File /r /x CVS "${STX_ROOT}\stx\startup\doc\*"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   106
;; SectionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   107
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   108
;; Section "Smalltalk/X JVM Libraries and Demos" Section3
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   109
;;   SectionIn 1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   110
;;   SetOutPath "$INSTDIR\lib"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   111
;;   SetOverwrite ifnewer
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   112
;; ;   File /r /x CVS "${STX_ROOT}\stx\startup\examples\*"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   113
;; SectionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   114
;; 
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   115
;; Section "Smalltalk/X JVM Reports and Printing" Section4
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   116
;;   SectionIn 1
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   117
;;   SetOutPath "$INSTDIR\reportGenerator"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   118
;;   SetOverwrite ifnewer
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   119
;; ;  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
   120
;; SectionEnd
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
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   128
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   129
Section -AdditionalIcons
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   130
  SetOutPath "$INSTDIR\bin"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   131
  WriteIniStr "$INSTDIR\${PRODUCT_FILENAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   132
  CreateDirectory "$SMPROGRAMS\${PRODUCT_FILENAME}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   133
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\startup.lnk" "$INSTDIR\bin\startup.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   134
  CreateShortCut "$DESKTOP\startup.lnk" "$INSTDIR\bin\startup.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   135
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk" "$INSTDIR\${PRODUCT_FILENAME}.url"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   136
  CreateShortCut "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk" "$INSTDIR\uninst.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   137
SectionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   138
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   139
Section -Post
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   140
  WriteUninstaller "$INSTDIR\uninst.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   141
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   142
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   143
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   144
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   145
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   146
SectionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   147
2711
a00302fe5083 Added version_CVS to all classes and build files regenerated & cleaned.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2429
diff changeset
   148
LangString appOpen ${LANG_GERMAN}  "Mit Smalltalk/X JVM öffnen"
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   149
LangString appOpen ${LANG_ENGLISH} "Open with Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   150
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   151
LangString DESC_Section1 ${LANG_ENGLISH} "Program components of Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   152
LangString DESC_Section1 ${LANG_GERMAN}  "Alle Programmkomponenten von Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   153
;; LangString DESC_Section2 ${LANG_ENGLISH} "Online-Documentation of Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   154
;; LangString DESC_Section2 ${LANG_GERMAN}  "Online-Dokumentation zu Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   155
;; LangString DESC_Section3 ${LANG_ENGLISH} "Libraries and Demo Projects"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   156
;; LangString DESC_Section3 ${LANG_GERMAN}  "Bibliotheken und Beispielprojekte"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   157
;; LangString DESC_Section4 ${LANG_ENGLISH} "Logfile Printing and Report Generation"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   158
;; LangString DESC_Section4 ${LANG_GERMAN}  "Drucken und Report-Generierung aus Log-Dateien"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   159
;; LangString DESC_Section3 ${LANG_ENGLISH} "Sources of ST/X (Base-System)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   160
;; LangString DESC_Section3 ${LANG_GERMAN}  "Quellcode von ST/X (Basis-System)"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   161
;; LangString DESC_Section4 ${LANG_ENGLISH} "Sources of Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   162
;; LangString DESC_Section4 ${LANG_GERMAN}  "Quellcode von Smalltalk/X JVM"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   163
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   164
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   165
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   166
  !insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   167
;;   !insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   168
;;  !insertmacro MUI_DESCRIPTION_TEXT ${Section3} $(DESC_Section3)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   169
;;  !insertmacro MUI_DESCRIPTION_TEXT ${Section4} $(DESC_Section4)
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   170
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   171
!insertmacro MUI_FUNCTION_DESCRIPTION_END
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   172
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   173
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   174
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   175
Function un.onUninstSuccess
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   176
  HideWindow
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   177
  MessageBox MB_ICONINFORMATION|MB_OK "Smalltalk/X JVM wurde erfolgreich deinstalliert"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   178
FunctionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   179
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   180
Function un.onInit
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   181
!insertmacro MUI_UNGETLANGUAGE
2711
a00302fe5083 Added version_CVS to all classes and build files regenerated & cleaned.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2429
diff changeset
   182
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Möchten Sie Smalltalk/X JVM und alle seine Komponenten deinstallieren?" IDYES +2
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   183
  Abort
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   184
FunctionEnd
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   185
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   186
Section Uninstall
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   187
  Delete "$INSTDIR\${PRODUCT_FILENAME}.url"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   188
  Delete "$INSTDIR\uninst.exe"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   189
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   190
    Delete "$INSTDIR\*"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   191
    RMDir /r "$INSTDIR"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   192
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   193
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Uninstall.lnk"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   194
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\Website.lnk"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   195
  Delete "$SMPROGRAMS\${PRODUCT_FILENAME}\startup.lnk"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   196
  Delete "$DESKTOP\startup.lnk"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   197
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   198
  RMDir "$SMPROGRAMS\${PRODUCT_FILENAME}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   199
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   200
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   201
  DeleteRegKey HKCR "Stx.Smalltalk_X JVM.1"
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   202
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   203
2353
fa7400d022a0 Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 2152
diff changeset
   204
749
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   205
  SetAutoClose true
e898eaeff091 Synchronized with CVS repository at:
vranyj1
parents:
diff changeset
   206
SectionEnd