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

Subversion Repositories phr

[/] [phr/] [trunk/] [codigo/] [gui/] [windows/] [minimal python2.7.6/] [wx_simple_gui_events_dist_libs/] [nis/] [para_instalar.nsi] - Blame information for rev 182

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 182 maximiq
; Script generated by the HM NIS Edit Script Wizard.
2
 
3
; HM NIS Edit Wizard helper defines
4
!define PRODUCT_NAME "PHR GUI"
5
!define PRODUCT_VERSION "1.0"
6
!define PRODUCT_PUBLISHER "CUDAR"
7
!define PRODUCT_WEB_SITE "http://www.micompañia.com"
8
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\phr-gui.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 "C:\Me\minimal python2.7.6\phr.ico"
18
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
19
 
20
; Welcome page
21
!insertmacro MUI_PAGE_WELCOME
22
; License page
23
!insertmacro MUI_PAGE_LICENSE "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\nis\Licencia.txt"
24
; Directory page
25
!insertmacro MUI_PAGE_DIRECTORY
26
; Instfiles page
27
!insertmacro MUI_PAGE_INSTFILES
28
; Finish page
29
!define MUI_FINISHPAGE_RUN "$INSTDIR\phr-gui.exe"
30
!insertmacro MUI_PAGE_FINISH
31
 
32
; Uninstaller pages
33
!insertmacro MUI_UNPAGE_INSTFILES
34
 
35
; Language files
36
!insertmacro MUI_LANGUAGE "Spanish"
37
 
38
; MUI end ------
39
 
40
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
41
OutFile "Instalar.exe"
42
InstallDir "$PROGRAMFILES\PHR GUI"
43
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
44
ShowInstDetails show
45
ShowUnInstDetails show
46
 
47
Section "Principal" SEC01
48
  SetOutPath "$INSTDIR"
49
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\bz2.pyd"
50
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\imagen.jpg"
51
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\library.zip"
52
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\phr-gui.exe"
53
  CreateDirectory "$SMPROGRAMS\PHR GUI"
54
  CreateShortCut "$SMPROGRAMS\PHR GUI\PHR GUI.lnk" "$INSTDIR\phr-gui.exe"
55
  CreateShortCut "$DESKTOP\PHR GUI.lnk" "$INSTDIR\phr-gui.exe"
56
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\python27.dll"
57
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\select.pyd"
58
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\unicodedata.pyd"
59
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\vcredist_x86.exe"
60
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wx._controls_.pyd"
61
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wx._core_.pyd"
62
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wx._gdi_.pyd"
63
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wx._misc_.pyd"
64
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wx._windows_.pyd"
65
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wxbase30u_net_vc90.dll"
66
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wxbase30u_vc90.dll"
67
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wxmsw30u_adv_vc90.dll"
68
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wxmsw30u_core_vc90.dll"
69
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\wxmsw30u_html_vc90.dll"
70
  File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist_libs\dist\_hashlib.pyd"
71
SectionEnd
72
 
73
Section -AdditionalIcons
74
  WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
75
  CreateShortCut "$SMPROGRAMS\PHR GUI\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
76
  CreateShortCut "$SMPROGRAMS\PHR GUI\Uninstall.lnk" "$INSTDIR\uninst.exe"
77
SectionEnd
78
 
79
Section -Post
80
  ExecWait '$INSTDIR\vcredist_x86.exe /q'
81
  WriteUninstaller "$INSTDIR\uninst.exe"
82
  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\phr-gui.exe"
83
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
84
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
85
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\phr-gui.exe"
86
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
87
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
88
  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
89
SectionEnd
90
 
91
 
92
Function un.onUninstSuccess
93
  HideWindow
94
  MessageBox MB_ICONINFORMATION|MB_OK "La desinstalación de $(^Name) finalizó satisfactoriamente."
95
FunctionEnd
96
 
97
Function un.onInit
98
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "¿Está completamente seguro que desea desinstalar $(^Name) junto con todos sus componentes?" IDYES +2
99
  Abort
100
FunctionEnd
101
 
102
Section Uninstall
103
  Delete "$INSTDIR\${PRODUCT_NAME}.url"
104
  Delete "$INSTDIR\uninst.exe"
105
  Delete "$INSTDIR\_hashlib.pyd"
106
  Delete "$INSTDIR\wxmsw30u_html_vc90.dll"
107
  Delete "$INSTDIR\wxmsw30u_core_vc90.dll"
108
  Delete "$INSTDIR\wxmsw30u_adv_vc90.dll"
109
  Delete "$INSTDIR\wxbase30u_vc90.dll"
110
  Delete "$INSTDIR\wxbase30u_net_vc90.dll"
111
  Delete "$INSTDIR\wx._windows_.pyd"
112
  Delete "$INSTDIR\wx._misc_.pyd"
113
  Delete "$INSTDIR\wx._gdi_.pyd"
114
  Delete "$INSTDIR\wx._core_.pyd"
115
  Delete "$INSTDIR\wx._controls_.pyd"
116
  Delete "$INSTDIR\vcredist_x86.exe"
117
  Delete "$INSTDIR\unicodedata.pyd"
118
  Delete "$INSTDIR\select.pyd"
119
  Delete "$INSTDIR\python27.dll"
120
  Delete "$INSTDIR\phr-gui.exe"
121
  Delete "$INSTDIR\library.zip"
122
  Delete "$INSTDIR\imagen.jpg"
123
  Delete "$INSTDIR\bz2.pyd"
124
 
125
  Delete "$SMPROGRAMS\PHR GUI\Uninstall.lnk"
126
  Delete "$SMPROGRAMS\PHR GUI\Website.lnk"
127
  Delete "$DESKTOP\PHR GUI.lnk"
128
  Delete "$SMPROGRAMS\PHR GUI\PHR GUI.lnk"
129
 
130
  RMDir "$SMPROGRAMS\PHR GUI"
131
  RMDir "$INSTDIR"
132
 
133
  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
134
  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
135
  SetAutoClose true
136
SectionEnd

powered by: WebSVN 2.1.0

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