Skip to content

Commit

Permalink
Updates on installer file
Browse files Browse the repository at this point in the history
  • Loading branch information
albar965 committed Jul 16, 2023
1 parent bad0b3c commit af00442
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions build/win/installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,23 @@
#endif

// Defines ==========================================================================
#if LnmAppArch == "win64"
#define AppSuffix "64-bit"
#elif LnmAppArch == "win32"
#define AppSuffix "32-bit"
#endif

#define LnmAppProjects GetEnv("APROJECTS")
#define LnmAppName "Little Navmap"
#define LnmAppConnectName "Little Navconnect"
#define LnmAppNameReg "LittleNavmap"
#define LnmAppPublisher "Alexander Barthel"
#define LnmAppURL "https://www.littlenavmap.org/"
#define LnmAppExeName "littlenavmap.exe"
#define LnmAppConnectExeName "littlenavconnect.exe"
#define LnmAppSourceBase LnmAppProjects + "\deploy\LittleNavmap-" + LnmAppArch + "-" + LnmAppVersion
#define LnmAppSourceDir LnmAppSourceBase + "\*"

#if LnmAppArch == "win64"
#define AppSuffix "64-bit"
#elif LnmAppArch == "win32"
#define AppSuffix "32-bit"
#endif

// No file associations yet
#define LnmAppAssocName LnmAppName + " Flight Plan"
#define LnmAppAssocExt ".lnmpln"
Expand Down Expand Up @@ -187,7 +189,7 @@ Root: HKCR; Subkey: "{#LnmAppNameReg}\shell\open\command"; ValueType: string; Va
// Start menu entries for all programs and documentation
[Icons]
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\{#LnmAppName}"; Filename: "{app}\{#LnmAppExeName}"
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\Little Navconnect"; Filename: "{app}\Little Navconnect\littlenavconnect.exe"
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\{#LnmAppConnectName}"; Filename: "{app}\{#LnmAppConnectName}\{#LnmAppConnectExeName}"
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\Little Navmap {cm:UserManualMessage} PDF (Offline)"; Filename: "{app}\help\little-navmap-user-manual-en.pdf"
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\Little Navmap {cm:UserManualMessage} (Online)"; Filename: "{app}\help\Little Navmap User Manual Online.url"
Name: "{autoprograms}\{#LnmAppName} {#AppSuffix}\{cm:ChangelogMessage}"; Filename: "{app}\CHANGELOG.TXT"
Expand Down

0 comments on commit af00442

Please sign in to comment.