Rev 126 | Rev 144 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 126 | Rev 132 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | set PRODUCT_URL=http://www.pmbaty.com/chess/ |
4 | set PRODUCT_URL=http://www.pmbaty.com/chess/ |
5 | set |
5 | set OUTPUT_FILE=P:\www.pmbaty.com\chess\Chess Giants Installer.exe |
6 | 6 | ||
7 | echo Creating the installer... |
7 | echo Creating the installer... |
8 | "%ProgramFiles(x86)%\NSIS\makensis.exe" "installer.nsi" > "nsis.log" |
8 | "%ProgramFiles(x86)%\NSIS\makensis.exe" "/XOutFile \"%OUTPUT_FILE%\"" "installer.nsi" > "nsis.log" |
- | 9 | ||
- | 10 | rem // some time is needed for antiviruses etc to release the newly created file |
|
- | 11 | ping 127.0.0.1 > nul |
|
9 | 12 | ||
10 | echo Signing the installer... |
13 | echo Signing the installer... |
11 | call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" |
14 | call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" |
12 | signtool sign /a /t http://timestamp.verisign.com/scripts/timestamp.dll /fd SHA256 /d "%PRODUCT_NAME% installer" /du %PRODUCT_URL% "%OUTPUT_FILE%" >> "nsis.log" |
15 | signtool sign /a /t http://timestamp.verisign.com/scripts/timestamp.dll /fd SHA256 /d "%PRODUCT_NAME% installer" /du %PRODUCT_URL% "%OUTPUT_FILE%" >> "nsis.log" |
13 | 16 | ||
14 | echo Finished. |
17 | echo Finished. |
- | 18 | pause > nul |