author | Dan |
Mon, 03 Aug 2009 21:44:12 -0400 | |
changeset 13 | 2ae1abe546fd |
parent 0 | d5ce4c64ef88 |
permissions | -rwxr-xr-x |
0
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
1 |
;ExperienceUI for NSIS |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
2 |
;Welcome/Finish Page Example Script |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
3 |
;Written by Dan Fuhry |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
4 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
5 |
;OK, I cheated, Joost wrote it :) |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
6 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
7 |
;This script has been tested to compile with the Modern UI, ExperienceUI, |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
8 |
;UltraModernUI, and InstallSpider UI. All compiled w/o warnings. |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
9 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
10 |
;!define XPUI_VERBOSE 4 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
11 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
12 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
13 |
;Include ExperienceUI |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
14 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
15 |
!define XPUI_SKIN "Windows XP" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
16 |
!define XPUI_DISABLEBG |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
17 |
!define UI "XPUI" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
18 |
!include "XPUI.nsh" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
19 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
20 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
21 |
;General |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
22 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
23 |
;Name and file |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
24 |
Name "ExperienceUI Test" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
25 |
OutFile "WelcomeFinish.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
26 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
27 |
;Default installation folder |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
28 |
InstallDir "$PROGRAMFILES\ExperienceUI Test" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
29 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
30 |
;Get installation folder from registry if available |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
31 |
InstallDirRegKey HKCU "Software\ExperienceUI Test" "" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
32 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
33 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
34 |
;Interface Settings |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
35 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
36 |
!define MUI_ABORTWARNING |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
37 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
38 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
39 |
;Pages |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
40 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
41 |
!insertmacro ${UI}_PAGE_WELCOME |
13
2ae1abe546fd
Updated all examples for detached installation compatibility
Dan
parents:
0
diff
changeset
|
42 |
!insertmacro ${UI}_PAGE_LICENSE "${XPUI_SYSDIR}\License.rtf" |
0
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
43 |
!ifdef XPUI_INCLUDED |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
44 |
!define ${UI}_FINISHPAGE_RUN "$SYSDIR\Write.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
45 |
!define ${UI}_FINISHPAGE_RUN_FILE "$SYSDIR\Write.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
46 |
!define ${UI}_FINISHPAGE_DOCS "$SYSDIR\Write.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
47 |
!define ${UI}_FINISHPAGE_DOCS_FILE "$SYSDIR\Write.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
48 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
49 |
!insertmacro ${UI}_PAGE_FINISH |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
50 |
!ifdef XPUI_INCLUDED |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
51 |
!insertmacro ${UI}_PAGE_WELCOME2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
52 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
53 |
!insertmacro ${UI}_PAGE_COMPONENTS |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
54 |
!insertmacro ${UI}_PAGE_DIRECTORY |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
55 |
!insertmacro ${UI}_PAGE_INSTFILES |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
56 |
!ifdef XPUI_INCLUDED |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
57 |
!define ${UI}_FINISHPAGE_RUN "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
58 |
!define ${UI}_FINISHPAGE_RUN_FILE "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
59 |
!define ${UI}_FINISHPAGE_DOCS "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
60 |
!define ${UI}_FINISHPAGE_DOCS_FILE "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
61 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
62 |
!define MUI_PAGE_ABORT |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
63 |
!insertmacro ${UI}_PAGE_FINISH |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
64 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
65 |
!ifdef XPUI_VERSION |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
66 |
!insertmacro XPUI_PAGE_ABORT |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
67 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
68 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
69 |
!ifdef XPUI_VERSION |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
70 |
!insertmacro XPUI_PAGEMODE_UNINST |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
71 |
!insertmacro XPUI_PAGE_WELCOME |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
72 |
!insertmacro XPUI_PAGE_UNINSTCONFIRM_NSIS |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
73 |
!insertmacro XPUI_PAGE_INSTFILES |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
74 |
!define ${UI}_UNFINISHPAGE_RUN "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
75 |
!define ${UI}_UNFINISHPAGE_RUN_FILE "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
76 |
!define ${UI}_UNFINISHPAGE_DOCS "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
77 |
!define ${UI}_UNFINISHPAGE_DOCS_FILE "$WINDIR\Notepad.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
78 |
!insertmacro XPUI_PAGE_FINISH |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
79 |
!insertmacro XPUI_PAGE_ABORT |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
80 |
!else |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
81 |
!insertmacro MUI_UNPAGE_WELCOME |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
82 |
!insertmacro MUI_UNPAGE_CONFIRM |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
83 |
!insertmacro MUI_UNPAGE_INSTFILES |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
84 |
!insertmacro MUI_UNPAGE_FINISH |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
85 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
86 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
87 |
!ifdef XPUI_VERSION |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
88 |
!insertmacro XPUI_PAGE_ABORT |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
89 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
90 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
91 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
92 |
;Languages |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
93 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
94 |
!insertmacro MUI_LANGUAGE "English" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
95 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
96 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
97 |
;Installer Sections |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
98 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
99 |
Section "Dummy Section" SecDummy |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
100 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
101 |
SetOutPath "$INSTDIR" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
102 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
103 |
;ADD YOUR OWN FILES HERE... |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
104 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
105 |
;Store installation folder |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
106 |
WriteRegStr HKCU "Software\ExperienceUI Test" "" $INSTDIR |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
107 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
108 |
;Create uninstaller |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
109 |
WriteUninstaller "$INSTDIR\Uninstall.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
110 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
111 |
SectionEnd |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
112 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
113 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
114 |
;Descriptions |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
115 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
116 |
;Language strings |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
117 |
LangString DESC_SecDummy ${LANG_ENGLISH} "A test section." |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
118 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
119 |
;Assign language strings to sections |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
120 |
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
121 |
!insertmacro MUI_DESCRIPTION_TEXT ${SecDummy} $(DESC_SecDummy) |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
122 |
!insertmacro MUI_FUNCTION_DESCRIPTION_END |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
123 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
124 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
125 |
;Uninstaller Section |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
126 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
127 |
Section "Uninstall" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
128 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
129 |
;ADD YOUR OWN FILES HERE... |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
130 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
131 |
Delete "$INSTDIR\Uninstall.exe" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
132 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
133 |
RMDir "$INSTDIR" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
134 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
135 |
DeleteRegKey /ifempty HKCU "Software\ExperienceUI Test" |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
136 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
137 |
SectionEnd |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
138 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
139 |
;-------------------------------- |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
140 |
; InstallSpider settings |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
141 |
|
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
142 |
Function .onInit |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
143 |
!ifmacrodef MUI_SHOWBANNER |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
144 |
!insertmacro MUI_SHOWBANNER |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
145 |
StrCpy $0 0 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
146 |
loop: |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
147 |
IntOp $0 $0 + 1 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
148 |
!insertmacro MUI_SETPOS $0 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
149 |
Sleep 20 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
150 |
IntCmp $0 100 +2 0 +2 |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
151 |
Goto loop |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
152 |
!insertmacro MUI_DESTROYBANNER |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
153 |
!insertmacro MUI_UNLOAD_DLL |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
154 |
!endif |
d5ce4c64ef88
Initial population with stock ExUI 1.11pre + a couple of fixes needed to compile the installer
Dan
parents:
diff
changeset
|
155 |
FunctionEnd |