Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win: allow key Inno variables to be set during compile time #37241

Merged
merged 1 commit into from
Dec 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
win: allow key Inno variables to be set during compile time
  • Loading branch information
musm committed Aug 27, 2020
commit ba87735c8556c45b29e4f9889a86f2c4d20e5456
15 changes: 13 additions & 2 deletions contrib/windows/build-installer.iss
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
#ifndef AppName
#define AppName "Julia"
#endif

#ifndef AppId
#define AppId "{{054B4BC6-BD30-45C8-A623-8F5BA6EBD55D}"
#endif

#ifndef DirName
#define DirName AppName + "-" + AppVersion
#endif

#define AppNameLong AppName + " " + AppVersion
#define AppMainExeName "bin\julia.exe"
#define CurrentYear GetDateTimeString('yyyy', '', '')
#define DirName AppName + "-" + AppVersion



[LangOptions]
Expand Down Expand Up @@ -45,7 +56,7 @@ SelectTasksDesc=


[Setup]
AppId={{054B4BC6-BD30-45C8-A623-8F5BA6EBD55D}
AppId={#AppId}
AppName={#AppName}
AppVersion={#AppVersion}
AppPublisher=Julia Language
Expand Down
2 changes: 1 addition & 1 deletion contrib/windows/julia.rc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BEGIN
VALUE "FileDescription", "Julia Programming Language"
VALUE "FileVersion", JLVER_STR
VALUE "InternalName", "julia"
VALUE "LegalCopyright", "(c) 2009-2019 Julia Language"
VALUE "LegalCopyright", "(c) 2009-2020 Julia Language"
VALUE "OriginalFilename", "julia.exe"
VALUE "ProductName", "Julia"
VALUE "ProductVersion", JLVER_STR
Expand Down