Visual Studio .net 2003

Questions about Wine on Linux
Locked
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Visual Studio .net 2003

Post by afdinc »

Hi All!

Thanks for making and sharing Wine! It's wonderful software.

That said, however... I'm having trouble getting it to do what I want it to do.

I have a fresh wine install in Arch Linux, a fresh 32 bit wine prefix ~/.wine created with WINEARCH=win32 winecfg, and I can install and run some windows software, but cannot get Visual Studio .net 2003 to install.

It sold as 4 CDROMs:

Prerequisites (this installs fine with wine setup.exe)
Disc 1 (wine setup.exe for this disc this fails)
Disc 2 (can't get to this one before disc 1 installs)
Student Tools (and although I tried this one, it notices that Visual Studio is not yet installed and so refuses to install).

I get no error message in the terminal where I launch wine setup.exe for disc 1. I get the nice window opening telling me that I've completed step 1 of 4 and that I'm ready to install Visual Studio (step 2), but about 5-10 seconds after I click step 2, this window disappears and I have no feedback whatsoever on why.

I've used winetricks to install almost all the verbs (am I using that word correctly here) from before 2003 and many after 2003. The only exceptions are some codecs, ie6 (because this pushes me back from step 2 to step 1 in the VS install process by downgrading my ie6sp1 to ie6.

Any suggestions?

Has anyone managed to get this working in wine yet?

Thanks in advance.
-Kevin
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Thank you dimesio. I hadn't seen that report. But wow, am I reading that issue correctly? Patch submitted in 02008 and the patch has still not been incorporated into wine sources? If so, just curious about why.

=-=-=
Anastasius Focht 2008-01-29 12:27:23 CST
Created attachment 10514 [details]
...
The attached patch fixes the VS.NET 2003 installer problem for me, starting the correct prerequisites sub-installer.

=-=-=-
Anastasius Focht 2015-01-24 05:14:36 CST

Hello folks,

same procedure as every year.
Still present.

$ wine --version
wine-1.7.34-159-g7b45103
=-=-=-=-=-

Will Anastasius' patch still apply 7 years later?

What have others here done to work around this bug?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

Use the patches in wine-staging, linked to in comment 41.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Is there a simple way to apply those patch files all at once from the command line? Or must I browse to that URL, download each patch file separately, then run git apply or git am?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

I believe Arch has binary packages for wine-staging, so you could simply use that, though that will mean getting all the unapproved patches in their build. If you want only the patches for that bug you will have to download and apply them individually.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Right, they are in the Arch User's Repository (AUR), not the official packages.

But I just want the one patch mentioned in this thread. I've cloned the wine dev sources using git. And I feel certain that there must be a simple git command for incorporating all of the changes associated with that one patch in comment 41. But I just haven't figured out what it is yet. I need to learn more about git anyway, so I'm doing the codeschool.com courses, but if you know a simple git pull or git fetch or some command like that, which will merge all of the changes from the patch in comment 41 into my local cloned wine-git tree, I'd be very grateful to you for posting it here.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

I've never tried it, but I think this is what you want: http://stackoverflow.com/questions/1849 ... n-one-shot.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

I was thinking I could somehow pass just that URL (or some derivative of it): https://github.com/wine-compholio/wine- ... ForExePath

...pass that directly to git on the commandline somehow and get all 3 patch files applied to my local copy.

But your link to the Q/A on SO worked for me. Thank you.

Now I just need to figure out all the configure options I want to use. Yikes there are loads of them!

"--with-x use the X Window System"
is not the default?! That seems odd to me...

And "--with-wine-tools"? What is that? I found this forum post (viewtopic.php?t=10535), but I'm still not clear on exactly what that is. wine-tools does not seem to be a package in Arch official or AUR.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Oh. I guess wine-tools is in the wine/tools source directory? Sorry if that was a silly question...
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Well I ended up installing wine-staging 1.7.39 from AUR just because it seemed the quickest. Happily, I found it to be just as stable as wine 1.7.40 from the official Arch repository (which was very stable IMO).

And I'm pleased to report that I WAS able to get beyond the silent crash I mentioned above with wine-staging 1.7.39, many thanks no doubt to Anastasius Focht.

But unfortunately, the installation script still hangs for me; this time when it prompts me to "Please insert the disk: Visual Studio .NET Academic 2003 - English Disk 1". This comes after it seems to install everything from disk 1 (as evidenced by the progress bar reaching completion). That is the disk that was inserted when I ran "wine /mnt/setup.exe". I clicked [Retry] many times to no avail. The other button that I could click was [Cancel] and that too did nothing. In both cases, the dialog box merely opened up again and again and again ad infinitum. So I tried inserting disk 2 (and 3 and 4), but these all behaved the same way. Ultimately, I had to kill the process from the command line using linux tools because there was apparently no other way.

Has anyone else seen this and managed to get past it?

What troubles me the most however is that this page https://msdn.microsoft.com/en-us/librar ... 71%29.aspx lists:

Microsoft Visual FoxPro 8.0
Visual Studio .NET 2003

as if I will be getting all of VFP8 when I install VS.NET2003, but in all of the components I was able to choose in the Options step of the install process, I saw no mention whatsoever of VFP! The only real reason I want to install it in wine is to get the VFP runtimes from it. If there's another way to get the VFP8 runtimes (for running VFP applications), perhaps someone could help me out here and explain? I can't even find VFP8 for sale on eBay.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

afdinc wrote: And I'm pleased to report that I WAS able to get beyond the silent crash I mentioned above with wine-staging 1.7.39, many thanks no doubt to Anastasius Focht.
It's thanks to Erich Hoover.
as if I will be getting all of VFP8 when I install VS.NET2003,
Nothing on that page implies that. I read it as meaning Visual FoxPro 8.0 depends on VS .NET2003.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

dimesio wrote:
afdinc wrote: And I'm pleased to report that I WAS able to get beyond the silent crash I mentioned above with wine-staging 1.7.39, many thanks no doubt to Anastasius Focht.
It's thanks to Erich Hoover.
Really? In Comment 1 I see:

"Anastasius Focht 2008-01-29 12:27:23 CST

Created attachment 10514 [details]
patch which fixes VS.NET 2003 (2002 too?) installer bug, shell execute app path expansion..."

Though now that I look I do see the name Erich Hoover in the sources. My apologies for the oversight on my part, Erich. And my thanks to you for the patches. But for whatever contribution Anastasius had (in comments 1, 41, et. al.), I thank you for that too.
dimesio wrote:
afdinc wrote: as if I will be getting all of VFP8 when I install VS.NET2003,
Nothing on that page implies that. I read it as meaning Visual FoxPro 8.0 depends on VS .NET2003.
That's not my interpretation. Although I'll admit on review that my earlier interpretation is not clearly evident on that page either.

So how does one legitimately acquire VFP8 now that it's no longer in production?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Visual Studio .net 2003

Post by dimesio »

The AppDB howto mentions some winetricks are needed. Did you install those? https://appdb.winehq.org/objectManager. ... n&iId=1173
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

Yup, did that. I should probably update the AppDB with my experiences. I found a copy of VFP8 on eBay that I'm gonna try to install first, before I update the AppDB though.
afdinc
Level 2
Level 2
Posts: 11
Joined: Fri Apr 03, 2015 5:27 am

Re: Visual Studio .net 2003

Post by afdinc »

I ended up abandoning (for now at least) this quest to get VFP8 running in wine.
Locked