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 101 end 102 item: Compiler Variable End 103 end 104 item: Compiler Variable If 105 Variable=_LANG_LIST_ 106 Value=D 107 Flags=00000010 108 end 109 item: Compiler Variable If 110 Value=%_WISE_%\LANGUAGE\UNWISE.FRA 111 Flags=00000011 112 end 113 item: If/While Statement 114 Variable=LANG 115 Value=%_LANG_D_NAME_% 116 end 117 item: Install File 118 Source=%_WISE_%\LANGUAGE\UNWISE.FRA 119 Destination=%UNINSTALL_LANG% 120 Flags=0000000000000010 121 end 122 item: End Block 123 end 124 item: Compiler Variable End 125 end 126 item: Compiler Variable End 127 end 128 item: Compiler Variable If 129 Variable=_LANG_LIST_ 130 Value=E 131 Flags=00000010 132 end 133 item: Compiler Variable If 134 Value=%_WISE_%\LANGUAGE\UNWISE.DEU 135 Flags=00000011 136 end 137 item: If/While Statement 138 Variable=LANG 139 Value=%_LANG_E_NAME_% 140 end 141 item: Install File 142 Source=%_WISE_%\LANGUAGE\UNWISE.DEU 143 Destination=%UNINSTALL_LANG% 144 Flags=0000000000000010 145 end 146 item: End Block 147 end 148 item: Compiler Variable End 149 end 150 item: Compiler Variable End 151 end 152 item: Compiler Variable If 153 Variable=_LANG_LIST_ 154 Value=F 155 Flags=00000010 156 end 157 item: Compiler Variable If 158 Value=%_WISE_%\LANGUAGE\UNWISE.PTG 159 Flags=00000011 160 end 161 item: If/While Statement 162 Variable=LANG 163 Value=%_LANG_F_NAME_% 164 end 165 item: Install File 166 Source=%_WISE_%\LANGUAGE\UNWISE.PTG 167 Destination=%UNINSTALL_LANG% 168 Flags=0000000000000010 169 end 170 item: End Block 171 end 172 item: Compiler Variable End 173 end 174 item: Compiler Variable End 175 end 176 item: Compiler Variable If 177 Variable=_LANG_LIST_ 178 Value=G 179 Flags=00000010 180 end 181 item: Compiler Variable If 182 Value=%_WISE_%\LANGUAGE\UNWISE.ESP 183 Flags=00000011 184 end 185 item: If/While Statement 186 Variable=LANG 187 Value=%_LANG_G_NAME_% 188 end 189 item: Install File 190 Source=%_WISE_%\LANGUAGE\UNWISE.ESP 191 Destination=%UNINSTALL_LANG% 192 Flags=0000000000000010 193 end 194 item: End Block 195 end 196 item: Compiler Variable End 197 end 198 item: Compiler Variable End 199 end 200 item: Compiler Variable If 201 Variable=_LANG_LIST_ 202 Value=H 203 Flags=00000010 204 end 205 item: Compiler Variable If 206 Value=%_WISE_%\LANGUAGE\UNWISE.ESP 207 Flags=00000011 208 end 209 item: If/While Statement 210 Variable=LANG 211 Value=%_LANG_H_NAME_% 212 end 213 item: Install File 214 Source=%_WISE_%\LANGUAGE\UNWISE.ESP 215 Destination=%UNINSTALL_LANG% 216 Flags=0000000000000010 217 end 218 item: End Block 219 end 220 item: Compiler Variable End 221 end 222 item: Compiler Variable End 223 end 224 item: Compiler Variable If 225 Variable=_LANG_LIST_ 226 Value=I 227 Flags=00000010 228 end 229 item: Compiler Variable If 230 Value=%_WISE_%\LANGUAGE\UNWISE.ITA 231 Flags=00000011 232 end 233 item: If/While Statement 234 Variable=LANG 235 Value=%_LANG_I_NAME_% 236 end 237 item: Install File 238 Source=%_WISE_%\LANGUAGE\UNWISE.ITA 239 Destination=%UNINSTALL_LANG% 240 Flags=0000000000000010 241 end 242 item: End Block 243 end 244 item: Compiler Variable End 245 end 246 item: Compiler Variable End 247 end 248 item: Compiler Variable If 249 Variable=_LANG_LIST_ 250 Value=J 251 Flags=00000010 252 end 253 item: Compiler Variable If 254 Value=%_WISE_%\LANGUAGE\UNWISE.DAN 255 Flags=00000011 256 end 257 item: If/While Statement 258 Variable=LANG 259 Value=%_LANG_J_NAME_% 260 end 261 item: Install File 262 Source=%_WISE_%\LANGUAGE\UNWISE.DAN 263 Destination=%UNINSTALL_LANG% 264 Flags=0000000000000010 265 end 266 item: End Block 267 end 268 item: Compiler Variable End 269 end 270 item: Compiler Variable End 271 end 272 item: Compiler Variable If 273 Variable=_LANG_LIST_ 274 Value=K 275 Flags=00000010 276 end 277 item: Compiler Variable If 278 Value=%_WISE_%\LANGUAGE\UNWISE.FIN 279 Flags=00000011 280 end 281 item: If/While Statement 282 Variable=LANG 283 Value=%_LANG_K_NAME_% 284 end 285 item: Install File 286 Source=%_WISE_%\LANGUAGE\UNWISE.FIN 287 Destination=%UNINSTALL_LANG% 288 Flags=0000000000000010 289 end 290 item: End Block 291 end 292 item: Compiler Variable End 293 end 294 item: Compiler Variable End 295 end 296 item: Compiler Variable If 297 Variable=_LANG_LIST_ 298 Value=L 299 Flags=00000010 300 end 301 item: Compiler Variable If 302 Value=%_WISE_%\LANGUAGE\UNWISE.ISL 303 Flags=00000011 304 end 305 item: If/While Statement 306 Variable=LANG 307 Value=%_LANG_L_NAME_% 308 end 309 item: Install File 310 Source=%_WISE_%\LANGUAGE\UNWISE.ISL 311 Destination=%UNINSTALL_LANG% 312 Flags=0000000000000010 313 end 314 item: End Block 315 end 316 item: Compiler Variable End 317 end 318 item: Compiler Variable End 319 end 320 item: Compiler Variable If 321 Variable=_LANG_LIST_ 322 Value=M 323 Flags=00000010 324 end 325 item: Compiler Variable If 326 Value=%_WISE_%\LANGUAGE\UNWISE.NLD 327 Flags=00000011 328 end 329 item: If/While Statement 330 Variable=LANG 331 Value=%_LANG_M_NAME_% 332 end 333 item: Install File 334 Source=%_WISE_%\LANGUAGE\UNWISE.NLD 335 Destination=%UNINSTALL_LANG% 336 Flags=0000000000000010 337 end 338 item: End Block 339 end 340 item: Compiler Variable End 341 end 342 item: Compiler Variable End 343 end 344 item: Compiler Variable If 345 Variable=_LANG_LIST_ 346 Value=N 347 Flags=00000010 348 end 349 item: Compiler Variable If 350 Value=%_WISE_%\LANGUAGE\UNWISE.NOR 351 Flags=00000011 352 end 353 item: If/While Statement 354 Variable=LANG 355 Value=%_LANG_N_NAME_% 356 end 357 item: Install File 358 Source=%_WISE_%\LANGUAGE\UNWISE.NOR 359 Destination=%UNINSTALL_LANG% 360 Flags=0000000000000010 361 end 362 item: End Block 363 end 364 item: Compiler Variable End 365 end 366 item: Compiler Variable End 367 end 368 item: Compiler Variable If 369 Variable=_LANG_LIST_ 370 Value=O 371 Flags=00000010 372 end 373 item: Compiler Variable If 374 Value=%_WISE_%\LANGUAGE\UNWISE.SVE 375 Flags=00000011 376 end 377 item: If/While Statement 378 Variable=LANG 379 Value=%_LANG_O_NAME_% 380 end 381 item: Install File 382 Source=%_WISE_%\LANGUAGE\UNWISE.SVE 383 Destination=%UNINSTALL_LANG% 384 Flags=0000000000000010 385 end 386 item: End Block 387 end 388 item: Compiler Variable End 389 end 390 item: Compiler Variable End 391 end 392 item: Compiler Variable If 393 Variable=_LANG_LIST_ 394 Value=P 395 Flags=00000010 396 end 397 item: Compiler Variable If 398 Value=%_WISE_%\LANGUAGE\UNWISE.JPN 399 Flags=00000011 400 end 401 item: If/While Statement 402 Variable=LANG 403 Value=%_LANG_P_NAME_% 404 end 405 item: Install File 406 Source=%_WISE_%\LANGUAGE\UNWISE.JPN 407 Destination=%UNINSTALL_LANG% 408 Flags=0000000000000010 409 end 410 item: End Block 411 end 412 item: Compiler Variable End 413 end 414 item: Compiler Variable End 415 end 416 item: Remark 417 end 418 item: Remark 419 Text= Install the add/remove or uninstall icon 420 end 421 item: Remark 422 end 423 item: Set Variable 424 Variable=UNINSTALL_PATH 425 Value=%UNINSTALL_PATH% 426 Flags=00010100 427 end 428 item: Set Variable 429 Variable=INST_LOG_PATH 430 Value=%_LOGFILE_PATH_% 431 Flags=00010100 432 end 433 item: Check Configuration 434 Flags=10111011 435 end 436 item: If/While Statement 437 Variable=DOADMIN 438 Value=1 439 end 440 item: Remark 441 Text=Write uninstall info under HKLM. This if/else/end block added by Tim. 442 end 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 449 end 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 457 end 458 item: Else Statement 459 end 460 item: Remark 461 Text=The same, but write under HKCU instead. 462 end 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 469 end 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 477 end 478 item: End Block 479 end 480 item: Else Statement 481 end 482 item: Add ProgMan Icon 483 Group=%GROUP% 484 Icon Name=Uninstall %APPTITLE% 485 Command Line=%UNINSTALL_PATH% %INST_LOG_PATH% 486 end 487 item: End Block 488 end 489 item: Check Configuration 490 Flags=11110010 491 end 492 item: If/While Statement 493 Variable=DOBRAND 494 Value=1 495 end 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 510 end 511 item: End Block 512 end 513 item: End Block 514 end 515