Changeset 305 for trunk/Install


Ignore:
Timestamp:
May 11, 2020, 9:04:37 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Use InnoSetup 6 with modern style.
  • Fixed: Show application icon in list of Windows installed applications.
Location:
trunk/Install/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Install/win/build.bat

    r225 r305  
    1818copy %MAIN_EXE% %WIN64_EXE%
    1919
    20 "c:\Program Files (x86)\Inno Setup 5\ISCC.exe" "%PROJECTNAME%.iss"
     20"c:\Program Files (x86)\Inno Setup 6\ISCC.exe" "%PROJECTNAME%.iss"
  • trunk/Install/win/xTactics.iss

    r293 r305  
    33
    44#define MyAppName "xTactics"
    5 #define MyAppVersion "1.4.0-alfa"
     5#define MyAppNameShort "xTactics"
     6#define MyAppVersion "1.4.0"
     7#define MyAppVersionSuffix "alfa"
    68#define MyAppPublisher "Chronosoft"
    79#define MyAppPublisherShort "Chronosoft"
     
    1719AppId={{044A3DC1-AAED-4ECD-8C43-5376F46460F2}
    1820AppName={#MyAppName}
     21#ifdef MyAppVersionSuffix
     22AppVersion={#MyAppVersion}-{#MyAppVersionSuffix}
     23AppVerName={#MyAppName} {#MyAppVersion}-{#MyAppVersionSuffix}
     24OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}-{#MyAppVersionSuffix}
     25#else
    1926AppVersion={#MyAppVersion}
    20 ;AppVerName={#MyAppName} {#MyAppVersion}
     27AppVerName={#MyAppName} {#MyAppVersion}
     28OutputBaseFilename=Install-{#MyAppNameShort}-{#MyAppVersion}
     29#endif
    2130AppPublisher={#MyAppPublisher}
    2231AppPublisherURL={#MyAppURL}
    2332AppSupportURL={#MyAppURL}
    2433AppUpdatesURL={#MyAppURL}
    25 DefaultDirName={pf}\{#MyAppPublisherShort}\{#MyAppName}
     34UninstallDisplayName={#MyAppName}
     35UninstallDisplayIcon="{app}\{#MyAppExeName}"
     36VersionInfoVersion={#MyAppVersion}
     37VersionInfoCompany={#MyAppPublisher}
     38DefaultDirName={commonpf}\{#MyAppPublisherShort}\{#MyAppName}
    2639DefaultGroupName={#MyAppPublisherShort}\{#MyAppName}
    2740AllowNoIcons=yes
    2841OutputDir=.
    29 OutputBaseFilename=Install-{#MyAppName}-{#MyAppVersion}
    3042Compression=lzma
    3143SolidCompression=yes
    3244ChangesAssociations=yes
     45WizardStyle=modern
    3346; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
    3447; done in "64-bit mode" on x64, meaning it should use the native
     
    4861
    4962[Registry]
    50 Root: HKCU; Subkey: "Software\Chronosoft\xTactics"; Flags: uninsdeletekey
     63Root: HKLM; Subkey: "Software\Chronosoft\xTactics"; Flags: uninsdeletekey
    5164
    5265#define FileTypeName "xTactics game"
Note: See TracChangeset for help on using the changeset viewer.