Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Instant Setup does not find Visual Studio 2015 using Windows 10
Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46134] Wed, 16 March 2016 02:17 Go to next message
helmut is currently offline  helmut
Messages: 2
Registered: March 2016
Location: Germany
Junior Member
The path to Visual Studio at my Windows system is E:\Programme (x86)\Microsoft Visual Studio 14.0
Unfortunately Instant Setup did not find and configurate Visual Studio even though the PATH-variable has been set before calling this function.
How can I achieve that Instant Setup can do a good job?
Or could somebody be good enough to provide screenshots for a manual set-up?
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46137 is a reply to message #46134] Wed, 16 March 2016 15:08 Go to previous messageGo to next message
deep is currently offline  deep
Messages: 263
Registered: July 2011
Location: Bangalore
Experienced Member
I am using WIN10 for quite some time.
Programs compiled on WIN10 can run on XP, win7, win8.1

Enclosing my *.bm files

Adjust path as per your install.
Edit lines from MS*.bm files.

My install path is C:\Prog...

Copy .bm file where your TheIDE.exe is.

Alternate

You can add Build method in
Setup->BuildMethod.
Add new method in Left Panel
Then Add paths in
Path,Lib,Include tabs.

  • Attachment: MSC_BM.7z
    (Size: 0.95KB, Downloaded 287 times)


Warm Regards

Deepak
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46140 is a reply to message #46134] Wed, 16 March 2016 17:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Hi,

originally it was searching in default "program files" folder only.

I have now extended this search basically over all harddrives.

Please check tomorrow (2016-03-17) nightly build, should work for you. I would also appreciate report about how it went...

Mirek
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46141 is a reply to message #46140] Wed, 16 March 2016 19:58 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I have got one question. Why we cannot read Visual Studio path from system registry?

On my computer it is located in (source http://stackoverflow.com/questions/1842491/how-do-i-find-the -path-of-visual-studio-in-the-registry-using-python):
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7
Then there is a value 14.0 with value - D:\Programy (x86)\Microsoft Visual Studio 14.0\VC\


Above VS dir is 100% custom, so current ide script dosen't find that path.

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Wed, 16 March 2016 20:45]

Report message to a moderator

Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46143 is a reply to message #46141] Thu, 17 March 2016 08:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Wed, 16 March 2016 19:58
Hello,

I have got one question. Why we cannot read Visual Studio path from system registry?

On my computer it is located in (source http://stackoverflow.com/questions/1842491/how-do-i-find-the -path-of-visual-studio-in-the-registry-using-python):
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7
Then there is a value 14.0 with value - D:\Programy (x86)\Microsoft Visual Studio 14.0\VC\


Above VS dir is 100% custom, so current ide script dosen't find that path.

Sincerely,
Klugier


This is what I did in the past and what proved unreliable. E.g. the path above does not work for my setup...

Mirek
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46145 is a reply to message #46143] Thu, 17 March 2016 21:18 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Can we do something like that? If the first algorithm fails, we use the second way through register to find accurate path. The risk is not big, but for some cases the second path may be good. The biggest drawback of current implementation is that it cannot detects custom path installations.

I have got one additional question - have we got functions to read system registry.

Sincerely,
Klugier

[Updated on: Thu, 17 March 2016 21:20]

Report message to a moderator

Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46146 is a reply to message #46140] Thu, 17 March 2016 22:59 Go to previous messageGo to next message
helmut is currently offline  helmut
Messages: 2
Registered: March 2016
Location: Germany
Junior Member
Hi

Thank you very much for the swift response and remedy.

Thanks to the nightly build upp-mingw-9608 now MSC15 and MSC15x64 have been found automatically with the following directories already specified.

PATH executables directories:.
e:/programme (x86)/microsoft visual studio 14.0/vc/bin
c:/program files (x86)/windows kits/10/bin/x86
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/bin32

INCLUDE directories:
e:/programme (x86)/microsoft visual studio 14.0/vc/include
c:/program files (x86)/windows kits/10/include/10.0.10586.0/um
c:/program files (x86)/windows kits/10/include/10.0.10586.0/ucrt
c:/program files (x86)/windows kits/10/include/10.0.10586.0/shared
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/include

LIB directories:
e:/programme (x86)/microsoft visual studio 14.0/vc/lib
c:/program files (x86)/windows kits/10/lib/10.0.10586.0/ucrt/x86
c:/program files (x86)/windows kits/10/lib/10.0.10586.0/um/x86
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/lib32/VC

I recognized that the installer of Visual Studio put some files to the C drive though I had specified the E drive as installation target (Microsoft SDKs, Microsoft SQL Server, etc.).

Kindly double check whether the directories enumerated above are sufficient. Perhaps links into the SDK directories are missing. If so, please let me know.

Regards
Helmut
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46148 is a reply to message #46146] Fri, 18 March 2016 08:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
helmut wrote on Thu, 17 March 2016 22:59
Hi

Thank you very much for the swift response and remedy.

Thanks to the nightly build upp-mingw-9608 now MSC15 and MSC15x64 have been found automatically with the following directories already specified.

PATH executables directories:.
e:/programme (x86)/microsoft visual studio 14.0/vc/bin
c:/program files (x86)/windows kits/10/bin/x86
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/bin32

INCLUDE directories:
e:/programme (x86)/microsoft visual studio 14.0/vc/include
c:/program files (x86)/windows kits/10/include/10.0.10586.0/um
c:/program files (x86)/windows kits/10/include/10.0.10586.0/ucrt
c:/program files (x86)/windows kits/10/include/10.0.10586.0/shared
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/include

LIB directories:
e:/programme (x86)/microsoft visual studio 14.0/vc/lib
c:/program files (x86)/windows kits/10/lib/10.0.10586.0/ucrt/x86
c:/program files (x86)/windows kits/10/lib/10.0.10586.0/um/x86
E:\upp-mingw-9608\upp\bin/OpenSSL-Win/lib32/VC

I recognized that the installer of Visual Studio put some files to the C drive though I had specified the E drive as installation target (Microsoft SDKs, Microsoft SQL Server, etc.).

Kindly double check whether the directories enumerated above are sufficient. Perhaps links into the SDK directories are missing. If so, please let me know.

Regards
Helmut


The key question is "does it work"?

Instant setup is trying to find 'real files/directories', so if it found them on "C:", then they are really there. In this case, it looks like Visual Studio and C++ compiler were installed on E:\, but SDK was installed on C:\

Mirek
Re: Instant Setup does not find Visual Studio 2015 using Windows 10 [message #46601 is a reply to message #46134] Thu, 09 June 2016 01:54 Go to previous message
DocDJ is currently offline  DocDJ
Messages: 1
Registered: June 2016
Junior Member
I have both VS2013 AND VS2015 installed on my system in the Program Files (x86) directory. UPP Legacy finds VS2013 (because it appears first??), but not VS2015. I want it to find 2015 because of all the new features in both UPP and VS2015.

Is there a way to get UPP to find VS2015 in my situation?

PS. (To avoid the question, "why would you do that?") I need both because I interface with MANY people who create projects in both of them and I can't waste time with conversions, etc. Is it possible for UPP to search for ALL versions and let me choose the one I want to use in the legacy setup?

Previous Topic: InstantSetup patch
Next Topic: Can Ultimate++ be installed on Beaglebone Black running on Debian OS?
Goto Forum:
  


Current Time: Thu Mar 28 23:36:27 CET 2024

Total time taken to generate the page: 0.03016 seconds