This commit is contained in:
2018-06-29 19:47:36 +00:00
commit be7f501333
3769 changed files with 1425961 additions and 0 deletions

102
testmake.bat Normal file
View File

@@ -0,0 +1,102 @@
@echo off
cls
cd c:\data\ayanova
set m=Unknown error
echo.
echo *********************************************************
echo START OF OBFUSCATE AND BUILD INSTALLERS
echo *********************************************************
echo.
echo.
:: **** OBFUSCATE AyaNova files
:: rename the hopefully existing ayanova.exe in the x86 folder under spice which should have been built by selecting x86 in the project config in visual studio after the main build
:: this will then get obfuscated properly automatically and ready for the installer to build it in
echo Obfuscating X86AyaNova...
echo.
echo.
@copy release\x86\AyaNova.exe release\x86\x86AyaNova.exe /Y
"C:\Program Files\LogicNP Software\Crypto Obfuscator For .Net 2010 R2\co.exe" projectfile=release\x86AyaNovaOnly.obproj checkfulllicense=true
IF %ERRORLEVEL% NEQ 0 (
set m=Obfuscator failed x86AyaNova
goto FAIL
)
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo.
echo.
echo.
echo Obfuscating AyaNova files and plugins...
echo.
echo.
"C:\Program Files\LogicNP Software\Crypto Obfuscator For .Net 2010 R2\co.exe" projectfile=release\TESTAyaNova.obproj checkfulllicense=true
IF %ERRORLEVEL% NEQ 0 (
set m=Obfuscator failed AyaNova
goto FAIL
)
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo.
echo.
echo.
echo Building setups...
echo.
echo.
echo.
echo -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo.
echo.
echo.
echo **** Build AyaNova setup file
echo.
echo.
"C:\Program Files\Inno Setup 5\ISCC.exe" Installs\AyaNovaINNO\AyaNova.iss
IF %ERRORLEVEL% NEQ 0 (
set m=INNO failed building AyaNova.iss
goto FAIL
)
::Completed processing without error
goto OK
::------------------------
:FAIL
echo.
echo.
echo.
echo.
echo.
echo Error:
echo %m%
pause
goto DONE
::------------------------
:OK
echo.
echo.
echo.
echo.
echo.
@echo Completed without error
pause
:DONE