Rev 7 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 7 | Rev 9 | ||
|---|---|---|---|
| Line 6... | Line 6... | ||
| 6 | 6 | ||
| 7 | rem ////////////////////////////////////// |
7 | rem ////////////////////////////////////// |
| 8 | rem // create the Rick Dangerous installer |
8 | rem // create the Rick Dangerous installer |
| 9 | 9 | ||
| 10 | set PRODUCT_NAME=Rick Dangerous |
10 | set PRODUCT_NAME=Rick Dangerous |
| 11 | set OUTPUT_FILE=Z: |
11 | set OUTPUT_FILE=Z:\Documents\Mes projets\www.pmbaty.com\rick\Rick Dangerous Installer.exe |
| 12 | 12 | ||
| 13 | echo Creating the installer... |
13 | echo Creating the installer... |
| 14 | "%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" |
| 15 | 15 | ||
| 16 | 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 |
| 17 | ping 127.0.0.1 > nul |
17 | ping 127.0.0.1 > nul |
| 18 | 18 | ||
| 19 | echo Signing the installer... |
19 | echo Signing the installer... |
| 20 | call "Z: |
20 | call "Z:\Documents\Mes projets\Windows code signer\sign.bat" "%OUTPUT_FILE%" "%PRODUCT_NAME%" "%PUBLISHER%" %PUBLISHER_EMAIL% FR "%PRODUCT_NAME% installer" %PUBLISHER_WEBSITE% >> "%1.log" |
| 21 | 21 | ||
| 22 | echo Finished. |
22 | echo Finished. |
| 23 | pause > nul |
23 | pause > nul |