Ted.

Does anyone know how to get around the MDAC check in the Service Pack 5 setup of Visual Studio 6.0 For some reason it doesn't detect MDAC 2.5 or higher which it requires (even though Vista obviously has a later version - 6.0) and the setup will not continue from that point.

I've tried every registry key I could think of to trick it into thinking MDAC is installed.

Thanks

Ted.



Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ganeshm

Visual studio 6.0 is not supported on Win Vista.




Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ted.

Totally untrue - the support on Vista has been committed to by Microsoft until March of 2008 

http://msdn2.microsoft.com/en-us/vbrun/ms788708.aspx

I know for a fact that it runs perfectly on Vista as I have run it successfully on many previous builds of Vista (as upgrades of an XP machine).  I'm asking how I can get a clean build of Vista to allow me to install SP5.  





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

PocketPC Coder

Ted,

Did you get any more info about this I am running into the same issue. I am digging now but if you got a workaround from another source it would be appriciated.

Glen





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ted.

Yes, I did - I even went so far as to file a Vista bug with the Microsoft Beta Client utility (you should do the same: get it at http://go.microsoft.com/fwlink/ LinkId=43655 )

See:

http://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=82726&SiteID=4

(note: you must be a member of the Vista Beta program to view the above bug)

The response that I got is that Microsoft "won't fix" it.   You can vote on this suggestion if you disagree.

Based on this description:

http://msdn.microsoft.com/vbrun/vistasupport.aspx

they should at least provide support for the IDE until at least March of 2008.  

The workaround for now is to use another machine (an XP machine) to install the service pack, by using a mapped network share to your Vista drive (change some registry keys, there are several of them, in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0 and 6.0\Setup\ (and all keys in subfolders) that are pointing to your own install on XP to the network drive) e.g. map a drive on your XP machine to your Vista machine (e.g. M: ) then change those registry keys to point to your M: copy of Visual Studio. Then install the service pack on your XP machine, and your Vista machine will get updated.  Don't forget to change the registry keys back to C: and then reinstall under XP so your XP machine is not broken. 





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

strontium90

Can you be more exact as I have run into a brick wall when trying to install vb6....Are you sure these are the correct registry changes




Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ted.

Here they are (each key is followed by the value name you need to change)

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0]
InstallDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup]
VsCommonDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Developer Network Library - Visual Studio 6.0a]
ProductDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Basic]
ProductDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++]
ProductDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual InterDev]
ProductDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual SourceSafe]
ProductDir

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual Studio]
ProductDir





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

strontium90

Cheers....have it running now...got round it in a different way....copied entire visual studio 6 folder from xp and altered registry HKEY_Local_Machine\SOFTWARE\Microsoft\VisualStudio\6 from destination C: to X: where I have Vista....Had to install MDAC sp7 to get Access to work




Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

guideX

I'm having the same problem with Visual Studio 6. I get as far as installing service pack 5 and it says I need to install MDAC 2.5, then I install MDAC 2.8 and it installs ok, but I get the same problem. It's horrible, I use Visual Studio 6 for everything.. Been trying to switch to .net, but the languages are too different.




Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ted.

You'll need a non-Vista machine and copy over or use the trick I mentioned, until someone can figure out what the SP5/SP6 setup process is using to determine whether MDAC is installed. I've tried using filemon and regmon utilities from www.sysinternals.com but have never been able to figure out what it's checking.

Can someone in Microsoft with access to the source code to SP5/SP6 setup tell me what specifically it's checking for (e.g. a specific file, version info, registry key etc) then at least we can put those things in place temporarily before installing.





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

guideX

So I know there was the whole 'copy your files over from XP' but i wasn't satisfied with that, so I did some digging, and figured out ... it checks for mdac which makes it fail, but we're going to remove that check for mdac.

how to make service pack 5 install on vista beta 2 without another pc!

Tutorial:
Step 1) Open C:\ServicePack5Dir\sp598ent.stf with 'Notepad.exe'

Step 2) Replace the following line

13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

-with-


13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43

Step 3) Delete the following lines leaving only a carriage return where it was


36 Depend "27 : 37"
37 IsWin95 CustomAction "sp598ent.dll,CheckForMDAC"

Step 4) Save and close C:\ServicePack5Dir\sp598ent.stf
Step 5) Run setupsp5.exe

I would offer a download link to the fixed file, but I believe that may be a copyright violation.

guideX

PS> Please take note that I am the first living human to ever run visual studio 6 service pack 5 successfully from vista  






Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Youssef

GuideX,

You rock!!!!!!!!!!!!. How in the world did you figure that one out My Goodness.

That worked like a charm. Amazing.

Thanks a million. Just made my day.





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Ted.

Guidex, you are the man, this is what I've been waiting for - thanks!





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Evan Lin

guideX

Thanks a lot, we have confuse it for a whille.





Re: General Windows Vista Development Issues Visual Studio 6.0 SP5 setup on Vista Beta 2 (5384)?

Number4

GuideX I think we all owe you a beer or 5.