Index: scripts/setup.iss =================================================================== diff -u -r6fe1573093611534a494e99b816f3ddcd8ba70a3 -rc77c50cef1b11f89bd75ede1e98ca68f8a8387c6 --- scripts/setup.iss (.../setup.iss) (revision 6fe1573093611534a494e99b816f3ddcd8ba70a3) +++ scripts/setup.iss (.../setup.iss) (revision c77c50cef1b11f89bd75ede1e98ca68f8a8387c6) @@ -18,13 +18,15 @@ #define LibictranslateFilename "libictranslate64u.dll" #define ICTranslateFilename "ictranslate64.exe" #define InstallerFilename "chsetup64" + #define MSRedistDir "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\amd64" #else #define ExeFilename "ch.exe" #define ShellExtFilename "chext.dll" #define LibicpfFilename "libicpf32u.dll" #define LibictranslateFilename "libictranslate32u.dll" #define ICTranslateFilename "ictranslate.exe" #define InstallerFilename "chsetup32" + #define MSRedistDir "C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\x86" #endif #define MyAppExeName ExeFilename @@ -84,6 +86,8 @@ Source: ..\bin\release\ch.ini.template; DestDir: {app}; Flags: ignoreversion Source: ..\bin\release\help\*; DestDir: {app}\help; Flags: ignoreversion recursesubdirs createallsubdirs Source: ..\bin\release\langs\*; DestDir: {app}\langs; Flags: ignoreversion recursesubdirs createallsubdirs +Source: {#MSRedistDir}\Microsoft.VC90.CRT\*; DestDir: {app}; Flags: ignoreversion +Source: {#MSRedistDir}\Microsoft.VC90.MFC\*; DestDir: {app}; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files [Icons]