Can't install Microsoft Visual C++ 2005 Redistributable

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Bob Morane
Newbie
Newbie
Posts: 3
Joined: Sat Jan 10, 2009 8:27 am

Can't install Microsoft Visual C++ 2005 Redistributable

Post by Bob Morane »

Hello, i wanted to install a software that requires the Microsoft Visual C++ 2005 Redistributable environment. The software normally includes this installer, but it didn't work. I tried downloading the Visual C++ directly from microsoft, and install it. The installer started, showed briefly a progress bar, and stopped. When i go to uninstall, Visual C++ appears, but can't be uninstalled.

Finally, i tried to use winetricks to install it. Here is the output i got from the script :

Code: Select all

Executing wine /home/roland/.winetrickscache/vcrun2005/vcredist_x86.exe
fixme:advapi:DecryptFileA "C:\\windows\\temp\\IXP000.TMP\\" 00000000
fixme:advapi:DecryptFileA "C:\\windows\\temp\\IXP001.TMP\\" 00000000
fixme:advapi:LookupAccountNameW (null) L"roland" (nil) 0x33f77c (nil) 0x33f780 0x33f774 - stub
fixme:advapi:LookupAccountNameW (null) L"roland" 0x138b08 0x33f77c 0x137d48 0x33f780 0x33f774 - stub
fixme:msi:ACTION_HandleStandardAction unhandled standard action L"SetODBCFolders"
fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 10 ignored L"MsiAssembly" table values
fixme:mscoree:LoadLibraryShim (0x7ee326ac L"fusion.dll", (nil), (nil), 0x33f848): semi-stub
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
fixme:msi:MsiEnumProductsExA (null) (null) 4 0 0x7e1f3698 0x7e1f367c (nil) (nil)
Install of vcrun2005 done
The other application still doesn't run. It gives me errors about missing dlls, those dlls the Visual C++ installer should install. I checked my system32 folder, the dlls are indeed missing.

I found something about adding win2k to winetricks in order for it to install this package, but if i do i can find the dlls in my system32 folder, but the software doesn't run, it gives me errors related to those dlls.

Could someone help me to get this package installed. I ran out of ideas. I even tried to extract the content of the installer with cabextract to see if i could find those dlls and install them by hand, but the files inside have strange names, and i don't know which one to copy where. :?
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

i have tried that too, in appdb it looks like it should work...dont know where my problem was, but i gave up and run native solutions.
got Code:Blocks running on Linux with mingw and wxwindows to compile Windows Apps.
Thats really great i think and better than MSVC
James McKenzie

Can't install Microsoft Visual C++ 2005 Redistributable

Post by James McKenzie »

Bob Morane wrote:
Hello, i wanted to install a software that requires the Microsoft Visual C++ 2005 Redistributable environment. The software normally includes this installer, but it didn't work. I tried downloading the Visual C++ directly from microsoft, and install it. The installer started, showed briefly a progress bar, and stopped. When i go to uninstall, Visual C++ appears, but can't be uninstalled.

Finally, i tried to use winetricks to install it. Here is the output i got from the script :

You need to try the last item with a clean wine.

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

Re: Can't install Microsoft Visual C++ 2005 Redistributable

Post by vitamin »

Bob Morane wrote:Hello, i wanted to install a software that requires the Microsoft Visual C++ 2005 Redistributable environment. The software normally includes this installer, but it didn't work. I tried downloading the Visual C++ directly from microsoft, and install it.
There are few known issues with that. Use winetricsk to install msvc runtime: http://wiki.winehq.org/winetricks
Bob Morane
Newbie
Newbie
Posts: 3
Joined: Sat Jan 10, 2009 8:27 am

Re: Can't install Microsoft Visual C++ 2005 Redistributable

Post by Bob Morane »

