Rev 2 | Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2 | Rev 7 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | @echo off |
1 | @echo off |
| - | 2 | ||
| - | 3 | set PUBLISHER=Pierre-Marie Baty |
|
| - | 4 | set PUBLISHER_EMAIL=pm@pmbaty.com |
|
| - | 5 | set PUBLISHER_WEBSITE=https://www.pmbaty.com/rick/ |
|
| - | 6 | ||
| - | 7 | rem ////////////////////////////////////// |
|
| - | 8 | rem // create the Rick Dangerous installer |
|
| 2 | 9 | ||
| 3 | set PRODUCT_NAME=Rick Dangerous |
10 | set PRODUCT_NAME=Rick Dangerous |
| 4 | set PRODUCT_URL=http://www.pmbaty.com/rick/ |
- | |
| 5 | set |
11 | set OUTPUT_FILE=Z:\pmbaty\Documents\Mes projets\www.pmbaty.com\rick\Rick Dangerous Installer.exe |
| 6 | 12 | ||
| 7 | echo Creating the installer... |
13 | echo Creating the installer... |
| 8 | "%ProgramFiles(x86)%\NSIS\makensis.exe" "/XOutFile \"%OUTPUT_FILE%\"" "installer.nsi" > "nsis.log" |
14 | "%ProgramFiles(x86)%\NSIS\makensis.exe" "/XOutFile \"%OUTPUT_FILE%\"" "installer.nsi" > "nsis.log" |
| 9 | 15 | ||
| 10 | rem // some time is needed for antiviruses etc to release the newly created file |
16 | rem // some time is needed for antiviruses etc to release the newly created file |
| 11 | ping 127.0.0.1 > nul |
17 | ping 127.0.0.1 > nul |
| 12 | 18 | ||
| 13 | echo Signing the installer... |
19 | echo Signing the installer... |
| 14 | call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" |
- | |
| 15 |
|
20 | call "Z:\pmbaty\Documents\Mes projets\Windows code signer\sign.bat" "%OUTPUT_FILE%" "%PRODUCT_NAME%" "%PUBLISHER%" %PUBLISHER_EMAIL% FR "%PRODUCT_NAME% installer" %PUBLISHER_WEBSITE% >> "%1.log" |
| 16 | 21 | ||
| 17 | echo Finished. |
22 | echo Finished. |
| 18 | pause > nul |
23 | pause > nul |