OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [codigo/] [gui/] [xin/] [nis/] [for_installer_r337.nsi] - Blame information for rev 404

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 338 maximiq
; Script generated by the HM NIS Edit Script Wizard.
2
 
3
; HM NIS Edit Wizard helper defines
4
!define PRODUCT_NAME "phrgui"
5
!define PRODUCT_VERSION "0.1.1"
6
!define PRODUCT_PUBLISHER "CUDAR (UTN-FRC)"
7
!define PRODUCT_WEB_SITE "http://opencores.org/project,phr"
8
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\phrgui.exe"
9
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
10
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
11
 
12
; MUI 1.67 compatible ------
13
!include "MUI.nsh"
14
 
15
; MUI Settings
16
!define MUI_ABORTWARNING
17
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
18
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
19
 
20
; Welcome page
21
!insertmacro MUI_PAGE_WELCOME
22
; Directory page
23
!insertmacro MUI_PAGE_DIRECTORY
24
; Instfiles page
25
!insertmacro MUI_PAGE_INSTFILES
26
; Finish page
27
!define MUI_FINISHPAGE_RUN "$INSTDIR\phrgui.exe"
28
!insertmacro MUI_PAGE_FINISH
29
 
30
; Uninstaller pages
31
!insertmacro MUI_UNPAGE_INSTFILES
32
 
33
; Language files
34
!insertmacro MUI_LANGUAGE "Spanish"
35
 
36
; MUI end ------
37
 
38
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
39
OutFile "phr-gui-011r337_instalar.exe"
40
InstallDir "$PROGRAMFILES\phrgui"
41
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
42
ShowInstDetails show
43
ShowUnInstDetails show
44
 
45
Section "Principal" SEC01
46
  SetOutPath "$INSTDIR"
47
  SetOverwrite try
48
  File "C:\Me\gui\xin03\dist\bz2.pyd"
49
  File "C:\Me\gui\xin03\dist\fpgaFile"
50
  SetOutPath "$INSTDIR\grafica"
51
  File "C:\Me\gui\xin03\dist\grafica\phr-gui-96.png"
52
  File "C:\Me\gui\xin03\dist\grafica\phr-gui.ico"
53
  SetOutPath "$INSTDIR"
54
  File "C:\Me\gui\xin03\dist\library.zip"
55
  File "C:\Me\gui\xin03\dist\phrgui.exe"
56
  CreateDirectory "$SMPROGRAMS\PHR GUI"
57
  CreateShortCut "$SMPROGRAMS\PHR GUI\phrgui.lnk" "$INSTDIR\phrgui.exe"
58
  CreateShortCut "$DESKTOP\phrgui.lnk" "$INSTDIR\phrgui.exe"
59
  File "C:\Me\gui\xin03\dist\python27.dll"
60
  SetOutPath "$INSTDIR\redist"
61
  File "C:\Me\gui\xin03\dist\redist\vcredist_x86.exe"
62
  SetOutPath "$INSTDIR"
63
  File "C:\Me\gui\xin03\dist\select.pyd"
64
  File "C:\Me\gui\xin03\dist\unicodedata.pyd"
65
  File "C:\Me\gui\xin03\dist\w9xpopen.exe"
66
  File "C:\Me\gui\xin03\dist\wx._controls_.pyd"
67
  File "C:\Me\gui\xin03\dist\wx._core_.pyd"
68
  File "C:\Me\gui\xin03\dist\wx._gdi_.pyd"
69
  File "C:\Me\gui\xin03\dist\wx._misc_.pyd"
70
  File "C:\Me\gui\xin03\dist\wx._windows_.pyd"
71
  File "C:\Me\gui\xin03\dist\wxbase295u_net_vc90.dll"
72
  File "C:\Me\gui\xin03\dist\wxbase295u_vc90.dll"
73
  File "C:\Me\gui\xin03\dist\wxmsw295u_adv_vc90.dll"
74
  File "C:\Me\gui\xin03\dist\wxmsw295u_core_vc90.dll"
75
  File "C:\Me\gui\xin03\dist\wxmsw295u_html_vc90.dll"
76
  SetOutPath "$INSTDIR\xc3sprog\win"
77
  File "C:\Me\gui\xin03\dist\xc3sprog\win\avrfuseparse.exe"
78
  File "C:\Me\gui\xin03\dist\xc3sprog\win\bitparse.exe"
79
  File "C:\Me\gui\xin03\dist\xc3sprog\win\detectchain.exe"
80
  File "C:\Me\gui\xin03\dist\xc3sprog\win\javr.exe"
81
  File "C:\Me\gui\xin03\dist\xc3sprog\win\jedecparse.exe"
82
  File "C:\Me\gui\xin03\dist\xc3sprog\win\readdna.exe"
