Failed to install vcrun2005 in Debian PC.

Questions about Wine on Linux
Locked
talent
Newbie
Newbie
Posts: 2
Joined: Sat Jan 26, 2013 4:05 pm

Failed to install vcrun2005 in Debian PC.

Post by talent »

I tried to install Microsoft Visual C++ Runtime Library in my linux computer by using winetricks, the output was shown as follow:

Code: Select all

guest@maize:~$ sudo winetricks -q vcrun2005
Executing w_do_call vcrun2005
Executing load_vcrun2005
Executing mkdir -p /root/.cache/winetricks/vcrun2005
Downloading http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE to /root/.cache/winetricks/vcrun2005
--2013-01-27 01:00:08--  http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE
Resolving download.microsoft.com... 23.59.190.123, 23.59.190.122
Connecting to download.microsoft.com|23.59.190.123|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2707352 (2.6M) [application/octet-stream]
Saving to: `vcredist_x86.EXE'

100%[======================================>] 2,707,352   4.02M/s   in 0.6s

2013-01-27 01:00:13 (4.02 MB/s) - `vcredist_x86.EXE' saved [2707352/2707352]

Using native,builtin override for following DLLs: msvcr80
Executing winetricks_early_wine regedit /S C:\windows\Temp\_vcrun2005\override-dll.reg
Executing wine vcredist_x86.EXE /q
fixme:advapi:DecryptFileA "C:\\users\\root\\Temp\\IXP000.TMP\\" 00000000
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
------------------------------------------------------
Note: command 'wine vcredist_x86.EXE /q' returned status 43.  Aborting.
By the way, i installed wine successfully and x-window(xfce4) is up and running. What can I do to correct this error? Thanks!
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Failed to install vcrun2005 in Debian PC.

Post by dimesio »

talent wrote:

Code: Select all

guest@maize:~$ sudo winetricks -q vcrun2005
Never run Wine as root. Follow the instructions in the FAQ to fix the permissions errors you've created: http://wiki.winehq.org/FAQ#run_as_root
Locked