Ruben 1 рік тому
батько
коміт
09a5a9b75e
1 змінених файлів з 6 додано та 3 видалено
  1. 6 3
      Build/install.iss

+ 6 - 3
Build/install.iss

@@ -1,3 +1,6 @@
+#define MyAppName "PicView"
+#define MyAppExeName "PicView.exe"
+
 [Setup]
 AppId={{F102E394-0FA6-4AEA-826D-9FE699115BAB}
 AppName=PicView
@@ -11,13 +14,13 @@ DisableProgramGroupPage=yes
 LicenseFile={#LicenseFile}
 OutputDir={#MyAppOutputDir}
 PrivilegesRequired=lowest
-OutputBaseFilename=PicView-{#MyAppVersion}.exe
+OutputBaseFilename={#MyAppName}-{#MyAppVersion}
 SetupIconFile={#AppIcon}
 Compression=lzma
 SolidCompression=yes
 WizardStyle=modern
-UninstallDisplayIcon={app}\PicView.exe
-UninstallDisplayName=PicView
+UninstallDisplayIcon={app}\{#MyAppExeName}
+UninstallDisplayName={#MyAppExeName}
 ChangesAssociations=yes
 VersionInfoVersion={#MyAppVersion}