From c996e1cc987c9447a8d95683833a6e5b8c2b1b91 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Wed, 24 Apr 2019 22:41:11 +0500 Subject: [PATCH] Installer: Set "File Version" detail. --- deploy/FortFirewall.iss | 5 ++--- src/common/version.h | 2 ++ src/driver/fortdrv.rc | 2 +- src/ui/FortFirewall.rc | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deploy/FortFirewall.iss b/deploy/FortFirewall.iss index 82db1f58..7338e381 100644 --- a/deploy/FortFirewall.iss +++ b/deploy/FortFirewall.iss @@ -1,8 +1,6 @@ #include AddBackslash(SourcePath) + "..\src\common\version.h" -#define APP_PUBLISHER "Nodir Temirkhodjaev" -#define APP_URL "https://github.com/tnodir" #define APP_EXE_NAME "FortFirewall.exe" [Setup] @@ -12,8 +10,9 @@ AppMutex={#APP_NAME} AppName={#APP_NAME} AppVersion={#APP_VERSION_STR} +VersionInfoVersion={#APP_VERSION_STR} AppVerName={#APP_NAME} -AppCopyright=Copyright (C) 2015 Nodir Temirkhodjaev +AppCopyright={#APP_LEGALCOPYRIGHT} AppPublisher={#APP_PUBLISHER} AppPublisherURL={#APP_URL} AppSupportURL={#APP_URL} diff --git a/src/common/version.h b/src/common/version.h index 35f5e24e..a06f85e5 100644 --- a/src/common/version.h +++ b/src/common/version.h @@ -8,7 +8,9 @@ #define APP_VERSION 0x020800 #define APP_NAME "Fort Firewall" +#define APP_PUBLISHER "Nodir Temirkhodjaev" #define APP_LEGALCOPYRIGHT "Copyright (C) 2015-2019 Nodir Temirkhodjaev. All Rights Reserved." +#define APP_URL "https://github.com/tnodir/fort" #define APP_UPDATES_URL "https://github.com/tnodir/fort/releases" #define APP_UPDATES_API_URL "https://api.github.com/repos/tnodir/fort/releases/latest" diff --git a/src/driver/fortdrv.rc b/src/driver/fortdrv.rc index 47551efd..78dc9ebc 100644 --- a/src/driver/fortdrv.rc +++ b/src/driver/fortdrv.rc @@ -8,7 +8,7 @@ #define VER_PRODUCTVERSION VER_FILEVERSION #define VER_PRODUCTVERSION_STR APP_VERSION_STR -#define VER_COMPANYNAME_STR "Nodir Temirkhodjaev" +#define VER_COMPANYNAME_STR APP_PUBLISHER #define VER_FILEDESCRIPTION_STR "Fort Firewall Driver" #define VER_INTERNALNAME_STR "fortfw" #define VER_LEGALCOPYRIGHT_STR APP_LEGALCOPYRIGHT diff --git a/src/ui/FortFirewall.rc b/src/ui/FortFirewall.rc index d2792e37..c3cca484 100644 --- a/src/ui/FortFirewall.rc +++ b/src/ui/FortFirewall.rc @@ -8,7 +8,7 @@ #define VER_PRODUCTVERSION VER_FILEVERSION #define VER_PRODUCTVERSION_STR APP_VERSION_STR -#define VER_COMPANYNAME_STR "Nodir Temirkhodjaev" +#define VER_COMPANYNAME_STR APP_PUBLISHER #define VER_FILEDESCRIPTION_STR "Fort Firewall" #define VER_INTERNALNAME_STR "FortFirewall" #define VER_LEGALCOPYRIGHT_STR APP_LEGALCOPYRIGHT