Skip to content

Commit

Permalink
The "Select Destination Directory" dialog didn't ask for confirmation
Browse files Browse the repository at this point in the history
about installing into a pre-existing directory *unless* you hit the
Browse button first.  At least while testing, this screwed me repeatedly.
Plus I really liked the Inno Setup scheme of giving you a list box in
its "select directory" dialog without needing a distinct browse button
to ask for that.

So I redid this dialog from scratch:  now gives a list box at once, the
browse button is gone, it asks for confirmation if the directory already
exists, and, since this is the first dialog in the set now, also removed
its "Back" button.
  • Loading branch information
tim-one committed Aug 1, 2001
1 parent 1f7862e commit 4951a98
Showing 1 changed file with 12 additions and 45 deletions.
57 changes: 12 additions & 45 deletions PCbuild/python20.wse
Original file line number Diff line number Diff line change
Expand Up @@ -310,18 +310,6 @@ item: Custom Dialog Set
Text Spanish=&Siguiente >
Text Italian=&Avanti >
end
item: Push Button
Rectangle=105 187 150 202
Variable=DIRECTION
Value=B
Create Flags=01010000000000010000000000000000
Flags=0000000000000001
Text=< &Back
Text French=< &Retour
Text German=< &Zur�ck
Text Spanish=< &Atr�s
Text Italian=< &Indietro
end
item: Push Button
Rectangle=211 187 256 202
Action=3
Expand All @@ -338,7 +326,7 @@ item: Custom Dialog Set
Create Flags=01010000000000000000000000000111
end
item: Static
Rectangle=86 8 258 42
Rectangle=85 1 257 26
Create Flags=01010000000000000000000000000000
Flags=0000000000000001
Name=Times New Roman
Expand All @@ -349,41 +337,20 @@ item: Custom Dialog Set
Text Spanish=Seleccione el directorio de destino
Text Italian=Selezionare Directory di destinazione
end
item: Static
Rectangle=86 42 256 82
Create Flags=01010000000000000000000000000000
Text=Please select the directory where the %APPTITLE% files are to be installed.
Text French=Veuillez s�lectionner le r�pertoire dans lequel les fichiers %APPTITLE% doivent �tre install�s.
Text German=Geben Sie an, in welchem Verzeichnis die %APPTITLE%-Dateien installiert werden sollen.
Text Spanish=Por favor seleccione el directorio donde desee instalar los archivos de %APPTITLE%.
Text Italian=Selezionare la directory dove verranno installati i file %APPTITLE%.
end
item: Static
Rectangle=86 98 256 125
Action=1
Create Flags=01010000000000000000000000000111
end
item: Push Button
Rectangle=208 106 253 121
Variable=MAINDIR_SAVE
Value=%MAINDIR%
Destination Dialog=1
Action=2
Create Flags=01010000000000010000000000000000
Text=Browse
Text French=Parcourir
Text German=Durchsuchen
Text Spanish=Buscar
Text Italian=Sfoglie
item: Listbox
Rectangle=85 38 256 178
Variable=MAINDIR
Enabled Color=00000000000000001111111111111111
Create Flags=01010000100000010000000101000001
Flags=0000110000001010
Text=%MAINDIR%
Text=
end
item: Static
Rectangle=90 109 206 120
Rectangle=95 22 259 37
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000000000000000000000
Text=%MAINDIR%
Text French=%MAINDIR%
Text German=%MAINDIR%
Text Spanish=%MAINDIR%
Text Italian=%MAINDIR%
Text=Please select a directory for the %APPTITLE% files.
end
end
item: Dialog
Expand Down

0 comments on commit 4951a98

Please sign in to comment.