Skip to content

Commit cbc448e

Browse files
committed
Added MSVC Run Time
1 parent 6d11ea5 commit cbc448e

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed
445 KB
Binary file not shown.
948 KB
Binary file not shown.
242 KB
Binary file not shown.

listeners/installer/listeners.iss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
#endif
3434
#define AppVersion maxVersion(USBExe, RFIDExe)
3535
36+
#define sys GetEnv("windir") + "\system32"
37+
#define CRT sys +"\MSVCR120.DLL"
38+
3639
; Define this to write the preprocessed output to a file Preprocessed.iss and open it in the IDE
3740
;#define DebugPP
3841
@@ -67,6 +70,11 @@ Source: "..\..\LICENSE.txt"; DestDir: "{app}"; Flags: ignoreversion
6770
Source: "GPII.ico"; DestDir: "{app}"; Flags: ignoreversion
6871
Source: "GPII_USBListener.ico"; DestDir: "{app}"; Flags: ignoreversion
6972
Source: "GPII_RFIDListener.ico"; DestDir: "{app}"; Flags: ignoreversion
73+
; Dependencies
74+
; We copy the VS x86 redistributable CRT files in case they are not on the system
75+
; C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT
76+
; Note Inno does a 32bit install by default so sys is actually SysWow64 (yeah, I know!)
77+
Source: "MSVCRedist\*"; DestDir: "{sys}"; Flags: onlyifdoesntexist sharedfile
7078
7179
[Icons]
7280
; Start menu

0 commit comments

Comments
 (0)