Skip to content
Snippets Groups Projects
Commit f99d6fa3 authored by juergen's avatar juergen
Browse files

removing windows bat file

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2526 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent d0180bfc
No related branches found
No related tags found
No related merge requests found
@ECHO OFF
REM create a zip archive for deployment on windows
REM no registry entries
REM no PATHs will be changed except in the DNG session
REM
REM Author Juergen Haas
REM
set inst_dir=openstructure1.0.0a1_2451
set archive_name=OpenStructureWin32
if exist "%inst_dir%" rmdir /S /Q "%inst_dir%"
if exist %archive_name%.zip del %archive_name%.zip*.*
REM dir /S %inst_dir%
mkdir "%inst_dir%\share\openstructure\examples"
mkdir "%inst_dir%\lib\site-packages"
mkdir "%inst_dir%\bin"
xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\examples "%inst_dir%\share\openstructure\examples"
xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\stage\share "%inst_dir%\share\"
REM xcopy /E /I ..\..\website\html "%inst_dir%\share\doc"
copy d:\programs\bin\python.exe "%inst_dir%\bin"
copy ..\README.html "%inst_dir%"
copy ..\..\graphics\favicon.ico "%inst_dir%\share"
copy dng.bat "%inst_dir%"
xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types d:\programs\lib "%inst_dir%\lib"
xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\lib "%inst_dir%\lib"
xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\bin "%inst_dir%\bin"
set PATH="c:\Program Files (x86)"\7-Zip\;%PATH%
REM 7z a -r -t7z %archive_name% "%inst_dir%" > log
REM if exist %archive_name%.7z copy /b 7zS.sfx + config.txt + %archive_name%.7z %archive_name%.exe
7z a -r -tzip %archive_name% "%inst_dir%" > log
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment