XEmacs 21.4.17 "Jumbo Shrimp".
[chise/xemacs-chise.git.1] / nt / installer / Wise / xemacs.tmpl
1 Document Type: WSE
2 item: Global
3   Version=7.0
4   Title=<<<version.title + " Installation">>>
5   Flags=00000100
6   Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
7   Japanese Font Name=MS Gothic
8   Japanese Font Size=10
9   Progress Bar DLL=%_WISE_%\Progress\WIZ%_EXE_OS_TYPE_%.DLL
10   Start Gradient=0 0 255
11   End Gradient=0 0 0
12   Windows Flags=00000100000000010010110000001000
13   Log Pathname=%MAINDIR%\INSTALL.LOG
14   Message Font=MS Sans Serif
15   Font Size=8
16   Disk Filename=SETUP
17   Patch Flags=0000000000000001
18   Patch Threshold=85
19   Patch Memory=4000
20   FTP Cluster Size=20
21   Dialogs Version=6
22   Variable Name1=_SYS_
23   Variable Default1=C:\WINDOWS\SYSTEM
24   Variable Flags1=00001000
25   Variable Name2=_WISE_
26   Variable Default2=C:\PROGRAM FILES\WISE INSTALLBUILDER
27   Variable Flags2=00001000
28 end
29 item: Get Temporary Filename
30   Variable=READMEFILE
31 end
32 item: Install File
33   Source=<<<dirs.source>>>\nt\Wise\Copying.txt
34   Destination=%TEMP%\%READMEFILE%
35   Flags=0000000000100010
36 end
37 item: Open/Close INSTALL.LOG
38   Flags=00000001
39 end
40 item: Check if File/Dir Exists
41   Pathname=%SYS%
42   Flags=10000100
43 end
44 item: Set Variable
45   Variable=SYS
46   Value=%WIN%
47 end
48 item: End Block
49 end
50 item: Set Variable
51   Variable=APPTITLE
52   Value=<<<version.title>>>
53   Flags=10000000
54 end
55 item: Set Variable
56   Variable=GROUP
57   Value=XEmacs
58   Flags=10000000
59 end
60 item: Set Variable
61   Variable=DISABLED
62   Value=!
63 end
64 item: Set Variable
65   Variable=MAINDIR
66   Value=XEmacs
67   Flags=10000000
68 end
69 item: Check Configuration
70   Flags=10111011
71 end
72 item: Get Registry Key Value
73   Variable=COMMON
74   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
75   Default=C:\Program Files\Common Files
76   Value Name=CommonFilesDir
77   Flags=00000100
78 end
79 item: Get Registry Key Value
80   Variable=PROGRAM_FILES
81   Key=SOFTWARE\Microsoft\Windows\CurrentVersion
82   Default=C:\Program Files
83   Value Name=ProgramFilesDir
84   Flags=00000100
85 end
86 item: Set Variable
87   Variable=MAINDIR
88   Value=%PROGRAM_FILES%\%MAINDIR%
89   Flags=00001100
90 end
91 item: Set Variable
92   Variable=EXPLORER
93   Value=1
94 end
95 item: Else Statement
96 end
97 item: Set Variable
98   Variable=MAINDIR
99   Value=C:\%MAINDIR%
100   Flags=00001100
101 end
102 item: End Block
103 end
104 item: Set Variable
105   Variable=BACKUP
106   Value=%MAINDIR%\BACKUP
107   Flags=10000000
108 end
109 item: Set Variable
110   Variable=DOBACKUP
111   Value=B
112   Flags=10000000
113 end
114 item: Set Variable
115   Variable=COMPONENTS
116   Value=ACE
117   Flags=10000000
118 end
119 <<<set_category_defaults()>>>
120 item: Wizard Block
121   Direction Variable=DIRECTION
122   Display Variable=DISPLAY
123   Bitmap Pathname=<<<dirs.source>>>\nt\Wise\gnu.bmp
124   X Position=9
125   Y Position=10
126   Filler Color=8421440
127   Dialog=Select Program Manager Group
128   Dialog=Select Backup Directory
129   Dialog=Display Registration Information
130   Dialog=Get Registration Information
131   Variable=EXPLORER
132   Variable=DOBACKUP
133   Variable=DOBRAND
134   Variable=DOBRAND
135   Value=1
136   Value=A
137   Value=1
138   Value=1
139   Compare=0
140   Compare=1
141   Compare=0
142   Compare=1
143   Flags=00000011
144 end
145 item: Custom Dialog Set
146   Name=Welcome
147   Display Variable=DISPLAY
148   item: Dialog
149     Title=Welcome
150     Title French=Bienvenue
151     Title German=Willkommen
152     Title Portuguese=Bem-vindo 
153     Title Spanish=Bienvenido
154     Title Italian=Benvenuto
155     Title Danish=Velkommen
156     Title Dutch=Welkom
157     Title Norwegian=Velkommen
158     Title Swedish=Välkommen
159     Width=280
160     Height=224
161     Font Name=Helv
162     Font Size=8
163     item: Push Button
164       Rectangle=172 185 214 199
165       Variable=DIRECTION
166       Value=N
167       Create Flags=01010000000000010000000000000001
168       Text=&Next >
169       Text French=&Suivant>
170       Text German=&Weiter>
171       Text Portuguese=&Próximo>
172       Text Spanish=&Siguiente >
173       Text Italian=&Avanti >
174       Text Danish=&Næste>
175       Text Dutch=&Volgende>
176       Text Norwegian=&Neste>
177       Text Swedish=&Nästa >
178     end
179     item: Push Button
180       Rectangle=222 185 264 199
181       Action=3
182       Create Flags=01010000000000010000000000000000
183       Text=Cancel
184       Text French=Annuler
185       Text German=Abbrechen
186       Text Portuguese=Cancelar
187       Text Spanish=Cancelar
188       Text Italian=Annulla
189       Text Danish=Annuller
190       Text Dutch=Annuleren
191       Text Norwegian=Avbryt
192       Text Swedish=Avbryt
193     end
194     item: Static
195       Rectangle=9 177 263 178
196       Action=3
197       Create Flags=01010000000000000000000000000111
198     end
199     item: Static
200       Rectangle=91 22 245 118
201       Enabled Color=00000000000000001111111111111111
202       Create Flags=01010000000000000000000000000000
203       Text=<<<version.welcome>>>
204     end
205   end
206 end
207 item: Custom Dialog Set
208   Name=Display ReadMe
209   Display Variable=DISPLAY
210   item: Dialog
211     Title=Read Me File
212     Title French=Fichier Lisez-moi
213     Title German=Liesmich-Datei
214     Title Portuguese=Ficheiro Leia-me
215     Title Spanish=Archivo Léeme
216     Title Italian=File Leggimi
217     Title Danish=Vigtigt fil
218     Title Dutch=Leesmij-bestand
219     Title Norwegian=Informasjonsfil
220     Title Swedish=Läs mig-fil
221     Width=280
222     Height=224
223     Font Name=Helv
224     Font Size=8
225     item: Push Button
226       Rectangle=172 185 214 199
227       Variable=DIRECTION
228       Value=N
229       Create Flags=01010000000000010000000000000001
230       Text=I &Agree >
231       Text French=&Suivant>
232       Text German=&Weiter>
233       Text Portuguese=&Próximo>
234       Text Spanish=&Siguiente >
235       Text Italian=&Avanti >
236       Text Danish=&Næste>
237       Text Dutch=&Volgende>
238       Text Norwegian=&Neste>
239       Text Swedish=&Nästa >
240     end
241     item: Push Button
242       Rectangle=222 185 264 199
243       Action=3
244       Create Flags=01010000000000010000000000000000
245       Text=Cancel
246       Text French=Annuler
247       Text German=Abbrechen
248       Text Portuguese=Cancelar
249       Text Spanish=Cancelar
250       Text Italian=Annulla
251       Text Danish=Slet
252       Text Dutch=Annuleren
253       Text Norwegian=Avbryt
254       Text Swedish=Avbryt
255     end
256     item: Static
257       Rectangle=9 177 263 178
258       Action=3
259       Create Flags=01010000000000000000000000000111
260     end
261     item: Editbox
262       Rectangle=85 11 254 170
263       Value=%TEMP%\%READMEFILE%
264       Help Context=16711681
265       Create Flags=01010000101000000000100000000100
266     end
267   end
268 end
269 item: Custom Dialog Set
270   Name=Select Destination Directory
271   Display Variable=DISPLAY
272   item: Dialog
273     Title=Choose Destination Location
274     Title French=Choisissez la localisation de destination
275     Title German=Zielpfad wählen
276     Title Portuguese=Escolher Local de Destino
277     Title Spanish=Elegir una localización de destino
278     Title Italian=Scegli Posizione di Destinazione
279     Title Danish=Vælg destinationsmappe
280     Title Dutch=Kies doellocatie
281     Title Norwegian=Velg målplassering
282     Title Swedish=Välj ställe för installationen
283     Width=280
284     Height=224
285     Font Name=Helv
286     Font Size=8
287     item: Push Button
288       Rectangle=172 185 214 199
289       Variable=DIRECTION
290       Value=N
291       Create Flags=01010000000000010000000000000001
292       Text=&Next >
293       Text French=&Suivant>
294       Text German=&Weiter>
295       Text Portuguese=&Próximo>
296       Text Spanish=&Siguiente >
297       Text Italian=&Avanti >
298       Text Danish=&Næste>
299       Text Dutch=&Volgende>
300       Text Norwegian=&Neste>
301       Text Swedish=&Nästa >
302     end
303     item: Push Button
304       Rectangle=130 185 172 199
305       Variable=DIRECTION
306       Value=B
307       Create Flags=01010000000000010000000000000000
308       Flags=0000000000000001
309       Text=< &Back
310       Text French=<&Retour
311       Text German=<&Zurück
312       Text Portuguese=<&Retornar
313       Text Spanish=<&Retroceder
314       Text Italian=< &Indietro
315       Text Danish=<&Tilbage
316       Text Dutch=<&Terug
317       Text Norwegian=<&Tilbake
318       Text Swedish=< &Tillbaka
319     end
320     item: Push Button
321       Rectangle=222 185 264 199
322       Action=3
323       Create Flags=01010000000000010000000000000000
324       Text=Cancel
325       Text French=Annuler
326       Text German=Abbrechen
327       Text Portuguese=Cancelar
328       Text Spanish=Cancelar
329       Text Italian=Annulla
330       Text Danish=Annuller
331       Text Dutch=Annuleren
332       Text Norwegian=Avbryt
333       Text Swedish=Avbryt
334     end
335     item: Static
336       Rectangle=9 177 263 178
337       Action=3
338       Create Flags=01010000000000000000000000000111
339     end
340     item: Static
341       Rectangle=90 10 260 122
342       Create Flags=01010000000000000000000000000000
343       Text=Setup will install %APPTITLE% in the following folder.
344       Text=
345       Text=To install into a different folder, click Browse, and select another folder. 
346       Text=
347       Text=You can choose not to install %APPTITLE% by clicking Cancel to exit Setup.
348       Text French=%APPTITLE% va être installé dans le répertoire ci-dessous
349       Text French=
350       Text French=Pour l'installer dans un répertoire différent, cliquez sur Parcourir et sélectionnez un autre répertoire
351       Text French=
352       Text French=Vous pouvez choisir de ne pas installer %APPTITLE% en cliquant sur Annuler pour quitter l'Installation
353       Text German=Installation speichert %APPTITLE% im unten angegebenen Ordner:
354       Text German=
355       Text German=Zur Installation in einem anderen Ordner auf Blättern klicken und einen anderen Ordner wählen.
356       Text German=
357       Text German=Wenn Sie %APPTITLE% nicht installieren möchten, können Sie durch Klicken auf Abbrechen die Installation beenden.
358       Text Portuguese=Configuração instalará %APPTITLE% na seguinte pasta
359       Text Portuguese=
360       Text Portuguese=Para instalar numa pasta diferente, faça um clique sobre Procurar, e seleccione uma outra pasta.
361       Text Portuguese=
362       Text Portuguese=Pode escolher não instalar %APPTITLE% clicando no botão Cancelar para sair da Configuração
363       Text Spanish=El programa de Configuración instalará %APPTITLE% en la siguiente carpeta.
364       Text Spanish=
365       Text Spanish=Para instalar en una carpeta diferente, haga un clic en Visualizar, y seleccione otra carpeta.
366       Text Spanish=
367       Text Spanish=Puede elegir no instalar %APPTITLE% haciendo un clic en Cancelar para salir de Configuración.
368       Text Italian=Il programma di installazione installerà %APPTITLE% nella seguente cartella.
369       Text Italian=
370       Text Italian=Per effettuare l\92installazione in una cartella diversa, fai clic su Sfoglia, e scegli un\92altra cartella.
371       Text Italian=
372       Text Italian=Puoi scegliere di non installare %APPTITLE% facendo clic su Annulla per uscire dal programma di installazione
373       Text Danish=Installationsprogrammet installerer %APPTITLE% i denne mappe.
374       Text Danish=
375       Text Danish=Man installerer i en anden mappe ved at klikke på Browse og vælge en anden mappe.
376       Text Danish=
377       Text Danish=Man kan vælge ikke at installere %APPTITLE% ved at klikke på Slet og forlade installationsprogrammet.
378       Text Dutch=Het installatieprogramma installeert %APPTITLE% in de volgende directory.
379       Text Dutch=
380       Text Dutch=Als u het in een andere directory wilt installeren, klik dan op Bladeren en kies een andere locatie.
381       Text Dutch=
382       Text Dutch=U kunt ervoor kiezen om %APPTITLE% niet te installeren: klik op Annuleren om het installatieprogramma te verlaten.
383       Text Norwegian=Oppsett vil installere %APPTITLE% i følgende mappe.
384       Text Norwegian=
385       Text Norwegian=For å installere i en annen mappe, klikk Bla igjennom og velg en annen mappe.
386       Text Norwegian=
387       Text Norwegian=Du kan velge å ikke installere %APPTITLE% ved å velge Avbryt for å gå ut av Oppsett.
388       Text Swedish=Installationsprogrammet installerar %APPTITLE% i följande mapp.
389       Text Swedish=
390       Text Swedish=Om du vill att installationen ska göras i en annan mapp, klickar du på Bläddra och väljer en annan mapp.
391       Text Swedish=
392       Text Swedish=Du kan välja att inte installera %APPTITLE% genom att klicka på Avbryt för att lämna installationsprogrammet.
393     end
394     item: Static
395       Rectangle=90 134 260 162
396       Action=1
397       Create Flags=01010000000000000000000000000111
398       Text=Destination Folder
399       Text French=Répertoire de destination
400       Text German=Zielordner
401       Text Portuguese=Pasta de Destino
402       Text Spanish=Carpeta de Destino
403       Text Italian=Cartella di destinazione
404       Text Danish=Destinationsmappe
405       Text Dutch=Doeldirectory
406       Text Norwegian=Målmappe
407       Text Swedish=Destinationsmapp
408     end
409     item: Push Button
410       Rectangle=213 143 255 157
411       Variable=MAINDIR_SAVE
412       Value=%MAINDIR%
413       Destination Dialog=1
414       Action=2
415       Create Flags=01010000000000010000000000000000
416       Text=B&rowse...
417       Text French=P&arcourir
418       Text German=B&lättern...
419       Text Portuguese=P&rocurar
420       Text Spanish=V&isualizar...
421       Text Italian=Sfoglia...
422       Text Danish=&Gennemse...
423       Text Dutch=B&laderen...
424       Text Norwegian=Bla igjennom
425       Text Swedish=&Bläddra
426     end
427     item: Static
428       Rectangle=95 146 211 157
429       Destination Dialog=2
430       Create Flags=01010000000000000000000000000000
431       Text=%MAINDIR%
432       Text French=%MAINDIR%
433       Text German=%MAINDIR%
434       Text Portuguese=%MAINDIR%
435       Text Spanish=%MAINDIR%
436       Text Italian=%MAINDIR%
437       Text Danish=%MAINDIR%
438       Text Dutch=%MAINDIR%
439       Text Norwegian=%MAINDIR%
440       Text Swedish=%MAINDIR%
441     end
442   end
443   item: Dialog
444     Title=Select Destination Directory
445     Title French=Choisissez le répertoire de destination
446     Title German=Zielverzeichnis wählen
447     Title Portuguese=Seleccionar Directório de Destino
448     Title Spanish=Seleccione el Directorio de Destino
449     Title Italian=Seleziona Directory di destinazione
450     Title Danish=Vælg Destinationsbibliotek
451     Title Dutch=Kies doeldirectory
452     Title Norwegian=Velg målkatalog
453     Title Swedish=Välj destinationskalatog
454     Width=221
455     Height=173
456     Font Name=Helv
457     Font Size=8
458     item: Listbox
459       Rectangle=5 2 160 149
460       Variable=MAINDIR
461       Create Flags=01010000100000010000000101000000
462       Flags=0000110000100010
463       Text=%MAINDIR%
464       Text French=%MAINDIR%
465       Text German=%MAINDIR%
466       Text Portuguese=%MAINDIR%
467       Text Spanish=%MAINDIR%
468       Text Italian=%MAINDIR%
469       Text Danish=%MAINDIR%
470       Text Dutch=%MAINDIR%
471       Text Norwegian=%MAINDIR%
472       Text Swedish=%MAINDIR%
473     end
474     item: Push Button
475       Rectangle=167 6 212 21
476       Create Flags=01010000000000010000000000000001
477       Text=OK
478       Text French=OK
479       Text German=OK
480       Text Portuguese=OK
481       Text Spanish=ACEPTAR
482       Text Italian=OK
483       Text Danish=OK
484       Text Dutch=OK
485       Text Norwegian=OK
486       Text Swedish=OK
487     end
488     item: Push Button
489       Rectangle=167 25 212 40
490       Variable=MAINDIR
491       Value=%MAINDIR_SAVE%
492       Create Flags=01010000000000010000000000000000
493       Flags=0000000000000001
494       Text=Cancel
495       Text French=Annuler
496       Text German=Abbrechen 
497       Text Portuguese=Cancelar
498       Text Spanish=Cancelar
499       Text Italian=Annulla
500       Text Danish=Slet
501       Text Dutch=Annuleren
502       Text Norwegian=Avbryt
503       Text Swedish=Avbryt
504     end
505   end
506 end
507 item: Custom Dialog Set
508   Name=Select Packages
509   Display Variable=DISPLAY
510   item: Dialog
511     Title=Select Packages
512     Width=271
513     Height=224
514     Font Name=Helv
515     Font Size=8
516     item: Push Button
517       Rectangle=150 187 195 202
518       Variable=DIRECTION
519       Value=N
520       Create Flags=01010000000000010000000000000001
521       Text=&Next >
522       Text French=&Suite >
523       Text German=&Weiter >
524       Text Spanish=&Siguiente >
525       Text Italian=&Avanti >
526     end
527     item: Push Button
528       Rectangle=105 187 150 202
529       Variable=DIRECTION
530       Value=B
531       Create Flags=01010000000000010000000000000000
532       Text=< &Back
533       Text French=< &Retour
534       Text German=< &Zurück
535       Text Spanish=< &Atrás
536       Text Italian=< &Indietro
537     end
538     item: Push Button
539       Rectangle=211 187 256 202
540       Action=3
541       Create Flags=01010000000000010000000000000000
542       Text=&Cancel
543       Text French=&Annuler
544       Text German=&Abbrechen
545       Text Spanish=&Cancelar
546       Text Italian=&Annulla
547     end
548     item: Static
549       Rectangle=8 180 256 181
550       Action=3
551       Create Flags=01010000000000000000000000000111
552     end
553     item: Static
554       Rectangle=86 8 258 28
555       Create Flags=01010000000000000000000000000000
556       Flags=0000000000000001
557       Name=Times New Roman
558       Font Style=-24 0 0 0 700 255 0 0 0 3 2 1 18
559       Text=Select Packages
560       Text French=Sélectionner les composants
561       Text German=Komponenten auswählen
562       Text Spanish=Seleccione componentes
563       Text Italian=Selezionare i componenti
564     end
565     item: Checkbox
566       Rectangle=83 62 211 146
567       Variable=COMPONENTS LIBS,COMM,OA,OS,PROG,WP,GAMES
568       Create Flags=01010000000000010000000000000011
569       Flags=0000000000000110
570       Text=Libraries
571       Text=Communication
572       Text=Productivity
573       Text=Operating System
574       Text=Programming
575       Text=Word Processing
576       Text=Games and Amusements
577       Text=
578     end
579     item: Static
580       Rectangle=194 162 242 172
581       Variable=COMPONENTS, LIBS, COMM, OA, OS, PROG, WP, GAMES
582       Value=MAINDIR
583       Create Flags=01010000000000000000000000000010
584     end
585     item: Static
586       Rectangle=194 153 242 162
587       Variable=COMPONENTS, LIBS, COMM, OA, OS, PROG, WP, GAMES
588       Create Flags=01010000000000000000000000000010
589     end
590     item: Static
591       Rectangle=107 153 196 164
592       Create Flags=01010000000000000000000000000000
593       Text=Disk Space Required:
594       Text French=Espace disque requis :
595       Text German=Notwendiger Speicherplatz:
596       Text Spanish=Espacio requerido en el disco:
597       Text Italian=Spazio su disco necessario:
598     end
599     item: Static
600       Rectangle=107 162 196 172
601       Create Flags=01010000000000000000000000000000
602       Text=Disk Space Remaining:
603       Text French=Espace disque disponible :
604       Text German=Verbleibender Speicherplatz:
605       Text Spanish=Espacio en disco disponible:
606       Text Italian=Spazio su disco disponibile:
607     end
608     item: Static
609       Rectangle=80 146 256 175
610       Action=1
611       Create Flags=01010000000000000000000000000111
612     end
613     item: Static
614       Rectangle=83 30 256 57
615       Create Flags=01010000000000000000000000000000
616       Text=Choose which package categories to install by checking the boxes below. Press the Options buttons to select individual packages.
617       Text French=Choisissez les composants que vous voulez installer en cochant les cases ci-dessous.
618       Text German=Wählen Sie die zu installierenden Komponenten, indem Sie in die entsprechenden Kästchen klicken.
619       Text Spanish=Elija los componentes que desee instalar marcando los cuadros de abajo.
620       Text Italian=Scegliere quali componenti installare selezionando le caselle sottostanti.
621     end
622     item: Push Button
623       Rectangle=230 62 254 72
624       Variable=LIBS_SAVE
625       Value=%LIBS%
626       Destination Dialog=1
627       Action=2
628       Create Flags=01010000000000010000000000000000
629       Text=Options
630       Text French=&Annuler
631       Text German=&Abbrechen
632       Text Spanish=&Cancelar
633       Text Italian=&Annulla
634     end
635     item: Push Button
636       Rectangle=230 74 254 84
637       Variable=COMM_SAVE
638       Value=%COMM%
639       Destination Dialog=2
640       Action=2
641       Create Flags=01010000000000010000000000000000
642       Text=Options
643       Text French=&Annuler
644       Text German=&Abbrechen
645       Text Spanish=&Cancelar
646       Text Italian=&Annulla
647     end
648     item: Push Button
649       Rectangle=230 86 254 96
650       Variable=OA_SAVE
651       Value=%OA%
652       Destination Dialog=3
653       Action=2
654       Create Flags=01010000000000010000000000000000
655       Text=Options
656       Text French=&Annuler
657       Text German=&Abbrechen
658       Text Spanish=&Cancelar
659       Text Italian=&Annulla
660     end
661     item: Push Button
662       Rectangle=230 98 254 108
663       Variable=OS_SAVE
664       Value=%OS%
665       Destination Dialog=4
666       Action=2
667       Create Flags=01010000000000010000000000000000
668       Text=Options
669       Text French=&Annuler
670       Text German=&Abbrechen
671       Text Spanish=&Cancelar
672       Text Italian=&Annulla
673     end
674     item: Push Button
675       Rectangle=230 110 254 120
676       Variable=PROG_SAVE
677       Value=%PROG%
678       Destination Dialog=5
679       Action=2
680       Create Flags=01010000000000010000000000000000
681       Text=Options
682       Text French=&Annuler
683       Text German=&Abbrechen
684       Text Spanish=&Cancelar
685       Text Italian=&Annulla
686     end
687     item: Push Button
688       Rectangle=230 122 254 132
689       Variable=WP_SAVE
690       Value=%WP%
691       Destination Dialog=6
692       Action=2
693       Create Flags=01010000000000010000000000000000
694       Text=Options
695       Text French=&Annuler
696       Text German=&Abbrechen
697       Text Spanish=&Cancelar
698       Text Italian=&Annulla
699     end
700     item: Push Button
701       Rectangle=230 134 254 144
702       Variable=GAMES_SAVE
703       Value=%GAMES%
704       Destination Dialog=7
705       Action=2
706       Create Flags=01010000000000010000000000000000
707       Text=Options
708       Text French=&Annuler
709       Text German=&Abbrechen
710       Text Spanish=&Cancelar
711       Text Italian=&Annulla
712     end
713     item: Set Variable
714       Variable=COMPONENTS
715       Value=X
716       Flags=00000001
717     end
718   end
719 <<<string.join(map(category_dialog,packages.category_names),"")>>>
720 end
721 item: Custom Dialog Set
722   Name=Select Program Manager Group
723   Display Variable=DISPLAY
724   item: Dialog
725     Title=Select Program Manager Group
726     Title French=Sélectionnez le Groupe du Gestionnaire de Programmes
727     Title German=Programm-Managergruppe wählen
728     Title Portuguese=Seleccionar o Grupo Gestor de Programas
729     Title Spanish=Seleccione el Grupo del Administrador del Programa
730     Title Italian=Seleziona il gruppo Program Manager
731     Title Danish=Vælg Programstyringsgruppen
732     Title Dutch=Kies Programmabeheergroep.
733     Title Norwegian=Velg Programbehandlingsgruppen
734     Title Swedish=Välj grupp i Programhanteraren
735     Width=280
736     Height=224
737     Font Name=Helv
738     Font Size=8
739     item: Push Button
740       Rectangle=172 185 214 199
741       Variable=DIRECTION
742       Value=N
743       Create Flags=01010000000000010000000000000001
744       Text=&Next >
745       Text French=&Suivant>
746       Text German=&Weiter>
747       Text Portuguese=&Próximo>
748       Text Spanish=&Siguiente >
749       Text Italian=&Avanti >
750       Text Danish=&Næste>
751       Text Dutch=&Volgende>
752       Text Norwegian=&Neste>
753       Text Swedish=&Nästa >
754     end
755     item: Push Button
756       Rectangle=130 185 172 199
757       Variable=DIRECTION
758       Value=B
759       Create Flags=01010000000000010000000000000000
760       Flags=0000000000000001
761       Text=< &Back
762       Text French=<&Retour
763       Text German=<&Zurück
764       Text Portuguese=<&Retornar
765       Text Spanish=<&Retroceder
766       Text Italian=< &Indietro
767       Text Danish=<&Back
768       Text Dutch=<&Terug
769       Text Norwegian=<&Tilbake
770       Text Swedish=< &Tillbaka
771     end
772     item: Push Button
773       Rectangle=222 185 264 199
774       Action=3
775       Create Flags=01010000000000010000000000000000
776       Text=Cancel
777       Text French=Annuler
778       Text German=Abbrechen
779       Text Portuguese=Cancelar
780       Text Spanish=Cancelar
781       Text Italian=Annulla
782       Text Danish=Slet
783       Text Dutch=Annuleren
784       Text Norwegian=Avbryt
785       Text Swedish=Avbryt
786     end
787     item: Static
788       Rectangle=9 177 263 178
789       Action=3
790       Create Flags=01010000000000000000000000000111
791     end
792     item: Static
793       Rectangle=90 10 260 38
794       Create Flags=01010000000000000000000000000000
795       Text=Enter the name of the Program Manager group to add %APPTITLE% icons to:
796       Text French=Entrez le nom du groupe du Gestionnaire de Programmes où placer les icônes %APPTITLE% à :
797       Text German=Den Namen der Programm-Managergruppe wählen, in der die %APPTITLE%-Symbole gespeichert werden sollen:
798       Text Portuguese=Introduzir o nome do Grupo Gestor de Programa para acrescentar os ícones %APPTITLE% para:
799       Text Spanish=Introduzca el nombre del grupo del Administrador del Programa para añadir los iconos %APPTITLE para:
800       Text Italian=Inserisci il nome del gruppo Program Manager per aggiungere le icone di %APPTITLE% a:
801       Text Danish=Indtast navnet på Programstyringsgruppen der skal tilføjes %APPTITLE% elementer:
802       Text Dutch=Breng de naam van de programmabeheergroep in waaraan u %APPTITLE%-pictogrammen wilt toevoegen.
803       Text Norwegian=Tast inn navnet på programbehandlingsgruppen for å legge %APPTITLE%-ikoner til:
804       Text Swedish=Skriv in namnet på den grupp i Programhanteraren där du vill ha ikonerna för %APPTITLE%:
805     end
806     item: Combobox
807       Rectangle=90 42 260 148
808       Variable=GROUP
809       Create Flags=01010000001000010000001100000001
810       Flags=0000000000000001
811       Text=%GROUP%
812       Text=
813       Text French=%GROUP%
814       Text French=
815       Text German=%GROUP%
816       Text German=
817       Text Portuguese=%GROUP%
818       Text Portuguese=
819       Text Spanish=%GROUP%
820       Text Spanish=
821       Text Italian=%GROUP%
822       Text Italian=
823       Text Danish=%GROUP%
824       Text Danish=
825       Text Dutch=%GROUP%
826       Text Dutch=
827       Text Norwegian=%GROUP%
828       Text Norwegian=
829       Text Swedish=%GROUP%
830       Text Swedish=
831     end
832   end
833 end
834 item: Custom Dialog Set
835   Name=Start Installation
836   Display Variable=DISPLAY
837   item: Dialog
838     Title=Start Installation
839     Title French=Commencer l'installation
840     Title German=Installation beginnen
841     Title Portuguese=Iniciar Instalação
842     Title Spanish=Comenzar la Instalación
843     Title Italian=Avvia Installazione
844     Title Danish=Start installationen
845     Title Dutch=Start de installatie.
846     Title Norwegian=Start installeringen
847     Title Swedish=Starta installationen
848     Width=280
849     Height=224
850     Font Name=Helv
851     Font Size=8
852     item: Push Button
853       Rectangle=172 185 214 199
854       Variable=DIRECTION
855       Value=N
856       Create Flags=01010000000000010000000000000001
857       Text=&Next >
858       Text French=&Suivant>
859       Text German=&Weiter>
860       Text Portuguese=&Próximo>
861       Text Spanish=&Siguiente >
862       Text Italian=&Avanti >
863       Text Danish=&Næste>
864       Text Dutch=&Volgende>
865       Text Norwegian=&Neste>
866       Text Swedish=&Nästa >
867     end
868     item: Push Button
869       Rectangle=130 185 172 199
870       Variable=DIRECTION
871       Value=B
872       Create Flags=01010000000000010000000000000000
873       Text=< &Back
874       Text French=<&Retour
875       Text German=<&Zurück
876       Text Portuguese=<&Retornar
877       Text Spanish=<&Retroceder
878       Text Italian=< &Indietro
879       Text Danish=<&Tilbage
880       Text Dutch=<&Terug
881       Text Norwegian=<&Tilbake
882       Text Swedish=< &Tillbaka
883     end
884     item: Push Button
885       Rectangle=222 185 264 199
886       Action=3
887       Create Flags=01010000000000010000000000000000
888       Text=Cancel
889       Text French=Annuler
890       Text German=Abbrechen
891       Text Portuguese=Cancelar
892       Text Spanish=Cancelar
893       Text Italian=Annulla
894       Text Danish=Annuller
895       Text Dutch=Annuleren
896       Text Norwegian=Avbryt
897       Text Swedish=Avbryt
898     end
899     item: Static
900       Rectangle=9 177 263 178
901       Action=3
902       Create Flags=01010000000000000000000000000111
903     end
904     item: Static
905       Rectangle=90 10 260 70
906       Create Flags=01010000000000000000000000000000
907       Text=You are now ready to install %APPTITLE%.
908       Text=
909       Text=Press the Next button to begin the installation or the Back button to reenter the installation information.
910       Text French=Vous êtes maintenant prêt à installer %APPTITLE%
911       Text French=
912       Text French=Cliquez sur Suivant pour commencer l'installation ou Retour pour entrer à nouveau les informations d'installation
913       Text German=Sie sind jetzt zur Installation von %APPTITLE% bereit.
914       Text German=
915       Text German=Auf die Schaltfläche Weiter klicken, um mit dem Start der Installation zu beginnen, oder auf die Schaltfläche Zurück, um die Installationsinformationen nochmals aufzurufen.
916       Text Portuguese=Está agora pronto para instalar %APPTITLE%
917       Text Portuguese=
918       Text Portuguese=Pressione o botão Próximo para começar a instalação ou o botão Retornar para introduzir novamente a informação sobre a instalação
919       Text Spanish=Ahora estará listo para instalar %APPTITLE%.
920       Text Spanish=
921       Text Spanish=Pulse el botón de Próximo para comenzar la instalación o el botón Retroceder para volver a introducir la información sobre la instalación.
922       Text Italian=Sei pronto ad installare %APPTITLE%.
923       Text Italian=
924       Text Italian=Premi il tasto Avanti per iniziare l\92installazione o il tasto Indietro per rientrare nuovamente nei dati sull\92installazione
925       Text Danish=Du er nu klar til at installere %APPTITLE%.
926       Text Danish=
927       Text Danish=Klik på Næste for at starte installationen eller på Tilbage for at ændre installationsoplysningerne.
928       Text Dutch=U bent nu klaar om %APPTITLE% te installeren.
929       Text Dutch=
930       Text Dutch=Druk op Volgende om met de installatie te beginnen of op Terug om de installatie-informatie opnieuw in te voeren.
931       Text Norwegian=Du er nå klar til å installere %APPTITLE%
932       Text Norwegian=
933       Text Norwegian=Trykk på Neste-tasten for å starte installeringen, eller Tilbake-tasten for å taste inn installasjonsinformasjonen på nytt.
934       Text Swedish=Du är nu redo att installera %APPTITLE%.
935       Text Swedish=
936       Text Swedish=Tryck på Nästa för att starta installationen eller på Tillbaka för att skriva in installationsinformationen på nytt.
937     end
938   end
939 end
940 item: If/While Statement
941   Variable=DISPLAY
942   Value=Select Destination Directory
943 end
944 item: Set Variable
945   Variable=BACKUP
946   Value=%MAINDIR%\BACKUP
947 end
948 item: End Block
949 end
950 item: End Block
951 end
952 item: If/While Statement
953   Variable=DOBACKUP
954   Value=A
955 end
956 item: Set Variable
957   Variable=BACKUPDIR
958   Value=%BACKUP%
959 end
960 item: End Block
961 end
962 item: Open/Close INSTALL.LOG
963 end
964 item: Check Disk Space
965   Component=COMPONENTS
966 end
967 item: Display Graphic
968   Pathname=<<<dirs.source>>>\nt\Wise\xemacs-beta.bmp
969   X Position=32784
970   Y Position=16
971 end
972 item: Include Script
973   Pathname=%_WISE_%\INCLUDE\uninstal.wse
974 end
975 <<<ifblock("COMPONENTS","X")>>>
976 <<<string.join(map(lambda x:install_file(x[0],x[1],x[2]),filelist.all),"")>>>
977 <<<endblock()>>>
978 <<<map(do_category,packages.category_names)>>>
979 item: Set Variable
980   Variable=COMMON
981   Value=%COMMON%
982   Flags=00010100
983 end
984 item: Set Variable
985   Variable=MAINDIR
986   Value=%MAINDIR%
987   Flags=00010100
988 end
989 item: Check Configuration
990   Flags=10111011
991 end
992 item: Get Registry Key Value
993   Variable=STARTUPDIR
994   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
995   Default=%WIN%\Start Menu\Programs\StartUp
996   Value Name=StartUp
997   Flags=00000010
998 end
999 item: Get Registry Key Value
1000   Variable=DESKTOPDIR
1001   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1002   Default=%WIN%\Desktop
1003   Value Name=Desktop
1004   Flags=00000010
1005 end
1006 item: Get Registry Key Value
1007   Variable=STARTMENUDIR
1008   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1009   Default=%WIN%\Start Menu
1010   Value Name=Start Menu
1011   Flags=00000010
1012 end
1013 item: Get Registry Key Value
1014   Variable=GROUPDIR
1015   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1016   Default=%WIN%\Start Menu\Programs
1017   Value Name=Programs
1018   Flags=00000010
1019 end
1020 item: Get Registry Key Value
1021   Variable=CSTARTUPDIR
1022   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1023   Default=%STARTUPDIR%
1024   Value Name=Common Startup
1025   Flags=00000100
1026 end
1027 item: Get Registry Key Value
1028   Variable=CDESKTOPDIR
1029   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1030   Default=%DESKTOPDIR%
1031   Value Name=Common Desktop
1032   Flags=00000100
1033 end
1034 item: Get Registry Key Value
1035   Variable=CSTARTMENUDIR
1036   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1037   Default=%STARTMENUDIR%
1038   Value Name=Common Start Menu
1039   Flags=00000100
1040 end
1041 item: Get Registry Key Value
1042   Variable=CGROUPDIR
1043   Key=Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
1044   Default=%GROUPDIR%
1045   Value Name=Common Programs
1046   Flags=00000100
1047 end
1048 item: Set Variable
1049   Variable=CGROUP_SAVE
1050   Value=%GROUP%
1051 end
1052 item: Set Variable
1053   Variable=GROUP
1054   Value=%GROUPDIR%\%GROUP%
1055 end
1056 item: Create Shortcut
1057   Source=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32\runemacs.exe
1058   Destination=%GROUP%\XEmacs.lnk
1059   Working Directory=\
1060   Icon Number=0
1061 end
1062 item: Create Shortcut
1063   Source=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32\runemacs.exe
1064   Destination=%DESKTOPDIR%\XEmacs.lnk
1065   Working Directory=\
1066   Icon Number=0
1067 end
1068 item: Else Statement
1069 end
1070 item: Add ProgMan Icon
1071   Group=%GROUP%
1072   Icon Name=XEmacs
1073   Command Line=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32\runemacs.exe
1074   Default Directory=\
1075   Flags=01000000
1076 end
1077 item: End Block
1078 end
1079 item: Edit Registry
1080   Total Keys=16
1081   item: Key
1082     Key=SOFTWARE\GNU\XEmacs
1083     New Value=%MAINDIR%
1084     Value Name=emacs_dir
1085     Root=2
1086   end
1087   item: Key
1088     Key=SOFTWARE\GNU\XEmacs
1089     New Value=%MAINDIR%\xemacs-packages
1090     Value Name=EMACSPACKAGEPATH
1091     Root=2
1092   end
1093   item: Key
1094     Key=SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\runemacs.exe
1095     New Value=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32
1096     Value Name=Path
1097     Root=2
1098   end
1099   item: Key
1100     Key=SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\xemacs.exe
1101     New Value=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32
1102     Value Name=Path
1103     Root=2
1104   end
1105   item: Key
1106     Key=.el
1107     New Value=elfile
1108   end
1109   item: Key
1110     Key=.el
1111     New Value=text/plain
1112     Value Name=Content Type
1113   end
1114   item: Key
1115     Key=elfile
1116     New Value=Emacs lisp
1117   end
1118   item: Key
1119     Key=elfile
1120     New Value=00 00 01 00
1121     Value Name=EditFlags
1122     Data Type=4
1123   end
1124   item: Key
1125     Key=elfile\DefaultIcon
1126     New Value=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32\runemacs.exe,2
1127   end
1128   item: Key
1129     Key=elfile\QuickView
1130     New Value=*
1131   end
1132   item: Key
1133     Key=elfile\Shell
1134     New Value=
1135   end
1136   item: Key
1137     Key=elfile\Shell\open
1138   end
1139   item: Key
1140     Key=elfile\Shell\open\command
1141     New Value=%MAINDIR%\<<<dirs.dst>>>\i386-pc-win32\runemacs.exe "%%1"
1142   end
1143   item: Key
1144     Key=elfile\Shell\open\ddeexec
1145     New Value=open("%%1")
1146   end
1147   item: Key
1148     Key=elfile\Shell\open\ddeexec\Application
1149     New Value=XEmacs
1150     New Value=
1151   end
1152   item: Key
1153     Key=elfile\Shell\open\ddeexec\topic
1154     New Value=System
1155   end
1156 end
1157 item: Wizard Block
1158   Direction Variable=DIRECTION
1159   Display Variable=DISPLAY
1160   Bitmap Pathname=<<<dirs.source>>>\nt\Wise\gnu.bmp
1161   X Position=9
1162   Y Position=10
1163   Filler Color=8421440
1164   Flags=00000011
1165 end
1166 item: Custom Dialog Set
1167   Name=Finished
1168   Display Variable=DISPLAY
1169   item: Dialog
1170     Title=Installation Complete
1171     Title French=Installation en cours
1172     Title German=Installation abgeschlossen
1173     Title Portuguese=Instalação Completa 
1174     Title Spanish=Se ha completado la Instalación
1175     Title Italian=Installazione completata
1176     Title Danish=Installation gennemført
1177     Title Dutch=Installatie afgerond
1178     Title Norwegian=Installasjonen er fullført
1179     Title Swedish=Installationen klar
1180     Width=280
1181     Height=224
1182     Font Name=Helv
1183     Font Size=8
1184     item: Push Button
1185       Rectangle=170 185 212 199
1186       Variable=DIRECTION
1187       Value=N
1188       Create Flags=01010000000000010000000000000001
1189       Text=&Finish >
1190       Text French=&Terminer>
1191       Text German=&Fertigstellen>
1192       Text Portuguese=&Terminar >
1193       Text Spanish=&Finalizar>
1194       Text Italian=&Fine >
1195       Text Danish=&Afslut >
1196       Text Dutch=&Klaar>
1197       Text Norwegian=&Avslutt>
1198       Text Swedish=&Sluta>
1199     end
1200     item: Push Button
1201       Control Name=CANCEL
1202       Rectangle=222 185 264 199
1203       Action=3
1204       Create Flags=01010000000000010000000000000000
1205       Text=Cancel
1206       Text French=Annuler
1207       Text German=Abbrechen
1208       Text Portuguese=Cancelar
1209       Text Spanish=Cancelar
1210       Text Italian=Annulla
1211       Text Danish=Annuller
1212       Text Dutch=Annuleren
1213       Text Norwegian=Avbryt
1214       Text Swedish=Avbryt
1215     end
1216     item: Static
1217       Rectangle=9 177 263 178
1218       Action=3
1219       Create Flags=01010000000000000000000000000111
1220     end
1221     item: Static
1222       Rectangle=90 10 260 63
1223       Enabled Color=00000000000000001111111111111111
1224       Create Flags=01010000000000000000000000000000
1225       Text=%APPTITLE% has been successfully installed.
1226       Text=
1227       Text=
1228       Text=Press the Finish button to exit this installation.
1229       Text=
1230       Text French=L'installation de %APPTITLE% est réussie
1231       Text French=
1232       Text French=
1233       Text French=Cliquez sur Terminer pour quitter cette installation
1234       Text French=
1235       Text German=%APPTITLE% wurde erfolgreich installiert.
1236       Text German=
1237       Text German=
1238       Text German=Zum Beenden dieser Installation Fertigstellen anklicken.
1239       Text German=
1240       Text Portuguese=%APPTITLE% foi instalado com êxito
1241       Text Portuguese=
1242       Text Portuguese=
1243       Text Portuguese=Pressionar o botão Terminar para sair desta instalação
1244       Text Portuguese=
1245       Text Spanish=%APPTITLE% se ha instalado con éxito.
1246       Text Spanish=
1247       Text Spanish=
1248       Text Spanish=Pulse el botón de Finalizar para salir de esta instalación.
1249       Text Spanish=
1250       Text Italian=%APPTITLE% è stato installato.
1251       Text Italian=
1252       Text Italian=
1253       Text Italian=Premi il pulsante Fine per uscire dal programma di installazione
1254       Text Italian=
1255       Text Danish=%APPTITLE% er nu installeret korrekt.
1256       Text Danish=
1257       Text Danish=
1258       Text Danish=Klik på Afslut for at afslutte installationen.
1259       Text Danish=
1260       Text Dutch=%APPTITLE% is met succes geïnstalleerd.
1261       Text Dutch=
1262       Text Dutch=
1263       Text Dutch=Druk op Klaar om deze installatie af te ronden.
1264       Text Dutch=
1265       Text Norwegian=Installasjonen av %APPTITLE% er suksessfull.
1266       Text Norwegian=
1267       Text Norwegian=
1268       Text Norwegian=Trykk på Avslutt-tasten for å avslutte denne installasjonen.
1269       Text Norwegian=
1270       Text Swedish=Installationen av %APPTITLE% har lyckats.
1271       Text Swedish=
1272       Text Swedish=
1273       Text Swedish=Tryck på Sluta för att gå ur installationsprogrammet.
1274       Text Swedish=
1275     end
1276     item: Push Button
1277       Control Name=BACK
1278       Rectangle=128 185 170 199
1279       Variable=DIRECTION
1280       Value=B
1281       Create Flags=01010000000000010000000000000000
1282       Text=< &Back
1283       Text French=<&Retour
1284       Text German=<&Zurück
1285       Text Portuguese=<&Retornar
1286       Text Spanish=<&Retroceder
1287       Text Italian=< &Indietro
1288       Text Danish=<&Tilbage
1289       Text Dutch=<&Terug
1290       Text Norwegian=<&Tilbake
1291       Text Swedish=< &Tillbaka
1292     end
1293     item: Set Control Attribute
1294       Control Name=BACK
1295       Operation=1
1296     end
1297     item: Set Control Attribute
1298       Control Name=CANCEL
1299       Operation=1
1300     end
1301   end
1302 end
1303 item: End Block
1304 end
1305 item: New Event
1306   Name=Cancel
1307 end
1308 item: Include Script
1309   Pathname=%_WISE_%\INCLUDE\rollback.wse
1310 end