vitamin wrote:There are few known issues with that. Use winetricsk to install msvc runtime: http://wiki.winehq.org/winetricks
That's what i did, but it didn't work that well.
James McKenzie wrote:You need to try the last item with a clean wine.
I was 99% positive that's what i did. Looks like i fell in the other 1%. Completely removed wine and .wine directory, reinstalled wine and tried again. Winetricks allowed me to install vcrun2005 this time.
Note : it didn't install in system32 but in strangely named sub-folders of the winsxs folder.

Now i don't get dll errors, but the app fails to initialize it's openGL display.

Code: Select all

WARNING: 3DConnexion Plug-in Error: Could not create Device, CoCreateInstance failed
I tried reverting to metacity instead of compiz-fusion with metacity --replace before running it, it didn't help.
Looks like i'll keep my windows partition in the end. Thanks for your help.
James McKenzie

Can't install Microsoft Visual C++ 2005 Redistributable

Post by James McKenzie »

Bob Morane wrote:
vitamin wrote:
There are few known issues with that. Use winetricsk to install msvc runtime: http://wiki.winehq.org/winetricks
That's what i did, but it didn't work that well.

James McKenzie wrote:
You need to try the last item with a clean wine.
I was 99% positive that's what i did. Looks like i fell in the other 1%. Completely removed wine and .wine directory, reinstalled wine and tried again. Winetricks allowed me to install vcrun2005 this time.
Note : it didn't install in system32 but in strangely named sub-folders of the winsxs folder.

Now i don't get dll errors, but the app fails to initialize it's openGL display.

Code:
WARNING: 3DConnexion Plug-in Error: Could not create Device, CoCreateInstance failed


I tried reverting to metacity instead of compiz-fusion with metacity --replace before running it, it didn't help.
Looks like i'll keep my windows partition in the end. Thanks for your help.
You need to remove both compiz and Metacity. No extenders will work
with Wine right now.

James McKenzie
Bob Morane
Newbie
Newbie
Posts: 3
Joined: Sat Jan 10, 2009 8:27 am

Post by Bob Morane »

Huh, if i remove Metacity, what Window Manager should i use? :shock:
Metacity is the default Gnome Window Manager. It doesn't have any 3D acceleration. It would be like removing KWin on a KDE desktop.
Gert van den Berg

Can't install Microsoft Visual C++ 2005 Redistributable

Post by Gert van den Berg »

