|
@@ -31,7 +31,7 @@ echo Compiling Server Installer...
|
|
|
powershell -Command "(gc PRSServer.iss) -replace '#define MyAppVersion ""[^\""]*""', '#define MyAppVersion """%version_number%"""' | Out-File -encoding ASCII PRSServer.iss"
|
|
|
powershell -Command "(gc PRSServer.iss) -replace 'OutputDir=[^\""]*', 'OutputDir=%~dp0' | Out-File -encoding ASCII PRSServer.iss"
|
|
|
powershell -Command "(gc PRSServer.iss) -replace 'SourceDir=[^\""]*', 'SourceDir=%~dp0' | Out-File -encoding ASCII PRSServer.iss"
|
|
|
-"C:\Program Files (x86)\Inno Setup 6\iscc.exe" /Qp /O"." /F"PRSSetup" PRSServer.iss
|
|
|
+rem "C:\Program Files (x86)\Inno Setup 6\iscc.exe" /Qp /O"." /F"PRSSetup" PRSServer.iss
|
|
|
|
|
|
echo Compiling License Installer...
|
|
|
powershell -Command "(gc ../prs.licensing/prslicensing.iss) -replace '#define MyAppVersion ""[^\""]*""', '#define MyAppVersion """%version_number%"""' | Out-File -encoding ASCII ../prs.licensing/prslicensing.iss"
|
|
@@ -39,5 +39,9 @@ powershell -Command "(gc ../prs.licensing/prslicensing.iss) -replace 'OutputDir=
|
|
|
powershell -Command "(gc ../prs.licensing/prslicensing.iss) -replace 'SourceDir=[^\""]*', 'SourceDir=%~dp0..\prs.licensing\' | Out-File -encoding ASCII ../prs.licensing/prslicensing.iss"
|
|
|
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" /Qp /O"." /F"PRSLicensing" ../prs.licensing/prslicensing.iss
|
|
|
|
|
|
+echo Cleaning Up...
|
|
|
+del bin\Debug\net8.0-windows\update\version.txt
|
|
|
+del bin\Debug\net8.0-windows\version.txt
|
|
|
+
|
|
|
echo.
|
|
|
echo All Done! PRS v%version_number% Installer can be found at %~dp0PRSSetup.exe
|