[Python-checkins] CVS: python/dist/src/PCbuild python20.wse,1.67,1.68

Tim Peters tim_one@users.sourceforge.net
Fri, 03 Aug 2001 04:11:37 -0700


Update of /cvsroot/python/python/dist/src/PCbuild
In directory usw-pr-cvs1:/tmp/cvs-serv6608/python/dist/src/PCbuild

Modified Files:
	python20.wse 
Log Message:
No more Inno Envy:  the "Start Installation" dialog now displays a nice
summary of the preceding choices.  No idea if this is "the right way" to
do it, but it's exactly painful enough to make me suspect it's the only
way <wink>.


Index: python20.wse
===================================================================
RCS file: /cvsroot/python/python/dist/src/PCbuild/python20.wse,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -d -r1.67 -r1.68
*** python20.wse	2001/08/01 18:42:54	1.67
--- python20.wse	2001/08/03 11:11:35	1.68
***************
*** 281,284 ****
--- 281,298 ----
  item: End Block
  end
+ item: Remark
+ end
+ item: Remark
+   Text=Get a temp file, into which we'll write the summary for the "Start Installation" screen.
+ end
+ item: Get Temporary Filename
+   Variable=TEMPFILE
+ end
+ item: Set Variable
+   Variable=TEMPFILE
+   Value=%TEMP%\%TEMPFILE%
+ end
+ item: Remark
+ end
  item: Wizard Block
    Direction Variable=DIRECTION
***************
*** 491,496 ****
        Variable=DOBACKUP
        Create Flags=01010000000000010000000000001001
!       Text=&Yes (make backups)
!       Text=N&o (do not make backups)
        Text=
        Text French=&Oui
--- 505,510 ----
        Variable=DOBACKUP
        Create Flags=01010000000000010000000000001001
!       Text=&Yes, make backups
!       Text=N&o, do not make backups
        Text=
        Text French=&Oui
***************
*** 973,981 ****
      end
      item: Static
!       Rectangle=86 42 256 102
        Create Flags=01010000000000000000000000000000
!       Text=You are now ready to install %APPTITLE%.
!       Text=
!       Text=Click the Next button to begin the installation, or the Back button to change choices made previously.
        Text French=Vous êtes maintenant prêt à installer les fichiers %APPTITLE%.
        Text French=
--- 987,993 ----
      end
      item: Static
!       Rectangle=86 34 256 54
        Create Flags=01010000000000000000000000000000
!       Text=Click the Next button to install %APPTITLE%, or the Back button to change choices:
        Text French=Vous êtes maintenant prêt à installer les fichiers %APPTITLE%.
        Text French=
***************
*** 991,998 ****
        Text Italian=Premere il pulsante Avanti per avviare l'installazione o il pulsante Indietro per reinserire le informazioni di installazione.
      end
    end
  end
  item: Remark
!   Text=This reinitializes the BACKUP directory so that it reflects the change the user made to MAINDIR
  end
  item: If/While Statement
--- 1003,1030 ----
        Text Italian=Premere il pulsante Avanti per avviare l'installazione o il pulsante Indietro per reinserire le informazioni di installazione.
      end
+     item: Editbox
+       Rectangle=86 54 259 175
+       Value=%TEMPFILE%
+       Help Context=16711681
+       Enabled Color=00000000000000001111111111111111
+       Create Flags=01010000101000000001100010000100
+     end
    end
  end
  item: Remark
! end
! item: Remark
!   Text=If we just finished "Select Destination Directory":
! end
! item: Remark
!   Text=    %MAINDIR% is set, so reinitialize %BACKUP% to match.
! end
! item: Remark
!   Text=ElseIf we just finished "Select Program Manager Group":
! end
! item: Remark
!   Text=    "Start Installation" is next, so write out the choices to a file for "Start Installation" to display.
! end
! item: Remark
  end
  item: If/While Statement
***************
*** 1003,1006 ****
--- 1035,1151 ----
    Variable=BACKUP
    Value=%MAINDIR%\BACKUP
+ end
+ item: Remark
+ end
+ item: ElseIf Statement
+   Variable=DISPLAY
+   Value=Select Program Manager Group
+ end
+ item: Delete File
+   Pathname=%TEMPFILE%
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=Installation directory%CRLF%    %MAINDIR%
+   Line Number=0
+ end
+ item: Remark
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=%CRLF%Make backups?
+   Line Number=0
+ end
+ item: If/While Statement
+   Variable=DOBACKUP
+   Value=A
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Yes, into %BACKUP%
+   Line Number=0
+ end
+ item: Else Statement
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    No
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: Remark
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=%CRLF%Components
+   Line Number=0
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=A
+   Flags=00000010
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Python interpreter, libraries, and Tcl/Tk
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=B
+   Flags=00000010
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Python documentation
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=C
+   Flags=00000010
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Tool and utility scripts
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=D
+   Flags=00000010
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Python test suite
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: If/While Statement
+   Variable=COMPONENTS
+   Value=E
+   Flags=00000010
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=    Register file extensions
+   Line Number=0
+ end
+ item: End Block
+ end
+ item: Remark
+ end
+ item: Insert Line into Text File
+   Pathname=%TEMPFILE%
+   New Text=%CRLF%Start Menu group%CRLF%    %GROUP%
+   Line Number=0
  end
  item: End Block