|
1 ${SectionRO} "ExperienceUI Base Files" Base "The files required in order for the ExperienceUI to function. This component must be installed." |
|
2 SectionIn 1 2 3 |
|
3 ${SetOutPath} $INSTDIR |
|
4 ${File} XPUI.nsh XPUI.nsh |
|
5 ${File} Lang.nsh Lang.nsh |
|
6 ${File} MUIConvert.nsh MUIConvert.nsh |
|
7 ${File} ExperienceUIFileList.nsh ExperienceUIFileList.nsh |
|
8 ${File} License.rtf License.rtf |
|
9 ${File} Langpage.nsi Langpage.nsi |
|
10 ${File} XPUI-Setup.nsi XPUI-Setup.nsi |
|
11 ${SetOutPath} $INSTDIR\INI |
|
12 ${File} Confirm.ini INI\Confirm.ini |
|
13 ${File} Confirm_rep.ini INI\Confirm_rep.ini |
|
14 ${File} Finish.ini INI\Finish.ini |
|
15 ${File} Instdir.ini INI\Instdir.ini |
|
16 ${File} ioSpecial.ini INI\ioSpecial.ini |
|
17 ${File} isWelcome.ini INI\isWelcome.ini |
|
18 ${File} LangDlg.ini INI\LangDlg.ini |
|
19 ${File} Maint.ini INI\Maint.ini |
|
20 ${File} MBSide.ini INI\MBSide.ini |
|
21 ${File} StartMenu.ini INI\StartMenu.ini |
|
22 ${File} repair.ini INI\Repair.ini |
|
23 ${File} Welcome.ini INI\Welcome.ini |
|
24 ${SetOutPath} "$INSTDIR\Language Files" |
|
25 ${File} English.nsh "Language Files\English.nsh" |
|
26 ${File} Default.nsh "Language Files\Default.nsh" |
|
27 ${File} PortugueseBR.nsh "Language Files\PortugueseBR.nsh" |
|
28 ${File} Spanish.nsh "Language Files\Spanish.nsh" |
|
29 ${File} French.nsh "Language Files\French.nsh" |
|
30 ${File} German.nsh "Language Files\German.nsh" |
|
31 ${File} Italian.nsh "Language Files\Italian.nsh" |
|
32 ${SetOutPath} $INSTDIR\UIs |
|
33 ${File} BGui.exe UIs\bgui.exe |
|
34 ${File} Headerui.exe UIs\headerui.exe |
|
35 ${File} headerui_btmimg.exe UIs\headerui_btmimg.exe |
|
36 ${File} tinyui.exe UIs\tinyui.exe |
|
37 ${File} UI.exe UIs\UI.exe |
|
38 ${File} WAnsis_ui.exe UIs\WAnsis_ui.exe |
|
39 ${SetOutPath} $INSTDIR\..\..\Plugins |
|
40 ${File} WAnsis.dll ..\..\Plugins\WAnsis.dll |
|
41 ${File} ZipDLL.dll ..\..\Plugins\ZipDLL.dll |
|
42 SetOverwrite off |
|
43 File ..\..\Plugins\newadvsplash.dll |
|
44 File ..\..\Plugins\NSISArray.dll |
|
45 File ..\..\Plugins\messagebox.dll |
|
46 File ..\..\Plugins\DCryptDll.dll |
|
47 SetOverwrite on |
|
48 ${SetOutPath} $INSTDIR\Utils |
|
49 ${File} XPUIRes.dll Utils\XPUIRes.dll |
|
50 ${SetOutPath} $INSTDIR\..\Graphics\Icons |
|
51 ${File} XPUI-install.ico ..\Graphics\Icons\XPUI-install.ico |
|
52 ${File} XPUI-uninstall.ico ..\Graphics\Icons\XPUI-uninstall.ico |
|
53 ${SetOutPath} $INSTDIR\..\..\Include |
|
54 ${File} XPUI.nsh ..\..\Include\XPUI.nsh |
|
55 ${File} RecFind.nsh ..\..\Include\RecFind.nsh |
|
56 ${File} NSISArray.nsh ..\..\Include\NSISArray.nsh |
|
57 FileOpen $1 $INSTDIR\..\..\Include\XPUI.nsh w |
|
58 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" |
|
59 StrCpy $0 $0 "" 1 |
|
60 StrCpy $0 $0 -17 |
|
61 FileWrite $1 `!define XPUI_SYSDIR "$INSTDIR"$\r$\n!include "$INSTDIR\XPUI.nsh"$\r$\n` |
|
62 FileClose $1 |
|
63 FileOpen $1 $INSTDIR\..\..\Include\system.nsh w |
|
64 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" |
|
65 StrCpy $0 $0 "" 1 |
|
66 StrCpy $0 $0 -17 |
|
67 FileWrite $1 `!include "$0\Examples\System\SysFunc.nsh"$\r$\n` |
|
68 FileClose $1 |
|
69 ${SectionEnd} |
|
70 |
|
71 ${Section} "Additional Utilities" Utils "Several utilities that make working with the ExperienceUI easier. These include the Update Wizard, to make sure you have the latest version, and the patching system, for installing updates and skins" |
|
72 SectionIn 1 2 |
|
73 ${SetOutPath} $INSTDIR\Utils\Source |
|
74 ${File} Patcher.ico Utils\Source\patcher.ico |
|
75 ${File} Patcher.nsi Utils\Source\patcher.nsi |
|
76 ${File} Update.ico Utils\Source\Update.ico |
|
77 ${File} Updater.ini Utils\Source\Updater.ini |
|
78 ${File} UpdateWiz.nsi Utils\Source\UpdateWiz.nsi |
|
79 ${File} PatchGen.nsi Utils\Source\PatchGen.nsi |
|
80 ${File} PatchGen.ini Utils\Source\PatchGen.ini |
|
81 ${File} SigVerify.exe Utils\Source\SigVerify.exe |
|
82 ${SetOutPath} $INSTDIR\Utils |
|
83 ${File} icon-skin.ico Utils\icon-skin.ico |
|
84 ${File} icon-patch.ico Utils\icon-patch.ico |
|
85 !ifdef XPUI_SETUP_SPLASH |
|
86 ${SetOutPath} $INSTDIR |
|
87 ${File} LargeLogo.gif LargeLogo.gif |
|
88 !endif |
|
89 StrCpy $INSTALL_UTILS 1 |
|
90 ${SectionEnd} |
|
91 |
|
92 ${Section} "ExperienceUI SDK Documentation" Docs "The complete documentation suite for the ExperienceUI SDK. Highly recommended." |
|
93 SectionIn 1 2 |
|
94 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI" |
|
95 ${File} help.ico "..\..\Docs\ExperienceUI\help.ico" |
|
96 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI\Images" |
|
97 ${File} link.gif "..\..\Docs\ExperienceUI\Images\link.gif" |
|
98 ${File} minus.gif "..\..\Docs\ExperienceUI\Images\minus.gif" |
|
99 ${File} nsis.gif "..\..\Docs\ExperienceUI\Images\nsis.gif" |
|
100 ${File} plus.gif "..\..\Docs\ExperienceUI\Images\plus.gif" |
|
101 ${File} ScreenShot1.png "..\..\Docs\ExperienceUI\Images\ScreenShot1.png" |
|
102 ${File} ScreenShot2.png "..\..\Docs\ExperienceUI\Images\ScreenShot2.png" |
|
103 ${File} sourceforge.gif "..\..\Docs\ExperienceUI\Images\sourceforge.gif" |
|
104 ${File} spacer.gif "..\..\Docs\ExperienceUI\Images\spacer.gif" |
|
105 ${File} XPUILogo.png "..\..\Docs\ExperienceUI\Images\XPUILogo.png" |
|
106 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI" |
|
107 ${File} index.htm "..\..\Docs\ExperienceUI\index.htm" |
|
108 ${File} open_popup.hta "..\..\Docs\ExperienceUI\open_popup.hta" |
|
109 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI\pages\browser" |
|
110 ${File} back.bmp "..\..\Docs\ExperienceUI\pages\browser\back.bmp" |
|
111 ${File} back_o.bmp "..\..\Docs\ExperienceUI\pages\browser\back_o.bmp" |
|
112 ${File} exit.bmp "..\..\Docs\ExperienceUI\pages\browser\exit.bmp" |
|
113 ${File} exit_o.bmp "..\..\Docs\ExperienceUI\pages\browser\exit_o.bmp" |
|
114 ${File} forward.bmp "..\..\Docs\ExperienceUI\pages\browser\forward.bmp" |
|
115 ${File} forward_o.bmp "..\..\Docs\ExperienceUI\pages\browser\forward_o.bmp" |
|
116 ${File} go.bmp "..\..\Docs\ExperienceUI\pages\browser\go.bmp" |
|
117 ${File} go_o.bmp "..\..\Docs\ExperienceUI\pages\browser\go_o.bmp" |
|
118 ${File} hide.bmp "..\..\Docs\ExperienceUI\pages\browser\hide.bmp" |
|
119 ${File} hide_o.bmp "..\..\Docs\ExperienceUI\pages\browser\hide_o.bmp" |
|
120 ${File} home.bmp "..\..\Docs\ExperienceUI\pages\browser\home.bmp" |
|
121 ${File} home_o.bmp "..\..\Docs\ExperienceUI\pages\browser\home_o.bmp" |
|
122 ${File} refresh.bmp "..\..\Docs\ExperienceUI\pages\browser\refresh.bmp" |
|
123 ${File} refresh_o.bmp "..\..\Docs\ExperienceUI\pages\browser\refresh_o.bmp" |
|
124 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI\pages" |
|
125 ${File} browser.htm "..\..\Docs\ExperienceUI\pages\browser.htm" |
|
126 ${File} build_setup.htm "..\..\Docs\ExperienceUI\pages\build_setup.htm" |
|
127 ${File} changes.htm "..\..\Docs\ExperienceUI\pages\changes.htm" |
|
128 ${File} cmd.js "..\..\Docs\ExperienceUI\pages\cmd.js" |
|
129 ${File} custfunc.htm "..\..\Docs\ExperienceUI\pages\custfunc.htm" |
|
130 ${File} gui_macros.htm "..\..\Docs\ExperienceUI\pages\gui_macros.htm" |
|
131 ${File} history.htm "..\..\Docs\ExperienceUI\pages\history.htm" |
|
132 ${File} intro.htm "..\..\Docs\ExperienceUI\pages\intro.htm" |
|
133 ${File} io.htm "..\..\Docs\ExperienceUI\pages\io.htm" |
|
134 ${File} lang.htm "..\..\Docs\ExperienceUI\pages\lang.htm" |
|
135 ${File} legal.htm "..\..\Docs\ExperienceUI\pages\legal.htm" |
|
136 ${File} license_agreement.htm "..\..\Docs\ExperienceUI\pages\license_agreement.htm" |
|
137 ${File} macros.htm "..\..\Docs\ExperienceUI\pages\macros.htm" |
|
138 ${File} pagemode.htm "..\..\Docs\ExperienceUI\pages\pagemode.htm" |
|
139 ${File} page_macros.htm "..\..\Docs\ExperienceUI\pages\page_macros.htm" |
|
140 ${File} page_settings.htm "..\..\Docs\ExperienceUI\pages\page_settings.htm" |
|
141 ${File} patch.htm "..\..\Docs\ExperienceUI\pages\patch.htm" |
|
142 ${File} secdesc.htm "..\..\Docs\ExperienceUI\pages\secdesc.htm" |
|
143 ${File} skin.htm "..\..\Docs\ExperienceUI\pages\skin.htm" |
|
144 ${File} startmenu.htm "..\..\Docs\ExperienceUI\pages\startmenu.htm" |
|
145 ${File} style.css "..\..\Docs\ExperienceUI\pages\style.css" |
|
146 ${File} syntax.htm "..\..\Docs\ExperienceUI\pages\syntax.htm" |
|
147 ${File} useful_macros.htm "..\..\Docs\ExperienceUI\pages\useful_macros.htm" |
|
148 ${File} using.htm "..\..\Docs\ExperienceUI\pages\using.htm" |
|
149 ${File} visual_settings.htm "..\..\Docs\ExperienceUI\pages\visual_settings.htm" |
|
150 ${File} wansis.htm "..\..\Docs\ExperienceUI\pages\wansis.htm" |
|
151 ${File} welcome.htm "..\..\Docs\ExperienceUI\pages\welcome.htm" |
|
152 ${SetOutPath} "$INSTDIR\..\..\Docs\ExperienceUI" |
|
153 ${File} toc.htm "..\..\Docs\ExperienceUI\toc.htm" |
|
154 StrCpy $INSTALL_DOCS 1 |
|
155 ${SectionEnd} |
|
156 |
|
157 ${Section} "Example Pack" Examples "Example scripts, to get you started" |
|
158 SectionIn 1 2 |
|
159 ${SetOutPath} "$INSTDIR\..\..\Examples\ExperienceUI\Data" |
|
160 ${File} "HEY!!! Put Your Install Data in this folder!!!.txt" "..\..\Examples\ExperienceUI\Data\HEY!!! Put Your Install Data in this folder!!!.txt" |
|
161 ${CopyFiles} $WINDIR\Notepad.exe Notepad.exe |
|
162 ${SetOutPath} "$INSTDIR\..\..\Examples\ExperienceUI" |
|
163 ${File} Basic.nsi "..\..\Examples\ExperienceUI\Basic.nsi" |
|
164 ${File} HeaderBitmap.nsi "..\..\Examples\ExperienceUI\HeaderBitmap.nsi" |
|
165 ${File} InstallOptions.nsi "..\..\Examples\ExperienceUI\InstallOptions.nsi" |
|
166 ${File} ioA.ini "..\..\Examples\ExperienceUI\ioA.ini" |
|
167 ${File} ioB.ini "..\..\Examples\ExperienceUI\ioB.ini" |
|
168 ${File} ioC.ini "..\..\Examples\ExperienceUI\ioC.ini" |
|
169 ${File} MultiLang.nsi "..\..\Examples\ExperienceUI\MultiLang.nsi" |
|
170 ${File} Realworld.nsi "..\..\Examples\ExperienceUI\Realworld.nsi" |
|
171 ${File} StartMenu.nsi "..\..\Examples\ExperienceUI\StartMenu.nsi" |
|
172 ${File} UmuiImport.nsi "..\..\Examples\ExperienceUI\UmuiImport.nsi" |
|
173 ${File} WAnsis.nsi "..\..\Examples\ExperienceUI\WAnsis.nsi" |
|
174 ${File} WelcomeFinish.nsi "..\..\Examples\ExperienceUI\WelcomeFinish.nsi" |
|
175 StrCpy $INSTALL_EX 1 |
|
176 ${SectionEnd} |
|
177 |
|
178 SectionGroup "Extra Skins" |
|
179 ${SectionRO} "Default Skin" DefSkin "The default skin. This must be installed." |
|
180 SectionIn 1 2 3 |
|
181 ${SetOutPath} $INSTDIR\Skins\Default |
|
182 ${File} Bottom.bmp Skins\Default\Bottom.bmp |
|
183 ${File} Header.bmp Skins\Default\Header.bmp |
|
184 ${File} LeftBranding.bmp Skins\Default\LeftBranding.bmp |
|
185 ${SectionEnd} |
|
186 |
|
187 ${Section} "Windows XP Skin" WinXPSkin "A skin that looks like the annoying OOBE (out of box experience) wizard that shows when you (re)install Windows XP." |
|
188 SectionIn 1 2 |
|
189 ${SetOutPath} "$INSTDIR\Skins\Windows XP" |
|
190 ${File} BtmImg.bmp "Skins\Windows XP\BtmImg.bmp" |
|
191 ${File} Header.bmp "Skins\Windows XP\Header.bmp" |
|
192 ${File} Icon.ico "Skins\Windows XP\Icon.ico" |
|
193 ${File} Key.bmp "Skins\Windows XP\Key.bmp" |
|
194 ${File} LeftBranding.bmp "Skins\Windows XP\leftbranding.bmp" |
|
195 ${File} Spotlight.bmp "Skins\Windows XP\Spotlight.bmp" |
|
196 ${File} UnIcon.ico "Skins\Windows XP\UnIcon.ico" |
|
197 ${SetOutPath} $INSTDIR\Skins |
|
198 ${File} "Windows XP.xpuiskin" "Skins\Windows XP.xpuiskin" |
|
199 ${SectionEnd} |
|
200 |
|
201 ${Section} "Orange Skin" OrangeSkin "This skin has a tropical orange color scheme." |
|
202 SectionIn 1 |
|
203 ${SetOutPath} $INSTDIR\Skins\Orange |
|
204 ${File} Header.bmp Skins\Orange\Header.bmp |
|
205 ${File} Bottom.bmp Skins\Orange\Bottom.bmp |
|
206 ${File} LeftBranding.bmp Skins\Orange\LeftBranding.bmp |
|
207 ${SetOutPath} $INSTDIR\Skins |
|
208 ${File} orange.xpuiskin Skins\Orange.xpuiskin |
|
209 ${SectionEnd} |
|
210 |
|
211 ${Section} "Modern Blue Skin" MBSkin "A skin with peaceful blue tones" |
|
212 SectionIn 1 |
|
213 ${SetOutPath} $INSTDIR\Skins\Modern-Blue |
|
214 ${File} bottom.bmp skins\modern-blue\bottom.bmp |
|
215 ${File} header.bmp skins\modern-blue\header.bmp |
|
216 ${File} leftbranding.bmp skins\modern-blue\leftbranding.bmp |
|
217 ${File} Icon.ico skins\modern-blue\icon.ico |
|
218 ${File} unicon.ico skins\modern-blue\unicon.ico |
|
219 ${SetOutPath} $INSTDIR\Skins |
|
220 ${File} modern-blue.xpuiskin skins\modern-blue.xpuiskin |
|
221 ${SectionEnd} |
|
222 |
|
223 SectionGroup "WAnsis Skins" |
|
224 ${SectionRO} "Winamp Forum Skin" ForumWANSkin "Looks the the Winamp forums. This is the default WAnsis skin and as a result must be installed. The Forum skin was designed by ZmAn3." |
|
225 SectionIn 1 2 3 |
|
226 ${SetOutPath} $INSTDIR\Skins\Forum |
|
227 ${File} Bottom.bmp Skins\Forum\Bottom.bmp |
|
228 ${File} Checks.bmp Skins\Forum\Checks.bmp |
|
229 ${File} Gen.bmp Skins\Forum\Gen.bmp |
|
230 ${File} genex.bmp Skins\Forum\Genex.bmp |
|
231 ${File} Header.bmp Skins\Forum\Header.bmp |
|
232 ${File} LeftLogo.bmp Skins\Forum\LeftLogo.bmp |
|
233 ${SectionEnd} |
|
234 |
|
235 ${Section} "Bliss Skin" BlissWANSkin "A metallic blue take-off on the InstallShield(R) skin, but with more features" |
|
236 SectionIn 1 2 |
|
237 ${SetOutPath} $INSTDIR\Skins\Bliss |
|
238 ${File} Bottom.bmp Skins\Bliss\Bottom.bmp |
|
239 ${File} Checks.bmp Skins\Bliss\Checks.bmp |
|
240 ${File} Gen.bmp Skins\Bliss\Gen.bmp |
|
241 ${File} genex.bmp Skins\Bliss\Genex.bmp |
|
242 ${File} Header.bmp Skins\Bliss\Header.bmp |
|
243 ${File} LeftLogo.bmp Skins\Bliss\LeftLogo.bmp |
|
244 ${SectionEnd} |
|
245 |
|
246 ${Section} "LCD Skin" LCDWANSkin "Sort of a pea soup green, but wicked cool :-). This skin looks good in installers for games and such. This skin was designed by ZmAn3." |
|
247 SectionIn 1 |
|
248 ${SetOutPath} $INSTDIR\Skins\LCD |
|
249 ${File} Bottom.bmp Skins\LCD\Bottom.bmp |
|
250 ${File} Checks.bmp Skins\LCD\Checks.bmp |
|
251 ${File} Gen.bmp Skins\LCD\Gen.bmp |
|
252 ${File} genex.bmp Skins\LCD\Genex.bmp |
|
253 ${File} Header.bmp Skins\LCD\Header.bmp |
|
254 ${File} LeftLogo.bmp Skins\LCD\LeftLogo.bmp |
|
255 ${SectionEnd} |
|
256 SectionGroupEnd |
|
257 SectionGroupEnd |
|
258 |
|
259 Section -post |
|
260 StrCmp $INSTALL_UTILS 1 "" NoUtilsA |
|
261 SetDetailsPrint both |
|
262 DetailPrint "Compiling update wizard..." |
|
263 nsExec::Exec `"$INSTDIR\..\..\MakeNSIS.exe" "$INSTDIR\Utils\Source\UpdateWiz.nsi"` |
|
264 Pop $0 |
|
265 DetailPrint " ...MakeNSIS returned $0" |
|
266 DetailPrint "Compiling patch installer..." |
|
267 nsExec::Exec `"$INSTDIR\..\..\MakeNSIS.exe" "$INSTDIR\Utils\Source\Patcher.nsi"` |
|
268 Pop $0 |
|
269 DetailPrint " ...MakeNSIS returned $0" |
|
270 DetailPrint "Compiling patch generator..." |
|
271 nsExec::Exec `"$INSTDIR\..\..\MakeNSIS.exe" "$INSTDIR\Utils\Source\PatchGen.nsi"` |
|
272 Pop $0 |
|
273 DetailPrint " ...MakeNSIS returned $0" |
|
274 WriteRegStr HKCR XPUI_P "" "ExperienceUI Patch" |
|
275 WriteRegStr HKCR XPUI_P\Shell "" Install |
|
276 WriteRegStr HKCR XPUI_P\Shell\Install\Command '' '"$INSTDIR\utils\PatchInstaller.exe" %1' |
|
277 WriteRegStr HKCR XPUI_P\DefaultIcon '' '"$INSTDIR\utils\icon-patch.ico"' |
|
278 WriteRegStr HKCR .eup "" XPUI_P |
|
279 |
|
280 WriteRegStr HKCR XPUI_S "" "ExperienceUI Skin" |
|
281 WriteRegStr HKCR XPUI_S\Shell "" Install |
|
282 WriteRegStr HKCR XPUI_S\Shell\Install\Command '' '"$INSTDIR\utils\PatchInstaller.exe" %1' |
|
283 WriteRegStr HKCR XPUI_S\DefaultIcon '' '"$INSTDIR\utils\icon-skin.ico"' |
|
284 WriteRegStr HKCR .eus "" XPUI_S |
|
285 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)' |
|
286 SetDetailsPrint both |
|
287 NoUtilsA: |
|
288 SectionEnd |
|
289 |
|
290 ${SectionHidden} "cm-post" "sec.cmpost" |
|
291 ${StartMenu} App $SMFOLDER |
|
292 ${CreateShortcut} "ExperienceUI Installation Folder" "$INSTDIR` `` `$INSTDIR\Utils\XPUIRes.dll` `6" |
|
293 StrCmp $INSTALL_EX 1 "" NoEx |
|
294 ${CreateShortcut} "Example Scripts" "$WINDIR\Explorer.exe` `$INSTDIR\..\..\Examples\ExperienceUI` `$SYSDIR\Shell32.dll` `4" |
|
295 NoEx: |
|
296 StrCmp $INSTALL_DOCS 1 "" NoDocs |
|
297 ${CreateShortcut} "ExperienceUI Documentation" "$INSTDIR\..\..\Docs\ExperienceUI\open_popup.hta` `` `$INSTDIR\..\..\Docs\ExperienceUI\help.ico` `0" |
|
298 NoDocs: |
|
299 ${CreateShortcut} "Uninstall the ExperienceUI" "$INSTDIR\Uninst.exe" |
|
300 |
|
301 StrCmp $INSTALL_UTILS 1 "" NoUtils |
|
302 ${CreateShortcut} "Check for Updates" "$INSTDIR\Utils\Updater.exe" |
|
303 ${CreateShortcut} "Patch Generator" "$INSTDIR\Utils\PatchGen.exe" |
|
304 NoUtils: |
|
305 ${StartMenuEnd} |
|
306 ${SectionEnd} |