Removed build time dependency from the Inno Setup script, to have to edit the script to insert the version number
Documented instructions to enable command line build using the Inno Setup console-mode compiler
; Script generated by the Inno Script Studio Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
+; Notes:
+; (1) To run this script from the command line, prepare the following:
+; - Install Microsoft Windows SDK 10 (https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk/)
+; - Add the Microsoft Windows SDK 10 folder where "signtool.exe" is located to the path,
+; e.g. "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64"
+; - Install Inno Setup (https://jrsoftware.org/isinfo.php)
+; (2) To run this script from the command line with Inno Setup console-mode compiler:
+; - "<path to console-mode compiler>\ISCC.exe" "/SSignTool=signtool sign
+; /tr http://timestamp.digicert.com /f "<path and filename of the certificate>"
+; /p <password used to create the certificate> $f"
+; "/DMyAppVersion=<base node version>" "windows_inno_installer.iss"
+; (3) To configure sign tools for Inno Script Studio:
+; - with 'Tools -> Configure Sign Tools...' (Example configuration), add
+; Name:
+; SignTool
+; Command:
+; signtool sign /tr http://timestamp.digicert.com
+; /f "<path and filename of the certificate>"
+; /p "<password used to create the certificate>" $f
+
+
#define MyOrgName "Tari"
#define MyAppName "Base Node"
-#define MyAppVersion "0.3.0-0f59836-release"
+;#define MyAppVersion "?.?.?-???????-release"
#define MyAppPublisher "The Tari Development Community"
#define MyAppURL "https://github.com/tari-project/tari"
#define MyAppSupp "Tari Website"
@@ -38,13 +59,6 @@ VersionInfoCompany=The Tari Developer Community
VersionInfoProductName=tari_base_node
InfoAfterFile="..\applications\tari_base_node\windows\README.md"
SignTool=SignTool
-;Tools -> Configure Sign Tools (Example configuration)
-; Name:
-; SignTool
-; Command:
-; "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe"
-; sign /f "<path and filename of the certificate>"
-; /p "<password used to create the certificate>" $f
[CustomMessages]
TariGit=Tari on GitHub
