Windows installer: remove bin dir as a first step of installation

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ł Cieślak 2024-11-04 11:33:36 +01:00 committed by Michał
parent 6ffbf38b0a
commit b62aad6b34
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}\{#ExeName}"; Description: {cm:LaunchProgram,{#Name}}; Flags: nowait postinstall skipifsilent
[InstallDelete]
Type: filesandordirs; Name: "{app}\bin"
[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Type: files; Name: "{userdesktop}\{#Name}"