83
  File "C:\Me\gui\xin03\dist\xc3sprog\win\srecparse.exe"
84
  File "C:\Me\gui\xin03\dist\xc3sprog\win\xc2c_warp.exe"
85
  File "C:\Me\gui\xin03\dist\xc3sprog\win\xc3sprog.exe"
86
  SetOutPath "$INSTDIR"
87
  File "C:\Me\gui\xin03\dist\_hashlib.pyd"
88
SectionEnd
89
 
90
Section -AdditionalIcons
91
  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
92
  CreateShortCut "$SMPROGRAMS\PHR GUI\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
93
  CreateShortCut "$SMPROGRAMS\PHR GUI\Uninstall.lnk" "$INSTDIR\uninst.exe"
94
SectionEnd
95
 
96
Section -Post
97
  ExecWait '$INSTDIR\redist\vcredist_x86.exe /q'
98
  WriteUninstaller "$INSTDIR\uninst.exe"
99
  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\phrgui.exe"
100
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
101
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
102
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\phrgui.exe"
103
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
104
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
105
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
106
SectionEnd
107
 
108
 
109
Function un.onUninstSuccess
110
  HideWindow
111
  MessageBox MB_ICONINFORMATION|MB_OK "La desinstalación de $(^Name) finalizó satisfactoriamente."
112
FunctionEnd
113
 
114
Function un.onInit
115
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "¿Está completamente seguro que desea desinstalar $(^Name) junto con todos sus componentes?" IDYES +2
116
  Abort
117
FunctionEnd
118
 
119
Section Uninstall
120
  Delete "$INSTDIR\${PRODUCT_NAME}.url"
121
  Delete "$INSTDIR\uninst.exe"
122
  Delete "$INSTDIR\_hashlib.pyd"
123
  Delete "$INSTDIR\xc3sprog\win\xc3sprog.exe"
124
  Delete "$INSTDIR\xc3sprog\win\xc2c_warp.exe"
125
  Delete "$INSTDIR\xc3sprog\win\srecparse.exe"
126
  Delete "$INSTDIR\xc3sprog\win\readdna.exe"
127
  Delete "$INSTDIR\xc3sprog\win\jedecparse.exe"
128
  Delete "$INSTDIR\xc3sprog\win\javr.exe"
129
  Delete "$INSTDIR\xc3sprog\win\detectchain.exe"
130
  Delete "$INSTDIR\xc3sprog\win\bitparse.exe"
131
  Delete "$INSTDIR\xc3sprog\win\avrfuseparse.exe"
132
  Delete "$INSTDIR\wxmsw295u_html_vc90.dll"
133
  Delete "$INSTDIR\wxmsw295u_core_vc90.dll"
134
  Delete "$INSTDIR\wxmsw295u_adv_vc90.dll"
135
  Delete "$INSTDIR\wxbase295u_vc90.dll"
136
  Delete "$INSTDIR\wxbase295u_net_vc90.dll"
137
  Delete "$INSTDIR\wx._windows_.pyd"
138
  Delete "$INSTDIR\wx._misc_.pyd"
139
  Delete "$INSTDIR\wx._gdi_.pyd"
140
  Delete "$INSTDIR\wx._core_.pyd"
141
  Delete "$INSTDIR\wx._controls_.pyd"
142
  Delete "$INSTDIR\w9xpopen.exe"
143
  Delete "$INSTDIR\unicodedata.pyd"
144
  Delete "$INSTDIR\select.pyd"
145
  Delete "$INSTDIR\redist\vcredist_x86.exe"
146
  Delete "$INSTDIR\python27.dll"
147
  Delete "$INSTDIR\phrgui.exe"
148
  Delete "$INSTDIR\library.zip"
149
  Delete "$INSTDIR\grafica\phr-gui.ico"
150
  Delete "$INSTDIR\grafica\phr-gui-96.png"
151
  Delete "$INSTDIR\fpgaFile"
152
  Delete "$INSTDIR\bz2.pyd"
153
 
154
  Delete "$SMPROGRAMS\PHR GUI\Uninstall.lnk"
155
  Delete "$SMPROGRAMS\PHR GUI\Website.lnk"
156
  Delete "$DESKTOP\phrgui.lnk"
157
  Delete "$SMPROGRAMS\PHR GUI\phrgui.lnk"
158
 
159
  RMDir "$SMPROGRAMS\PHR GUI"
160
  RMDir "$INSTDIR\xc3sprog\win"
161
  RMDir "$INSTDIR\redist"
162
  RMDir "$INSTDIR\grafica"
163
  RMDir "$INSTDIR"
164
 
165
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
166
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
167
  SetAutoClose true
168
SectionEnd

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.