2001-03-29 11:58:24 +00:00
|
|
|
@echo off
|
|
|
|
rem Zip up an external, generic + Windows distribution of wxWindows 2
|
|
|
|
rem using Inno Setup + ScriptMaker
|
|
|
|
set src=%wxwin
|
|
|
|
set dest=%src\deliver
|
2001-11-20 14:55:10 +00:00
|
|
|
set webfiles=c:\wx2dev\wxWebSite
|
2001-03-29 11:58:24 +00:00
|
|
|
set inno=0
|
|
|
|
|
|
|
|
Rem Set this to the required version
|
2002-07-04 09:38:39 +00:00
|
|
|
set version=2.3.3
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
if "%src" == "" goto usage
|
|
|
|
if "%dest" == "" goto usage
|
|
|
|
if "%1" == "-help" goto usage
|
|
|
|
if "%1" == "--help" goto usage
|
|
|
|
if "%1" == "/?" goto usage
|
|
|
|
if "%1" == "innoonly" goto dounzip
|
|
|
|
if "%1" == "inno" set inno=1
|
|
|
|
if "%1" == "tidyup" goto tidyup
|
|
|
|
echo About to archive an external wxWindows distribution:
|
|
|
|
echo From %src
|
|
|
|
echo To %dest
|
|
|
|
if "%inno" == "1" echo with Inno Setup creation.
|
|
|
|
echo CTRL-C if this is not correct.
|
|
|
|
pause
|
|
|
|
|
|
|
|
erase %dest\wx*.zip
|
|
|
|
erase %dest\*.htb
|
2001-05-14 10:28:27 +00:00
|
|
|
erase %dest\ogl3*.zip
|
|
|
|
erase %dest\contrib*.zip
|
|
|
|
erase %dest\tex2rtf2*.zip
|
|
|
|
erase %dest\mmedia*.zip
|
|
|
|
erase %dest\jpeg*.zip
|
|
|
|
erase %dest\tiff*.zip
|
|
|
|
erase %dest\dialoged*.zip
|
|
|
|
erase %dest\utils*.zip
|
|
|
|
erase %dest\extradoc*.zip
|
|
|
|
erase %dest\stc*.zip
|
|
|
|
erase %dest\*-win32*.zip
|
|
|
|
erase %dest\setup*.*
|
|
|
|
erase %dest\*.txt
|
|
|
|
erase %dest\make*
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
if direxist %dest\wx erase /sxyz %dest\wx\
|
|
|
|
if not direxist %dest mkdir %dest
|
2002-08-18 14:10:52 +00:00
|
|
|
if direxist %dest%\wxWindows-%version% erase /sxyz %dest%\wxWindows-%version%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2001-11-20 14:55:10 +00:00
|
|
|
# Copy FAQ from wxWebSite CVS
|
|
|
|
if not direxist %webfiles% echo Error - %webfiles% does not exist
|
|
|
|
if not direxist %webfiles% goto end
|
|
|
|
echo Copying FAQ and other files from %webfiles
|
|
|
|
copy %webfiles%\site\faq*.htm %src\docs\html
|
|
|
|
copy %webfiles%\site\platform.htm %src\docs\html
|
2002-08-18 18:24:23 +00:00
|
|
|
copy %webfiles%\site\i18n.htm %src\docs\html
|
2001-11-20 14:55:10 +00:00
|
|
|
|
2002-08-20 18:38:05 +00:00
|
|
|
Rem Copy setup0.h files to setup.h
|
|
|
|
copy %src%\include\wx\os2\setup0.h %src%\include\wx\os2\setup.h
|
|
|
|
copy %src%\include\wx\msw\setup0.h %src%\include\wx\msw\setup.h
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
cd %src
|
|
|
|
echo Zipping...
|
|
|
|
|
2002-08-16 17:08:47 +00:00
|
|
|
Rem Zip up the complete wxOS2-xxx.zip file
|
|
|
|
zip32 -@ %dest\wxOS2-%version%.zip < %src\distrib\msw\generic.rsp
|
|
|
|
zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\os2.rsp
|
|
|
|
zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\wx_chm.rsp
|
|
|
|
zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\jpeg.rsp
|
|
|
|
zip32 -@ -u %dest%\wxOS2-%version%.zip < %src\distrib\msw\tiff.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\tiff.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\jpeg.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\utils.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\dialoged.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\ogl.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\xml.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\contrib.rsp
|
|
|
|
zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp
|
|
|
|
|
2002-08-18 14:10:52 +00:00
|
|
|
Rem Rearchive under wxWindows-%version%
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxOS2-%version%.zip wxWindows-%version% %dest%
|
|
|
|
|
2002-08-19 16:09:40 +00:00
|
|
|
zip32 -d %dest%\wxOS2-%version%.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms
|
|
|
|
|
2001-05-14 10:28:27 +00:00
|
|
|
echo Zipping wxMac distribution
|
2002-08-20 18:38:05 +00:00
|
|
|
|
|
|
|
copy %src%\include\wx\mac\setup0.h %src%\include\wx\setup.h
|
|
|
|
|
2001-05-14 10:28:27 +00:00
|
|
|
zip32 -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\cw.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tiff.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\jpeg.rsp
|
2002-08-16 17:08:47 +00:00
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\utils.rsp
|
2001-05-14 10:28:27 +00:00
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\tex2rtf.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\dialoged.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\ogl.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\xml.rsp
|
2002-08-16 22:29:52 +00:00
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\stc.rsp
|
2001-06-17 18:34:20 +00:00
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\contrib.rsp
|
|
|
|
zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp
|
2002-08-20 18:38:05 +00:00
|
|
|
|
|
|
|
erase /Y %src%\include\wx\setup.h
|
|
|
|
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxMac-%version%.zip wxWindows-%version% %dest%
|
2001-05-14 10:28:27 +00:00
|
|
|
|
2002-08-19 16:09:40 +00:00
|
|
|
zip32 -d %dest%\wxMac-%version%.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms
|
|
|
|
|
2002-08-18 14:10:52 +00:00
|
|
|
Rem Create wxWindows-%version%-win.zip which is used to create wxMSW
|
2001-05-14 10:28:27 +00:00
|
|
|
echo Zipping individual components
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-win.zip < %src\distrib\msw\generic.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\makefile.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\msw.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\ogl.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\mmedia.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\stc.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\tex2rtf.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\jpeg.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\tiff.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\xml.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\contrib.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\dialoged.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\utils.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\utilmake.rsp
|
|
|
|
zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\univ.rsp
|
|
|
|
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-win.zip wxWindows-%version% %dest%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2002-08-19 16:09:40 +00:00
|
|
|
zip32 -d %dest%\wxWindows-%version%-win.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-DocSource.zip < %src\distrib\msw\docsrc.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-DocSource.zip wxWindows-%version% %dest%
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-WinHelp.zip < %src\distrib\msw\wx_hlp.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-WinHelp.zip wxWindows-%version% %dest%
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-HTML.zip < %src\distrib\msw\wx_html.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-HTML.zip wxWindows-%version% %dest%
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-PDF.zip < %src\distrib\msw\wx_pdf.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-PDF.zip wxWindows-%version% %dest%
|
|
|
|
|
|
|
|
Rem zip32 -@ %dest\wxWindows-%version%-Word.zip < %src\distrib\msw\wx_word.rsp
|
|
|
|
Rem call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-Word.zip wxWindows-%version% %dest%
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-HTB.zip < %src\distrib\msw\wx_htb.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-HTB.zip wxWindows-%version% %dest%
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-HTMLHelp.zip < %src\distrib\msw\wx_chm.rsp
|
2002-08-18 14:10:52 +00:00
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-HTMLHelp.zip wxWindows-%version% %dest%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
Rem PDF/HTML docs that should go into the Windows setup because
|
|
|
|
Rem there are no WinHelp equivalents
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-ExtraDoc.zip < %src\distrib\msw\extradoc.rsp
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-ExtraDoc.zip wxWindows-%version% %dest%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2001-12-05 13:30:34 +00:00
|
|
|
Rem zip up Univ-specific files
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-Univ.zip < %src\distrib\msw\univ.rsp
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-Univ.zip wxWindows-%version% %dest%
|
2001-12-05 13:30:34 +00:00
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
rem VC++ project files
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-VC.zip < %src\distrib\msw\vc.rsp
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-VC.zip wxWindows-%version% %dest%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
rem BC++ project files
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-BC.zip < %src\distrib\msw\bc.rsp
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-BC.zip wxWindows-%version% %dest%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
rem CodeWarrior project files
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 -@ %dest\wxWindows-%version%-CW.zip < %src\distrib\msw\cw.rsp
|
|
|
|
call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-CW.zip wxWindows-%version% %dest%
|
2001-05-10 14:31:41 +00:00
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
rem Dialog Editor source and binary
|
2002-08-18 18:24:23 +00:00
|
|
|
Rem erase %dest\dialoged-source.zip
|
|
|
|
Rem zip32 -@ %dest\dialoged-source.zip < %src\distrib\msw\dialoged.rsp
|
|
|
|
Rem zip32 -j %dest\dialoged-%version%.zip %dest\dialoged-source.zip %src\bin\dialoged.exe %src\docs\winhelp\dialoged.hlp %src\docs\winhelp\dialoged.cnt
|
|
|
|
Rem erase %dest\dialoged-source.zip
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2001-05-14 10:28:27 +00:00
|
|
|
copy %src\docs\changes.txt %dest\changes-%version%.txt
|
2002-08-16 17:08:47 +00:00
|
|
|
copy %src\docs\msw\install.txt %dest\install-msw-%version%.txt
|
|
|
|
copy %src\docs\mac\install.txt %dest\install-mac-%version%.txt
|
|
|
|
copy %src\docs\motif\install.txt %dest\install-motif-%version%.txt
|
|
|
|
copy %src\docs\gtk\install.txt %dest\install-gtk-%version%.txt
|
2002-08-20 16:57:09 +00:00
|
|
|
copy %src\docs\x11\install.txt %dest\install-x11-%version%.txt
|
2001-05-14 10:28:27 +00:00
|
|
|
copy %src\docs\readme.txt %dest\readme-%version%.txt
|
2002-08-16 17:08:47 +00:00
|
|
|
copy %src\docs\motif\readme.txt %dest\readme-motif-%version%.txt
|
|
|
|
copy %src\docs\gtk\readme.txt %dest\readme-gtk-%version%.txt
|
2002-08-20 16:57:09 +00:00
|
|
|
copy %src\docs\x11\readme.txt %dest\readme-x11-%version%.txt
|
|
|
|
copy %src\docs\x11\readme-nanox.txt %dest\readme-nanox-%version%.txt
|
2002-08-16 17:08:47 +00:00
|
|
|
copy %src\docs\msw\readme.txt %dest\readme-msw-%version%.txt
|
|
|
|
copy %src\docs\mac\readme.txt %dest\readme-mac-%version%.txt
|
|
|
|
copy %src\docs\os2\install.txt %dest\install-os2-%version%.txt
|
|
|
|
copy %src\docs\readme_vms.txt %dest\readme-vms-%version%.txt
|
2001-05-14 10:28:27 +00:00
|
|
|
copy %src\docs\motif\makewxmotif %dest\makewxmotif-%version%
|
|
|
|
copy %src\docs\gtk\makewxgtk %dest\makewxgtk-%version%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
Rem Skip Inno Setup if inno is 0.
|
|
|
|
if "%inno" == "0" goto end
|
|
|
|
|
|
|
|
:dounzip
|
|
|
|
|
|
|
|
Rem Make dialoged-win32.zip and tex2rtf-win32.zip
|
|
|
|
|
2002-08-18 18:24:23 +00:00
|
|
|
Rem cd %src\bin
|
|
|
|
Rem zip32 %dest\dialoged-win32-%version%.zip dialoged.*
|
|
|
|
Rem zip32 %dest\tex2rtf-win32-%version%.zip tex2rtf.*
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
cd %dest
|
|
|
|
|
2002-08-18 14:10:52 +00:00
|
|
|
rem Unzip the Windows files into 'wxWindows-%version%'
|
|
|
|
|
|
|
|
unzip32 -o wxWindows-%version%-win.zip
|
|
|
|
unzip32 -o wxWindows-%version%-VC.zip
|
|
|
|
unzip32 -o wxWindows-%version%-BC.zip
|
|
|
|
unzip32 -o wxWindows-%version%-HTMLHelp.zip
|
|
|
|
unzip32 -o wxWindows-%version%-ExtraDoc.zip
|
|
|
|
Rem Need Word file, for Remstar DB classes
|
|
|
|
Rem Not any more
|
|
|
|
Rem unzip32 -o wxWindows-%version%-Word.zip
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
Rem After this change of directory, we're in the
|
|
|
|
Rem temporary 'wx' directory and not acting on
|
|
|
|
Rem the source wxWindows directory.
|
2002-08-18 14:10:52 +00:00
|
|
|
cd %dest%\wxWindows-%version%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
rem Now delete a few files that are unnecessary
|
|
|
|
attrib -R *
|
2002-08-18 14:10:52 +00:00
|
|
|
erase /Y BuildCVS.txt descrip.mms
|
|
|
|
erase /Y setup.h_vms
|
2001-03-29 11:58:24 +00:00
|
|
|
erase /Y docs\html\wxbook.htm docs\html\roadmap.htm
|
2001-06-17 18:34:20 +00:00
|
|
|
Rem erase /Y contrib\docs\winhelp\mmedia.*
|
|
|
|
Rem erase /Y contrib\docs\winhelp\stc.*
|
|
|
|
Rem erase /Y contrib\docs\htmlhelp\mmedia.*
|
|
|
|
Rem erase /Y contrib\docs\htmlhelp\stc.*
|
|
|
|
Rem erase /Y contrib\docs\pdf\*.*
|
2001-03-29 11:58:24 +00:00
|
|
|
erase /sxzy contrib\docs\latex\ogl
|
|
|
|
erase /Y src\mingegcs.bat
|
|
|
|
erase /Y distrib
|
|
|
|
|
|
|
|
rem Now copy some binary files to 'bin'
|
|
|
|
if not isdir bin mkdir bin
|
|
|
|
copy %src\bin\dialoged.exe bin
|
2002-08-22 09:41:05 +00:00
|
|
|
copy %src\bin\dialoged.hlp bin
|
|
|
|
copy %src\bin\dialoged.chm bin
|
2001-03-29 11:58:24 +00:00
|
|
|
copy %src\bin\tex2rtf.exe bin
|
2002-08-22 09:41:05 +00:00
|
|
|
copy %src\bin\tex2rtf.hlp bin
|
|
|
|
copy %src\bin\tex2rtf.cnt bin
|
2001-03-29 11:58:24 +00:00
|
|
|
copy %src\bin\dbgview.* bin
|
2002-04-09 14:40:22 +00:00
|
|
|
copy %src\bin\widgets.exe bin
|
|
|
|
copy %src\bin\widgets.exe.manifest bin
|
2002-04-11 16:50:55 +00:00
|
|
|
copy %src\bin\life.exe bin
|
|
|
|
copy %src\bin\life.exe.manifest bin
|
|
|
|
copy %src\demos\life\breeder.lif bin
|
2002-04-09 14:40:22 +00:00
|
|
|
copy %src\docs\htmlhelp\dialoged.chm bin
|
|
|
|
copy %src\docs\htmlhelp\tex2rtf.chm bin
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2002-08-18 18:24:23 +00:00
|
|
|
if not direxist docs\pdf mkdir docs\pdf
|
|
|
|
copy %src\docs\pdf\wxTutorial.pdf docs\pdf
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
Rem Make wxMSW-xxx.zip
|
2002-08-18 14:10:52 +00:00
|
|
|
cd %dest%
|
|
|
|
zip32 -r wxMSW-%version%.zip wxWindows-%version%/*
|
|
|
|
cd wxWindows-%version%
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
echo Calling 'makeinno' to generate wxwin2.iss...
|
|
|
|
call %WXWIN\distrib\msw\makeinno.bat
|
|
|
|
|
|
|
|
erase /Y %dest\setup.*
|
|
|
|
|
|
|
|
rem Now invoke Inno Setup on the new wxwin2.iss
|
2002-07-04 09:38:39 +00:00
|
|
|
set innocmd="C:\Program Files\Inno Setup 2\compil32.exe" /cc %WXWIN\distrib\msw\wxwin2.iss
|
2001-03-29 11:58:24 +00:00
|
|
|
echo Invoking %innocmd...
|
|
|
|
start "Inno Setup" /w %innocmd%
|
2002-08-19 10:03:20 +00:00
|
|
|
Rem pause Press any key to continue with the wxWindows distribution...
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
:tidyup
|
|
|
|
cd %dest
|
|
|
|
|
|
|
|
rem Put all the setup files into a single zip archive.
|
2002-08-18 14:10:52 +00:00
|
|
|
zip32 wxMSW-%version%-setup.zip readme-%version%.txt setup*.*
|
2001-03-29 11:58:24 +00:00
|
|
|
|
2002-08-18 18:24:23 +00:00
|
|
|
erase /Y wxWindows-%version%-win.zip
|
|
|
|
erase /Y wxWindows-%version%-ExtraDoc.zip
|
|
|
|
|
2001-03-29 11:58:24 +00:00
|
|
|
echo wxWindows archived.
|
|
|
|
|
|
|
|
goto end
|
|
|
|
|
|
|
|
:usage
|
2002-08-18 14:10:52 +00:00
|
|
|
echo DOS wxWindows distribution. Zips up all MSW, OS/2, Mac and doc files,
|
|
|
|
echo and optionally makes a setup.exe echo if you specify 'inno'
|
|
|
|
echo (skipping the zipping if you use 'innoonly').
|
2001-03-29 11:58:24 +00:00
|
|
|
echo.
|
2002-08-18 14:10:52 +00:00
|
|
|
echo "Usage: zipdistinno [inno | innoonly]"
|
2001-03-29 11:58:24 +00:00
|
|
|
|
|
|
|
:end
|