File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ echo ===== Deploying Qt libraries =====
22%QT_PATH% \msvc2017_64\bin\windeployqt.exe --release ./x64/
33@ echo ===== Creating setup wizard =====
4- iscc /Dx64 " /DBuildDir=%CD% " soundgenerator_installer.iss
4+ @ set /p VERSION = < version.txt
5+ iscc /Dx64 " /DBuildDir=%CD% " " /DMyAppVersion=%VERSION% " soundgenerator_installer.iss
56@ echo ===== Generate Hash =====
67@ SET PowerShellScriptPath = %~dp0 create_hash.ps1
7- @ SET InputFile = installs/soundgenerator_0.0.1_x64 .exe
8+ @ SET InputFile = installs/soundgenerator_ %VERSION% _x64 .exe
89@ SET OutputFile = installs/sha2.x64.txt
910@ PowerShell -NoProfile -ExecutionPolicy Bypass -Command " & '%PowerShellScriptPath% ' '%InputFile% ' -output '%OutputFile% '" ;
1011@ echo ===== End =====
Original file line number Diff line number Diff line change 11@ echo ===== Deploying Qt libraries =====
22%QT_PATH% \msvc2017\bin\windeployqt.exe --release ./x86/
33@ echo ===== Creating setup wizard =====
4- iscc " /DBuildDir=%CD% " soundgenerator_installer.iss
4+ @ set /p VERSION = < version.txt
5+ iscc " /DBuildDir=%CD% " " /DMyAppVersion=%VERSION% " soundgenerator_installer.iss
56@ echo ===== Generate Hash =====
67@ SET PowerShellScriptPath = %~dp0 create_hash.ps1
7- @ SET InputFile = installs/soundgenerator_0.0.1_x86 .exe
8+ @ SET InputFile = installs/soundgenerator_ %VERSION% _x86 .exe
89@ SET OutputFile = installs/sha2.x86.txt
910@ PowerShell -NoProfile -ExecutionPolicy Bypass -Command " & '%PowerShellScriptPath% ' '%InputFile% ' -output '%OutputFile% '" ;
1011@ echo ===== End =====
Original file line number Diff line number Diff line change 11; Inno setup script to generate Windows 32 bits and 64 bits installers
2-
3- #define MyAppName " Sound Generator"
4- #define MyAppVersion " 0.0.1"
5- #define MyAppPublisher " Ben Pyton"
6- #define MyAppURL " https://github.com/BenPyton/SoundGenerator"
7- #define MyAppExeName " SoundGenerator.exe"
8- #define OutputDir " installs"
9- #define RedistDir " vcredist"
10-
112#ifdef x64
123 #define Arch " x64"
134 #define RegKey " "
189 #define ArchMode " "
1910#endif
2011
12+ #define MyAppName " Sound Generator"
13+ #define MyAppPublisher " Ben Pyton"
14+ #define MyAppURL " https://github.com/BenPyton/SoundGenerator"
15+ #define MyAppExeName " SoundGenerator.exe"
16+ #define OutputDir " installs"
17+ #define RedistDir " vcredist"
18+
2119[Setup]
2220; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
2321; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
Original file line number Diff line number Diff line change 1+ 0.0.2
You can’t perform that action at this time.
0 commit comments