Added the ability to specify a class attribute in Formatter configuration. Contribute...
[python.git] / PCbuild / Uninstal.wse
blob216dd30c350285338872d0f43b44beb5ccfa9622
1 Document Type: WSE
2 item: Global
3   Version=8.14
4   Flags=00000100
5   Split=1420
6   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7   Copy Default=1
8   Japanese Font Name=MS Gothic
9   Japanese Font Size=10
10   Start Gradient=0 0 255
11   End Gradient=0 0 0
12   Windows Flags=00000000000000000000101000001000
13   Message Font=MS Sans Serif
14   Font Size=8
15   Disk Label=GLBS
16   Disk Filename=INSTALL
17   Patch Flags=0000000000000001
18   Patch Threshold=200
19   Patch Memory=4096
20   Per-User Version ID=1
21   Crystal Format=10111100101100000010001001001001
22   Step View=&Properties
23 end
24 item: Remark
25   Text=Note from Tim:  This is a verbatim copy of Wise's Uninstal.wse, altered at the end to write
26 end
27 item: Remark
28   Text=uninstall info under HKCU instead of HKLM if our DOADMIN var is false.
29 end
30 item: Remark
31 end
32 item: Remark
33   Text=     Install Support for uninstalling the application.
34 end
35 item: Remark
36 end
37 item: Set Variable
38   Variable=UNINSTALL_PATH
39   Value=%_LOGFILE_PATH_%
40   Flags=00000010
41 end
42 item: Set Variable
43   Variable=UNINSTALL_PATH
44   Value=%UNINSTALL_PATH%\UNWISE.EXE
45 end
46 item: Compiler Variable If
47   Variable=_EXE_OS_TYPE_
48   Value=WIN32
49 end
50 item: Install File
51   Source=%_WISE_%\UNWISE32.EXE
52   Destination=%UNINSTALL_PATH%
53   Flags=0000000000000010
54 end
55 item: Compiler Variable Else
56 end
57 item: Install File
58   Source=%_WISE_%\UNWISE.EXE
59   Destination=%UNINSTALL_PATH%
60   Flags=0000000000000010
61 end
62 item: Compiler Variable End
63 end
64 item: Remark
65 end
66 item: Remark
67   Text=     Install Support for multiple languages
68 end
69 item: Remark
70 end
71 item: Set Variable
72   Variable=UNINSTALL_LANG
73   Value=%UNINSTALL_PATH%
74   Flags=00000010
75 end
76 item: Set Variable
77   Variable=UNINSTALL_LANG
78   Value=%UNINSTALL_LANG%\UNWISE.INI
79 end
80 item: Compiler Variable If
81   Variable=_LANG_LIST_
82   Value=C
83   Flags=00000010
84 end
85 item: Compiler Variable If
86   Value=%_WISE_%\LANGUAGE\UNWISE.FRA
87   Flags=00000011
88 end
89 item: If/While Statement
90   Variable=LANG
91   Value=%_LANG_C_NAME_%
92 end
93 item: Install File
94   Source=%_WISE_%\LANGUAGE\UNWISE.FRA
95   Destination=%UNINSTALL_LANG%
96   Flags=0000000000000010
97 end
98 item: End Block
99 end
100 item: Compiler Variable End
102 item: Compiler Variable End
104 item: Compiler Variable If
105   Variable=_LANG_LIST_
106   Value=D
107   Flags=00000010
109 item: Compiler Variable If
110   Value=%_WISE_%\LANGUAGE\UNWISE.FRA
111   Flags=00000011
113 item: If/While Statement
114   Variable=LANG
115   Value=%_LANG_D_NAME_%
117 item: Install File
118   Source=%_WISE_%\LANGUAGE\UNWISE.FRA
119   Destination=%UNINSTALL_LANG%
120   Flags=0000000000000010
122 item: End Block
124 item: Compiler Variable End
126 item: Compiler Variable End
128 item: Compiler Variable If
129   Variable=_LANG_LIST_
130   Value=E
131   Flags=00000010
133 item: Compiler Variable If
134   Value=%_WISE_%\LANGUAGE\UNWISE.DEU
135   Flags=00000011
137 item: If/While Statement
138   Variable=LANG
139   Value=%_LANG_E_NAME_%
141 item: Install File
142   Source=%_WISE_%\LANGUAGE\UNWISE.DEU
143   Destination=%UNINSTALL_LANG%
144   Flags=0000000000000010
146 item: End Block
148 item: Compiler Variable End
150 item: Compiler Variable End
152 item: Compiler Variable If
153   Variable=_LANG_LIST_
154   Value=F
155   Flags=00000010
157 item: Compiler Variable If
158   Value=%_WISE_%\LANGUAGE\UNWISE.PTG
159   Flags=00000011
161 item: If/While Statement
162   Variable=LANG
163   Value=%_LANG_F_NAME_%
165 item: Install File
166   Source=%_WISE_%\LANGUAGE\UNWISE.PTG
167   Destination=%UNINSTALL_LANG%
168   Flags=0000000000000010
170 item: End Block
172 item: Compiler Variable End
174 item: Compiler Variable End
176 item: Compiler Variable If
177   Variable=_LANG_LIST_
178   Value=G
179   Flags=00000010
181 item: Compiler Variable If
182   Value=%_WISE_%\LANGUAGE\UNWISE.ESP
183   Flags=00000011
185 item: If/While Statement
186   Variable=LANG
187   Value=%_LANG_G_NAME_%
189 item: Install File
190   Source=%_WISE_%\LANGUAGE\UNWISE.ESP
191   Destination=%UNINSTALL_LANG%
192   Flags=0000000000000010
194 item: End Block
196 item: Compiler Variable End
198 item: Compiler Variable End
200 item: Compiler Variable If
201   Variable=_LANG_LIST_
202   Value=H
203   Flags=00000010
205 item: Compiler Variable If
206   Value=%_WISE_%\LANGUAGE\UNWISE.ESP
207   Flags=00000011
209 item: If/While Statement
210   Variable=LANG
211   Value=%_LANG_H_NAME_%
213 item: Install File
214   Source=%_WISE_%\LANGUAGE\UNWISE.ESP
215   Destination=%UNINSTALL_LANG%
216   Flags=0000000000000010
218 item: End Block
220 item: Compiler Variable End
222 item: Compiler Variable End
224 item: Compiler Variable If
225   Variable=_LANG_LIST_
226   Value=I
227   Flags=00000010
229 item: Compiler Variable If
230   Value=%_WISE_%\LANGUAGE\UNWISE.ITA
231   Flags=00000011
233 item: If/While Statement
234   Variable=LANG
235   Value=%_LANG_I_NAME_%
237 item: Install File
238   Source=%_WISE_%\LANGUAGE\UNWISE.ITA
239   Destination=%UNINSTALL_LANG%
240   Flags=0000000000000010
242 item: End Block
244 item: Compiler Variable End
246 item: Compiler Variable End
248 item: Compiler Variable If
249   Variable=_LANG_LIST_
250   Value=J
251   Flags=00000010
253 item: Compiler Variable If
254   Value=%_WISE_%\LANGUAGE\UNWISE.DAN
255   Flags=00000011
257 item: If/While Statement
258   Variable=LANG
259   Value=%_LANG_J_NAME_%
261 item: Install File
262   Source=%_WISE_%\LANGUAGE\UNWISE.DAN
263   Destination=%UNINSTALL_LANG%
264   Flags=0000000000000010
266 item: End Block
268 item: Compiler Variable End
270 item: Compiler Variable End
272 item: Compiler Variable If
273   Variable=_LANG_LIST_
274   Value=K
275   Flags=00000010
277 item: Compiler Variable If
278   Value=%_WISE_%\LANGUAGE\UNWISE.FIN
279   Flags=00000011
281 item: If/While Statement
282   Variable=LANG
283   Value=%_LANG_K_NAME_%
285 item: Install File
286   Source=%_WISE_%\LANGUAGE\UNWISE.FIN
287   Destination=%UNINSTALL_LANG%
288   Flags=0000000000000010
290 item: End Block
292 item: Compiler Variable End
294 item: Compiler Variable End
296 item: Compiler Variable If
297   Variable=_LANG_LIST_
298   Value=L
299   Flags=00000010
301 item: Compiler Variable If
302   Value=%_WISE_%\LANGUAGE\UNWISE.ISL
303   Flags=00000011
305 item: If/While Statement
306   Variable=LANG
307   Value=%_LANG_L_NAME_%
309 item: Install File
310   Source=%_WISE_%\LANGUAGE\UNWISE.ISL
311   Destination=%UNINSTALL_LANG%
312   Flags=0000000000000010
314 item: End Block
316 item: Compiler Variable End
318 item: Compiler Variable End
320 item: Compiler Variable If
321   Variable=_LANG_LIST_
322   Value=M
323   Flags=00000010
325 item: Compiler Variable If
326   Value=%_WISE_%\LANGUAGE\UNWISE.NLD
327   Flags=00000011
329 item: If/While Statement
330   Variable=LANG
331   Value=%_LANG_M_NAME_%
333 item: Install File
334   Source=%_WISE_%\LANGUAGE\UNWISE.NLD
335   Destination=%UNINSTALL_LANG%
336   Flags=0000000000000010
338 item: End Block
340 item: Compiler Variable End
342 item: Compiler Variable End
344 item: Compiler Variable If
345   Variable=_LANG_LIST_
346   Value=N
347   Flags=00000010
349 item: Compiler Variable If
350   Value=%_WISE_%\LANGUAGE\UNWISE.NOR
351   Flags=00000011
353 item: If/While Statement
354   Variable=LANG
355   Value=%_LANG_N_NAME_%
357 item: Install File
358   Source=%_WISE_%\LANGUAGE\UNWISE.NOR
359   Destination=%UNINSTALL_LANG%
360   Flags=0000000000000010
362 item: End Block
364 item: Compiler Variable End
366 item: Compiler Variable End
368 item: Compiler Variable If
369   Variable=_LANG_LIST_
370   Value=O
371   Flags=00000010
373 item: Compiler Variable If
374   Value=%_WISE_%\LANGUAGE\UNWISE.SVE
375   Flags=00000011
377 item: If/While Statement
378   Variable=LANG
379   Value=%_LANG_O_NAME_%
381 item: Install File
382   Source=%_WISE_%\LANGUAGE\UNWISE.SVE
383   Destination=%UNINSTALL_LANG%
384   Flags=0000000000000010
386 item: End Block
388 item: Compiler Variable End
390 item: Compiler Variable End
392 item: Compiler Variable If
393   Variable=_LANG_LIST_
394   Value=P
395   Flags=00000010
397 item: Compiler Variable If
398   Value=%_WISE_%\LANGUAGE\UNWISE.JPN
399   Flags=00000011
401 item: If/While Statement
402   Variable=LANG
403   Value=%_LANG_P_NAME_%
405 item: Install File
406   Source=%_WISE_%\LANGUAGE\UNWISE.JPN
407   Destination=%UNINSTALL_LANG%
408   Flags=0000000000000010
410 item: End Block
412 item: Compiler Variable End
414 item: Compiler Variable End
416 item: Remark
418 item: Remark
419   Text=     Install the add/remove or uninstall icon
421 item: Remark
423 item: Set Variable
424   Variable=UNINSTALL_PATH
425   Value=%UNINSTALL_PATH%
426   Flags=00010100
428 item: Set Variable
429   Variable=INST_LOG_PATH
430   Value=%_LOGFILE_PATH_%
431   Flags=00010100
433 item: Check Configuration
434   Flags=10111011
436 item: If/While Statement
437   Variable=DOADMIN
438   Value=1
440 item: Remark
441   Text=Write uninstall info under HKLM.  This if/else/end block added by Tim.
443 item: Edit Registry
444   Total Keys=1
445   Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
446   New Value=%APPTITLE%
447   Value Name=DisplayName
448   Root=2
450 item: Edit Registry
451   Total Keys=1
452   Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
453   New Value=%UNINSTALL_PATH% %INST_LOG_PATH%
454   New Value=
455   Value Name=UninstallString
456   Root=2
458 item: Else Statement
460 item: Remark
461   Text=The same, but write under HKCU instead.
463 item: Edit Registry
464   Total Keys=1
465   Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
466   New Value=%APPTITLE%
467   Value Name=DisplayName
468   Root=1
470 item: Edit Registry
471   Total Keys=1
472   Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
473   New Value=%UNINSTALL_PATH% %INST_LOG_PATH%
474   New Value=
475   Value Name=UninstallString
476   Root=1
478 item: End Block
480 item: Else Statement
482 item: Add ProgMan Icon
483   Group=%GROUP%
484   Icon Name=Uninstall %APPTITLE%
485   Command Line=%UNINSTALL_PATH% %INST_LOG_PATH%
487 item: End Block
489 item: Check Configuration
490   Flags=11110010
492 item: If/While Statement
493   Variable=DOBRAND
494   Value=1
496 item: Edit Registry
497   Total Keys=2
498   item: Key
499     Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
500     New Value=%COMPANY%
501     Value Name=RegCompany
502     Root=2
503   end
504   item: Key
505     Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\%APPTITLE%
506     New Value=%NAME%
507     Value Name=RegOwner
508     Root=2
509   end
511 item: End Block
513 item: End Block