Microsoft Visual Studio 2005

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Hiisi
Newbie
Newbie
Posts: 3
Joined: Sat Jun 07, 2008 3:54 am

Microsoft Visual Studio 2005

Post by Hiisi »

Hei!
I'm new to Linux and Wine. I'm using Linux Fedora 7 and Wine 0.9.58. On my computer there's another operating system – Windows XP. Now I'm trying to install Microsoft Visual Studio 2005 Professional on Fedora. And I can't do it. When the installation process begins there's an error message - “A trial edition is already installed on this computer. You must uninstall the previous trial before installing another trial edition.”. VS was installed in Windows and I was thought there's some information about it on HDD in system volume (I mean somewhere in that unmarked 8 MB volume). So, I uninstalled it in Windows but still have the same problem. I tried to clean up all records about Visual Studio in Wine regedit. There were few records about installation process after first try. That didn't help either. Can anyone help please?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

The AppDB says it doesn't work: http://appdb.winehq.org/objectManager.p ... n&iId=4494 though the last test listed was for 0.9.61. You might try upgrading to 1.0-rc4 and see if it's any better.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Microsoft Visual Studio 2005

Post by vitamin »

Hiisi wrote:Hei!
I'm new to Linux and Wine. I'm using Linux Fedora 7 and Wine 0.9.58. On my computer there's another operating system – Windows XP. Now I'm trying to install Microsoft Visual Studio 2005 Professional on Fedora. And I can't do it. When the installation process begins there's an error message - “A trial edition is already installed on this computer. You must uninstall the previous trial before installing another trial edition.”. VS was installed in Windows and I was thought there's some information about it on HDD in system volume (I mean somewhere in that unmarked 8 MB volume).
You not pointing Wine to windows's drive are you?
Matti Picus

Microsoft Visual Studio 2005

Post by Matti Picus »

Wine doesn't know anything about your XP installation, so that's not the
problem. No conspiracy theories here please. The problem actually is
that you are missing mfc42.dll - as you would see if you would run the
installer from the command line and try to parse the multitude of error
messages. If you copy mfc42.dll from the windows partition to wine:

(you may have to adapt this for your system)

cp /mnt/sda1/windows/system32/mfc42.dll ~/.wine/drive_c/windows/system32

then run the installer again, all should work hunky dory.

Hiisi wrote:
Hei!
I'm new to Linux and Wine. I'm using Linux Fedora 7 and Wine 0.9.58. On my computer there's another operating system – Windows XP. Now I'm trying to install Microsoft Visual Studio 2005 Professional on Fedora. And I can't do it. When the installation process begins there's an error message - “A trial edition is already installed on this computer. You must uninstall the previous trial before installing another trial edition.”. VS was installed in Windows and I was thought there's some information about it on HDD in system volume (I mean somewhere in that unmarked 8 MB volume). So, I uninstalled it in Windows but still have the same problem. I tried to clean up all records about Visual Studio in Wine regedit. There were few records about installation process after first try. That didn't help
either. Can anyone help please?

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Microsoft Visual Studio 2005

Post by vitamin »

Matti Picus wrote:Wine doesn't know anything about your XP installation, so that's not the
problem. No conspiracy theories here please. The problem actually is
that you are missing mfc42.dll - as you would see if you would run the
installer from the command line and try to parse the multitude of error
messages. If you copy mfc42.dll from the windows partition to wine:

(you may have to adapt this for your system)
I wonder where do you see that?
Matti Picus

Microsoft Visual Studio 2005

Post by Matti Picus »

vitamin wrote:
Matti Picus wrote:
Wine doesn't know anything about your XP installation, so that's not the
problem. No conspiracy theories here please. The problem actually is
that you are missing mfc42.dll - as you would see if you would run the
installer from the command line and try to parse the multitude of error
messages. If you copy mfc42.dll from the windows partition to wine:

(you may have to adapt this for your system)
I wonder where do you see that?

When I run this from the command line

wine /media/cdrom/vss/setup.exe

