;#include "GetVerInfo.iss" #pragma message VerInfoTxt [_ISTool] EnableISX=false [Setup] OutputBaseFilename=USNI-v002 AppCopyright=Copyright © 2020 TGP Enterprises, Inc. AppPublisher=Harpgamer AppPublisherURL=http://www.harpgamer.com AppId=HCUSNI AppVersion=002 AppName=Harpoon Classic USNI Promotion AppVerName=Harpoon Classic USNI Promotion v002 VersionInfoCompany=Harpgamer VersionInfoCopyright=Copyright 2020 VersionInfoProductName=Harpoon Classic USNI Promotion VersionInfoTextVersion=002 VersionInfoVersion=1.0.0.0 MinVersion=0,6.0 PrivilegesRequired=none ChangesAssociations=false DisableProgramGroupPage=true ;DefaultGroupName=Harpoon Classic USNI Promotion DefaultDirName={reg:HKCU\Software\Matrix Games\HCE\Options\BattlesetPath,|{sd}\Matrix Games\HUCE} AppendDefaultDirName=false UsePreviousAppDir=true DirExistsWarning=false AllowUNCPath=false DisableStartupPrompt=true DisableReadyMemo=false DisableReadyPage=false Uninstallable=true UpdateUninstallLogAppName=true ;UninstallDisplayIcon={app}\Winharp32.exe UninstallDisplayName=Harpoon Classic USNI Promotion AlwaysShowDirOnReadyPage=true AlwaysShowGroupOnReadyPage=true ;InfoBeforeFile=..\MatrixEULA.txt ;WizardImageFile=..\Standard (large).bmp ;WizardSmallImageFile=..\Standard (small) 11.bmp SetupIconFile=USNI.ico Compression=lzma/ultra64 SolidCompression=yes ;[Icons] ;Name: {group}\Run HarpoonCE; Filename: {app}\Winharp32.exe; WorkingDir: {app}; IconFilename: {app}\Winharp32.exe; IconIndex: 0 ;Name: {group}\Instruction Manual; Filename: {app}\Manuals\HUCE-Manual-[EBOOK].pdf; WorkingDir: {app}; Flags: createonlyiffileexists ;Name: {group}\Instruction Manual (Printer Friendly); Filename: {app}\Manuals\HPCE-Manual-[LIGHT].pdf; WorkingDir: {app}; Flags: createonlyiffileexists ;Name: {group}\ReleaseNotes.txt; Filename: {app}\ReleaseNotes.txt; WorkingDir: {app}; Flags: createonlyiffileexists ;Name: {userdesktop}\Run HarpoonCE; Filename: {app}\Winharp32.exe; WorkingDir: {app}; IconFilename: {app}\Winharp32.exe; IconIndex: 0; Tasks: desktopicon ;Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Run HarpoonCE; Filename: {app}\Winharp32.exe; WorkingDir: {app}; IconFilename: {app}\Winharp32.exe; IconIndex: 0; Tasks: quicklaunchicon ;[Tasks] ;Name: desktopicon; Description: Create a &Desktop icon; GroupDescription: Additional icons:; Flags: unchecked ;Name: quicklaunchicon; Description: Create a &Quick Launch icon; GroupDescription: Additional icons:; Flags: unchecked ;[Run] ;Filename: "{app}\Winharp32.exe"; WorkingDir: {app}; Description: "Run HarpoonCE?"; StatusMsg: "Running HCE..."; Flags: shellexec postinstall ;Filename: "{tmp}\vcredist_x86.exe"; WorkingDir: {tmp}; StatusMsg: "Installing Visual C++ 2013 Runtime..."; Parameters: "/passive" [Files] Source: C:\Games\HC\ExportDLLs\USNI.dll; DestDir: {app}\ExportDLLs; Flags: ignoreversion Source: USNI.txt; DestDir: {app}\ExportDLLs; Flags: ignoreversion ;Source: C:\Games\HC\ExportDLLs\USNI_DCEF\*.*; DestDir: {app}\ExportDLLs\USNI_DCEF; Flags: ignoreversion Source: .\DCEFSubProcess\USNI_DCEF_SubProcess.exe; DestDir: {app}\ExportDLLs\USNI_DCEF; Flags: ignoreversion Source: ..\..\..\..\..\RADAddOns\cef_binary_78.3.1+g8819d2e+chromium-78.0.3904.87_windows32\Release\*.*; DestDir: {app}\ExportDLLs\USNI_DCEF; Flags: ignoreversion recursesubdirs; Source: ..\..\..\..\..\RADAddOns\cef_binary_78.3.1+g8819d2e+chromium-78.0.3904.87_windows32\Resources\*.*; DestDir: {app}\ExportDLLs\USNI_DCEF; Flags: ignoreversion recursesubdirs; [Dirs] Name: {app}\ExportDLLs; Flags: uninsneveruninstall Name: {app}\ExportDLLs\USNI_DCEF; Flags: uninsalwaysuninstall [UninstallDelete] Type: files; Name: "{app}\ExportDLLs\USNI.ini" Type: files; Name: "{app}\ExportDLLs\USNI.log" ;[Registry] ; Windows XP (or newer) Turn off Themes to prevent visible screen refresh in HC. ;Root: HKCU; SubKey: Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers; ValueType: string; ValueName: {app}\Winharp32.exe; ValueData: DISABLETHEMES; MinVersion: 0,5.01 ; Remove existing settings except serial number ; GE ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options; ValueType: none; ValueName: ; ValueData: ; Flags: deletekey ; Defaults except below are created at run of GE and SE ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options\AutoSave; ValueType: string; ValueName: ; ValueData: 2 ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options\BattlesetPath; ValueType: string; ValueName: ; ValueData: {app} ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options\SavedGamePath; ValueType: string; ValueName: ; ValueData: {app} ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options\WaterColor; ValueType: string; ValueName: ; ValueData: 2 ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI\Options\WaterColorUnit; ValueType: string; ValueName: ; ValueData: 2 ;Root: HKCU; SubKey: Software\Matrix Games\HCEUSNI; ValueType: string; ValueName: ; ValueData: ...; Flags: uninsdeletekey [InnoIDE_Settings] LogFileOverwrite=false [ThirdParty] CompileLogMethod=append