Skip to content

Commit 315f0af

Browse files
committed
Corrected inno flags for MSVCRT
1 parent cbc448e commit 315f0af

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

listeners/installer/listeners.iss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
#endif
3434
#define AppVersion maxVersion(USBExe, RFIDExe)
3535
36-
#define sys GetEnv("windir") + "\system32"
37-
#define CRT sys +"\MSVCR120.DLL"
38-
3936
; Define this to write the preprocessed output to a file Preprocessed.iss and open it in the IDE
4037
;#define DebugPP
4138
@@ -74,7 +71,7 @@ Source: "GPII_RFIDListener.ico"; DestDir: "{app}"; Flags: ignoreversion
7471
; We copy the VS x86 redistributable CRT files in case they are not on the system
7572
; C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT
7673
; Note Inno does a 32bit install by default so sys is actually SysWow64 (yeah, I know!)
77-
Source: "MSVCRedist\*"; DestDir: "{sys}"; Flags: onlyifdoesntexist sharedfile
74+
Source: "MSVCRedist\*"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile
7875
7976
[Icons]
8077
; Start menu

0 commit comments

Comments
 (0)