Skip to content

Commit

Permalink
install script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Oct 3, 2017
1 parent fca2b39 commit 7903e74
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions setup/scripts/main.iss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7903e74

Please sign in to comment.