fix(@desktop/installer): InnoSetup script fixes

This commit is contained in:
Andrei Smirnov 2021-08-10 15:53:56 +03:00 committed by Andrei Smirnov
parent 7f3810b67a
commit fd91b39af3
1 changed files with 7 additions and 8 deletions

View File

@ -17,11 +17,8 @@ AppSupportURL={#URL}
AppUpdatesURL={#URL} AppUpdatesURL={#URL}
DefaultDirName=C:\{#Name} DefaultDirName=C:\{#Name}
UsePreviousAppDir=no UsePreviousAppDir=no
WizardStyle=modern WizardStyle=modern
UninstallDisplayIcon={app}\{#ExeName} UninstallDisplayIcon={app}\{#ExeName}
DefaultGroupName={#Name} DefaultGroupName={#Name}
; output dir for installer ; output dir for installer
@ -30,8 +27,7 @@ OutputBaseFileName={#BaseName}
; Icon file ; Icon file
SetupIconFile=resources\{#IcoName} SetupIconFile=resources\{#IcoName}
; Compression ; Compression (default is lzma2/max)
Compression=lzma
SolidCompression=yes SolidCompression=yes
[Languages] [Languages]
@ -62,16 +58,19 @@ Name: desktopicon; Description: "Create a &desktop icon"; GroupDescription: "Add
Name: quicklaunchicon; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked Name: quicklaunchicon; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked
[Icons] [Icons]
Name: "{group}\{#Name}"; Filename: "{app}\{#ExeName}"; WorkingDir: "{app}"
Name: "{group}\Uninstall {#Name}"; Filename: "{uninstallexe}"
Name: "{userdesktop}\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: desktopicon Name: "{userdesktop}\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: desktopicon
Name: "{commonprograms}\Status\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: quicklaunchicon Name: "{commonprograms}\Status\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: quicklaunchicon
Name: "{commonstartup}\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: quicklaunchicon Name: "{commonstartup}\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app}\resources\{#IcoName}"; Tasks: quicklaunchicon
[Run]
Filename: "{app}\{#ExeName}"; Description: {cm:LaunchProgram,{#Name}}; Flags: nowait postinstall skipifsilent
[UninstallDelete] [UninstallDelete]
Type: filesandordirs; Name: "{app}" Type: filesandordirs; Name: "{app}"
Type: files; Name: "{userdesktop}\{#Name}" Type: files; Name: "{userdesktop}\{#Name}"
Type: files; Name: "{commondesktop}\{#Name}"
[Registry] [Registry]
Root: HKCU; Subkey: "Software\Classes\status-im"; ValueType: "string"; ValueData: "URL:status-im protocol"; Flags: uninsdeletekey Root: HKCU; Subkey: "Software\Classes\status-im"; ValueType: "string"; ValueData: "URL:status-im protocol"; Flags: uninsdeletekey