diff --git a/setup/scripts/main.iss b/setup/scripts/main.iss index d212f631ba..e65c6b4e9e 100644 --- a/setup/scripts/main.iss +++ b/setup/scripts/main.iss @@ -68,6 +68,40 @@ #define ConfigurationName "Debug" #endif +; Test for VS2013 +#ifexist SourcePath + "..\..\vc12\Win32\Release\Shareaza.exe" + #ifdef Compiler + #error Found a few Shareaza.exe files, you need to leave only one + #endif + #define Compiler "vc12" + #define PlatformName "Win32" + #define ConfigurationName "Release" +#endif +#ifexist SourcePath + "..\..\vc12\x64\Release\Shareaza.exe" + #ifdef Compiler + #error Found a few Shareaza.exe files, you need to leave only one + #endif + #define Compiler "vc12" + #define PlatformName "x64" + #define ConfigurationName "Release" +#endif +#ifexist SourcePath + "..\..\vc12\Win32\Debug\Shareaza.exe" + #ifdef Compiler + #error Found a few Shareaza.exe files, you need to leave only one + #endif + #define Compiler "vc12" + #define PlatformName "Win32" + #define ConfigurationName "Debug" +#endif +#ifexist SourcePath + "..\..\vc12\x64\Debug\Shareaza.exe" + #ifdef Compiler + #error Found a few Shareaza.exe files, you need to leave only one + #endif + #define Compiler "vc12" + #define PlatformName "x64" + #define ConfigurationName "Debug" +#endif + ; Test for VS2008 #ifexist SourcePath + "..\..\vc9\Win32\Release\Shareaza.exe" #ifdef Compiler