I get about 14kB of text, the last bit looks like this, note lines 8,9
starting with err:moduel:


fixme:shdocvw:ClOleCommandTarget_Exec (0xf3a3c4)->((null) 35 0 (nil) (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0xf3a3c4)->((null) 28 2
0x7dbb8e7c (nil))
fixme:shdocvw:ClientSite_GetContainer (0xf3a3c4)->(0x7dbb8cb4)
fixme:shdocvw:InPlaceFrame_SetStatusText (0xf3a3c4)->(0xb7e266d5)
fixme:shdocvw:ClOleCommandTarget_Exec (0xf3a3c4)->((null) 25 2
0x7dbb8be8 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0xf3a3c4)->((null) 26 2
0x7dbb8be8 (nil))
fixme:shdocvw:ClOleCommandTarget_Exec (0xf3a3c4)->((null) 21 2 (nil) (nil))
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\windows\\temp\\SIT18281.tmp\\PIDGen.dll") not found
err:module:import_dll Library MFC42.DLL (which is needed by
L"C:\\windows\\temp\\SIT18281.tmp\\PIDGen.dll") not found
fixme:shdocvw:ViewObject_SetAdvise (0xf34670)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf34670)->(7274600)
fixme:shdocvw:OleObject_Close (0xf34670)->(1)
fixme:shdocvw:ViewObject_SetAdvise (0xf359c0)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf359c0)->(7602288)
fixme:shdocvw:OleObject_Close (0xf359c0)->(1)
fixme:shdocvw:ViewObject_SetAdvise (0xf3a328)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf3a328)->(7340144)
fixme:shdocvw:OleObject_Close (0xf3a328)->(1)
fixme:mshtml:HlinkTarget_SetBrowseContext (0x1459f8)->((nil))
fixme:shdocvw:ViewObject_SetAdvise (0xf4a528)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf4a528)->(6684769)
fixme:shdocvw:OleObject_Close (0xf4a528)->(1)
fixme:shdocvw:ViewObject_SetAdvise (0xf44c20)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf44c20)->(2228258)
fixme:shdocvw:OleObject_Close (0xf44c20)->(1)
fixme:shdocvw:ViewObject_SetAdvise (0xf4d848)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf4d848)->(6619185)
fixme:shdocvw:OleObject_Close (0xf4d848)->(1)
fixme:shdocvw:ViewObject_SetAdvise (0xf4bd88)->(1 00000000 (nil))
fixme:shdocvw:OleObject_Unadvise (0xf4bd88)->(3604595)
fixme:shdocvw:OleObject_Close (0xf4bd88)->(1)
err:ole:CoRevokeClassObject called from wrong apartment, should be
called from 190000001a
C:\windows\temp>del /F "Del653f.tmp"
C:\windows\temp>if exist "Del653f.tmp" goto Repeat
C:\windows\temp>del /F "Del653f.bat"
Sharing violation
Hiisi
Newbie
Newbie
Posts: 3
Joined: Sat Jun 07, 2008 3:54 am

Re: Microsoft Visual Studio 2005

Post by Hiisi »

Matti Picus wrote:Wine doesn't know anything about your XP installation, so that's not the
problem. No conspiracy theories here please. The problem actually is
that you are missing mfc42.dll - as you would see if you would run the
installer from the command line and try to parse the multitude of error
messages. If you copy mfc42.dll from the windows partition to wine:

(you may have to adapt this for your system)

cp /mnt/sda1/windows/system32/mfc42.dll ~/.wine/drive_c/windows/system32

then run the installer again, all should work hunky dory.
Thank you. But if it doesn't work anyway... (I mean VS with Wine) I think I'll try some other compiler. Is there any free alternative with C#?
Marcush
Level 1
Level 1
Posts: 8
Joined: Tue May 27, 2008 1:47 pm

Post by Marcush »

Most all of my C# programs from VS2008 work with mono(www.mono-project.com) and you can develop with monodevelop IDE(www.monodevelop.com).
Locked