Windows installer: remove bin dir as a first step of installation (#16704)

It fixes problem with unwanted qmldir in 2.31 which is in `bin/StatusQ`
when overriding 2.30.1 or older installation.

Closes: #16693
This commit is contained in:
Michał 2024-11-04 15:11:05 +01:00 committed by GitHub
parent ece9b7a901
commit be04a4db7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ Name: "{userdesktop}\{#Name}"; Filename: "{app}\{#ExeName}"; IconFilename: "{app
Filename: "{app}\vendor\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Installing VS2017 redistributable package (64 Bit)"; Filename: "{app}\vendor\vc_redist.x64.exe"; Parameters: "/install /quiet /norestart"; StatusMsg: "Installing VS2017 redistributable package (64 Bit)";
Filename: "{app}\{#ExeName}"; Description: {cm:LaunchProgram,{#Name}}; Flags: nowait postinstall skipifsilent Filename: "{app}\{#ExeName}"; Description: {cm:LaunchProgram,{#Name}}; Flags: nowait postinstall skipifsilent
[InstallDelete]
Type: filesandordirs; Name: "{app}\bin"
[UninstallDelete] [UninstallDelete]
Type: filesandordirs; Name: "{app}" Type: filesandordirs; Name: "{app}"
Type: files; Name: "{userdesktop}\{#Name}" Type: files; Name: "{userdesktop}\{#Name}"