Rev 7 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pmbaty | 1 | @echo off |
2 | |||
7 | pmbaty | 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 |
||
9 | |||
2 | pmbaty | 10 | set PRODUCT_NAME=Rick Dangerous |
9 | pmbaty | 11 | set OUTPUT_FILE=Z:\Documents\Mes projets\www.pmbaty.com\rick\Rick Dangerous Installer.exe |
2 | pmbaty | 12 | |
13 | echo Creating the installer... |
||
14 | "%ProgramFiles(x86)%\NSIS\makensis.exe" "/XOutFile \"%OUTPUT_FILE%\"" "installer.nsi" > "nsis.log" |
||
15 | |||
16 | rem // some time is needed for antiviruses etc to release the newly created file |
||
17 | ping 127.0.0.1 > nul |
||
18 | |||
19 | echo Signing the installer... |
||
9 | pmbaty | 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" |
2 | pmbaty | 21 | |
22 | echo Finished. |
||
23 | pause > nul |