mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Install VC redistributable for x64 or x86, blowing up the installer to 45MB. Using a command line taken from https://gist.github.com/mistic100/1fb61107eedd48cb0011 , but without the code for version comparing, as I can't find the right GUIDs for v14.28.29914.00 . Closes #1296
This commit is contained in:
BIN
out/VC_redist.x64.exe
Normal file
BIN
out/VC_redist.x64.exe
Normal file
Binary file not shown.
BIN
out/VC_redist.x86.exe
Normal file
BIN
out/VC_redist.x86.exe
Normal file
Binary file not shown.
@@ -113,6 +113,9 @@ Source: "libiconv-2-32.dll"; DestDir: "{app}"; DestName: "libiconv-2.dll"; Check
|
||||
; SQLite:
|
||||
Source: "sqlite3-64.dll"; DestDir: "{app}"; DestName: "sqlite3.dll"; Check: Is64BitInstallMode; Flags: ignoreversion
|
||||
Source: "sqlite3-32.dll"; DestDir: "{app}"; DestName: "sqlite3.dll"; Check: not Is64BitInstallMode; Flags: ignoreversion
|
||||
; VC redistributable
|
||||
Source: VC_redist.x64.exe; DestDir: "{app}"; Check: Is64BitInstallMode; Flags: ignoreversion
|
||||
Source: VC_redist.x86.exe; DestDir: "{app}"; Check: not Is64BitInstallMode; Flags: ignoreversion
|
||||
|
||||
|
||||
[Icons]
|
||||
@@ -131,6 +134,8 @@ Root: HKCU; Subkey: "Software\{#ProgName}"; ValueType: dword; ValueName: "DoUsag
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#ProgExeName}"; Description: "Launch {#ProgName}"; Flags: nowait postinstall skipifsilent
|
||||
Filename: "{app}\VC_redist.x64.exe"; Parameters: "/q /norestart /q:a /c:""VC_RED~2.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; Check: Is64BitInstallMode; StatusMsg: Installing VC++ 2019 x64 Redistributables...
|
||||
Filename: "{app}\VC_redist.x86.exe"; Parameters: "/q /norestart /q:a /c:""VC_RED~1.EXE /q:a /c:""""msiexec /i vcredist.msi /qn"""" """; Check: not Is64BitInstallMode; StatusMsg: Installing VC++ 2019 x86 Redistributables...
|
||||
|
||||
[Code]
|
||||
var
|
||||
|
||||
Reference in New Issue
Block a user