On Tue, Jan 13, 2009 at 4:37 PM, Bob Morane <[email protected]> wrote:
Huh, if i remove Metacity, what Window Manager should i use? [Shocked]
Metacity is the default Gnome Window Manager. It doesn't have any 3D acceleration. It would be like removing KWin on a KDE desktop.
IIRC correctly recent Metacity versions has compositing effects, that
can be disabled from somewhere... (I'm a KDE user for now...)

Gert
chourmovs
Level 3
Level 3
Posts: 80
Joined: Wed Apr 09, 2008 3:11 pm

Can't install Microsoft Visual C++ 2005 Redistributable

Post by chourmovs »

i've noticed that installing vcrun2008 before 2005 helped for me
chourmovs
Level 3
Level 3
Posts: 80
Joined: Wed Apr 09, 2008 3:11 pm

Re: Can't install Microsoft Visual C++ 2005 Redistributable

Post by chourmovs »

chourmovs wrote:i've noticed that installing vcrun2008 before 2005 helped for me
with winetricks i meant :D
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Similar problem, from a noob

Post by lml99 »

I've had problems installing visual c++ runtime 2005 as well. Just so you know, I'm a complete noob. This is the first time I've ever had to use wine, and I don't know the inner workings of the Linux OS at all. Any commands I've used have been written by someone else and saved on my computer to copy and paste, or I've found online and just copy and pasted. I've tried uninstalling all my wine stuff in synaptic and reinstalling all of it. I've redownloaded runtime several times off of Microsoft's website, and I had the same issues as this user. However, even after I uninstalled/reinstalled wine, It still didn't install properly. I tried using winetricks as well, before and after reinstalling wine. At first it gave me an error, but now there seems to be an issue with winetricks. Whenever you try to install an app, it will start the installation process. I'm not sure what goes on exactly since I don't keep my eye on it, but afterwards, an option appears on your initial "choose a wineprefix" screen with the name of the app. If you select apps and choose ok, you'll see all of the apps lined up like they're supposed to be. However, the app that you tried to install before is marked as cached. If you select that app and click ok, you are brought back to the initial choose a wineprefix window, and nothing happens. I've chosen the app's option on the initial choose a wineprefix page and cleared out the data in that particular wineprefix, but it is still marked as cached under the download apps page. I tried reinstalling the application after that, and the task was completed, although this error message: "Note: command '7z x /home/louis/.cache/winetricks/vc2005express/VC.iso' returned status 127. Aborting." appeared. I tried a game that required visual c++ runtime 2005, and it didn't work, so I suspect it still hasn't properly installed yet. What does this error message mean? What should I do? Thanks for any help you can give.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Similar problem, from a noob

Post by spoon0042 »

lml99 wrote:I tried reinstalling the application after that, and the task was completed, although this error message: "Note: command '7z x /home/louis/.cache/winetricks/vc2005express/VC.iso' returned status 127. Aborting." appeared. I tried a game that required visual c++ runtime 2005, and it didn't work, so I suspect it still hasn't properly installed yet. What does this error message mean? What should I do? Thanks for any help you can give.
Error 127 means you don't have 7zip installed, but it looks like you're trying to install Visual Studio for some reason. You want 'winetricks vcrun2005' for the redistributable instead of whatever you were trying.

Anyway be sure to look up whatever app you're trying to run in http://appdb.winehq.org/ if you're still having problems.
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

Thanks. I know I need to install visual runtime, and I'm not sure if visual studios is another name for it. I installed 7zip successfully. However, I can't find vcrun2005 under the install apps wineprefix. I looked under the default wineprefix and 7zip wineprefix, and if you select install windows DDL or component, it appears there. However, when you select it and hit ok, you're just sent back to the wineprefix's window, and nothing else happens. I also tried to install visual runtime from Microsoft.com a few times too, but it always encountered an error. By accident, I ended up deleting the runtime files each time before I tried to uninstall them, and now whenever I go to uninstall wine software and I try to uninstall them, an error occurs. Will this affect me installing runtime successfully? If so, how do I solve this? Thanks for the help, and sorry for the nooby questions.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

lml99 wrote:Thanks. I know I need to install visual runtime, and I'm not sure if visual studios is another name for it. I installed 7zip successfully. However, I can't find vcrun2005 under the install apps wineprefix. I looked under the default wineprefix and 7zip wineprefix, and if you select install windows DDL or component, it appears there. However, when you select it and hit ok, you're just sent back to the wineprefix's window, and nothing else happens. I also tried to install visual runtime from Microsoft.com a few times too, but it always encountered an error. By accident, I ended up deleting the runtime files each time before I tried to uninstall them, and now whenever I go to uninstall wine software and I try to uninstall them, an error occurs. Will this affect me installing runtime successfully? If so, how do I solve this? Thanks for the help, and sorry for the nooby questions.
Try starting over with a clean wineprefix--delete or rename the old one.

Report problems with winetricks to http://winetricks.org.

In the future, start a new thread rather than resurrecting a three-year-old one.
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

dimesio wrote:
lml99 wrote:Thanks. I know I need to install visual runtime, and I'm not sure if visual studios is another name for it. I installed 7zip successfully. However, I can't find vcrun2005 under the install apps wineprefix. I looked under the default wineprefix and 7zip wineprefix, and if you select install windows DDL or component, it appears there. However, when you select it and hit ok, you're just sent back to the wineprefix's window, and nothing else happens. I also tried to install visual runtime from Microsoft.com a few times too, but it always encountered an error. By accident, I ended up deleting the runtime files each time before I tried to uninstall them, and now whenever I go to uninstall wine software and I try to uninstall them, an error occurs. Will this affect me installing runtime successfully? If so, how do I solve this? Thanks for the help, and sorry for the nooby questions.
Try starting over with a clean wineprefix--delete or rename the old one.

Report problems with winetricks to http://winetricks.org.

In the future, start a new thread rather than resurrecting a three-year-old one.
Sorry about that. I'll make sure to start a new thread next time. I tried deleting the winprefix for visual c++ runtime 2005 express and and 7zip. I reinstalled 7zip fine. However, after I'd finished the installation process on visual runtime, I got the same error message as before (the top one) and After I clicked finish, I got the bottom error.
Image
I installed 7zip, so I don't know why the second is still showing up. Do I need to install visual runtime in the 7zip wineprefix or something? Thanks.
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

sorry, better pic: Image
(And by the way, I couldn't crop any of the windows since I don't have a software like MS paint yet. Sorry.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

lml99 wrote:I tried deleting the winprefix for visual c++ runtime 2005 express and and 7zip.
Which are you trying to install--the runtime or Visual C++ 2005 Express? My guess is that what you want is the former; the latter is for developing apps. But if you really do want Visual C++ Express, you shouldn't be installing anything before installing it--winetricks takes care of everything it needs to install. Make sure you have the latest winetricks; it should be 20120308 (type winetricks --version).
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

dimesio wrote:
lml99 wrote:I tried deleting the winprefix for visual c++ runtime 2005 express and and 7zip.
Which are you trying to install--the runtime or Visual C++ 2005 Express? My guess is that what you want is the former; the latter is for developing apps. But if you really do want Visual C++ Express, you shouldn't be installing anything before installing it--winetricks takes care of everything it needs to install. Make sure you have the latest winetricks; it should be 20120308 (type winetricks --version).
:oops: I feel stupid now. I mistook them to be the same thing. Again, super noob mistake. Sorry, but do you know if you can install runtime through winetricks? Whenever I get it off Microsoft.com and run it through wine, a window asking for my agreement to the terms of use, then a loading bar appears for a spit second, and disappears. I tried the above user's solution several times, but it never worked.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

lml99 wrote:Sorry, but do you know if you can install runtime through winetricks?
Sure. The command is

Code: Select all

winetricks vcrun2005
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

dimesio wrote:
lml99 wrote:Sorry, but do you know if you can install runtime through winetricks?
Sure. The command is

Code: Select all

winetricks vcrun2005
Thanks. In the terminal, it said vcrun2005 was already installed, so I guess it must have happened somewhere along the way and I missed it. However, I realized that the reason my game wasn't working was because I didn't have Directx installed (probably another noob mistake on my part), so I might start another thread on that soon. I'm having issues with that too. Could you guys help me with that too? Thanks.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Can't install Microsoft Visual C++ 2005 Redistributable

Post by jjmckenzie »

On Mon, Apr 9, 2012 at 12:36 PM, lml99 <[email protected]> wrote:
dimesio wrote:
lml99 wrote:
Sorry, but do you know if you can install runtime through winetricks?
Sure. The command is

Code:
winetricks vcrun2005

Thanks. In the terminal, it said vcrun2005 was already installed, so I guess it must have happened somewhere along the way and I missed
it. However, I realized that the reason my game wasn't working was because I didn't have Directx installed (probably another noob mistake on
my part), so I might start another thread on that soon. I'm having issues with that too. Could you guys help me with that too? Thanks.
I would highly suggest starting a new thread after searching the
forums AND reading the Applications Database. Most of DirectX 9 has
been implemented into Wine and installing Directx9 'over top' might
cause breakage. If there is no Applications Database entry for the
program you are trying to run, capture a logging file and then post it
to a site like pastebin.com. http://wiki.winehq.org/#get_log is a
good place for information on how to capture logging files.

James
lml99
Level 1
Level 1
Posts: 7
Joined: Fri Apr 06, 2012 8:48 am

Post by lml99 »

ok, thanks.
Locked