Winetricks Paradox

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Winetricks Paradox

Post by RedWagon »

Trying to install Office 2007, .Net 2.0 was recommended but doesn't seem to want to install:

verdow@TheOne:~$ sudo chmod +x winetricks
verdow@TheOne:~$ ./winetricks dotnet20
Executing wget -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://source.winehq.org/winegecko.php?v=0.1.0
--2009-01-21 18:21:40-- http://source.winehq.org/winegecko.php?v=0.1.0
Resolving source.winehq.org... 209.46.25.134
Connecting to source.winehq.org|209.46.25.134|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://surfnet.dl.sourceforge.net/sourc ... -0.1.0.cab [following]
--2009-01-21 18:21:40-- http://surfnet.dl.sourceforge.net/sourc ... -0.1.0.cab
Resolving surfnet.dl.sourceforge.net... 130.59.138.20
Connecting to surfnet.dl.sourceforge.net|130.59.138.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5746895 (5.5M) [application/x-cab]
wine_gecko-0.1.0.cab: Permission denied
Cannot write to `wine_gecko-0.1.0.cab' (Permission denied).
Note: command 'wget -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://source.winehq.org/winegecko.php?v=0.1.0' returned status 1. Aborting.
verdow@TheOne:~$ sudo !!
sudo ./winetricks dotnet20
wine: /home/verdow/.wine is not owned by you
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
verdow@TheOne:~$

...also this is what the GUI looks like for me:
Image
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Post by RedWagon »

Almost forgot:
Xubuntu 8.10, Wine 1.1.11, Acer Aspire One (1.6 Intel Atom, 1GB RAM).
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

First, never run wine (or winetricks) as sudo/root.
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014

Second, Office 2007 does not need any tweaks or overrides to install in recent versions of Wine.

Delete your ~/.wine and run the Office 2007 installer as a normal user.
http://appdb.winehq.org/objectManager.p ... n&iId=4992
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Winetricks Paradox

Post by austin987 »

On Wed, Jan 21, 2009 at 6:04 PM, dimesio <[email protected]> wrote:
First, never run wine (or winetricks) as sudo/root.
http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014

Second, Office 2007 does not need any tweaks or overrides to install in recent versions of Wine.

Delete your ~/.wine and run the Office 2007 installer as a normal user.
http://appdb.winehq.org/objectManager.p ... n&iId=4992





You've botched your permissions. To be safe:

$ sudo rm -rf ~/.wine*

Which will remove ~/.wine and ~/.winetrickscache

(just be sure you don't have a folder/file named ~/.wine-important-stuff-here)

--
-Austin
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Post by RedWagon »

Office 2007 crashes every time I successfully enter the CD key so I started trying some tips I found online. I removed the wine directory like you said and it still crashed.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

RedWagon wrote:Office 2007 crashes every time I successfully enter the CD key so I started trying some tips I found online. I removed the wine directory like you said and it still crashed.
What version of Office 2007 (Pro, Standard, etc.)?
Post console output.
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Post by RedWagon »

Office 2007 Enterprise
verdow@TheOne:~/Downloads/Microsoft Office 2007 Corperate$ wine setup.exe
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:hook:IsWinEventHookInstalled (32778)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32781)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32782)-stub!

The last line repeats forever. It took me a couple tries to catch the first two lines. The window pulls up right, but as soon as a correct key is entered it locks up and starts chewing up all the CPU cycles it can allocate itself. The little green check mark doesn't show up so I'm guessing the error is just in whatever validates the key. I'm actually considering getting a cracked version just so I can bypass the CD key.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Winetricks Paradox

Post by austin987 »

On Thu, Jan 22, 2009 at 3:26 PM, RedWagon <[email protected]> wrote:
Office 2007 Enterprise
verdow@TheOne:~/Downloads/Microsoft Office 2007 Corperate$ wine setup.exe
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:hook:IsWinEventHookInstalled (32778)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32781)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32782)-stub!

The last line repeats forever. It took me a couple tries to catch the first two lines. The window pulls up right, but as soon as a correct key is entered it locks up and starts chewing up all the CPU cycles it can allocate itself. The little green check mark doesn't show up so I'm guessing the error is just in whatever validates the key. I'm actually considering getting a cracked version just so I can bypass the CD key.





Try setting riched20 to native in winecfg (just set the override,
don't copy a native one).

--
-Austin
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

RedWagon wrote:Office 2007 Enterprise
verdow@TheOne:~/Downloads/Microsoft Office 2007 Corperate$ wine setup.exe
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:hook:IsWinEventHookInstalled (32778)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32781)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32782)-stub!

The last line repeats forever. It took me a couple tries to catch the first two lines. The window pulls up right, but as soon as a correct key is entered it locks up and starts chewing up all the CPU cycles it can allocate itself. The little green check mark doesn't show up so I'm guessing the error is just in whatever validates the key. I'm actually considering getting a cracked version just so I can bypass the CD key.
That's normal console output; I get the same thing running the Office 2007 Enterprise installer.

Originally you said it crashed. Did it actually crash, or did you just get tired of waiting and kill it?

Office 2007 Enterprise takes a long time to display the last digit of the product key and move on to the next step. It takes about a minute on my 2.3 GHz system; I imagine it could take quite a bit longer on an underpowered netbook. The delay has nothing to do with validation; it's a deficiency in Wine's riched20. http://bugs.winehq.org/show_bug.cgi?id=15027

You can speed up the process by using native riched20 for the installer, or just wait longer.

After installing, set riched20 to (native, builtin), as Powerpoint won't start up without it, and it fixes some other glitches in Word as well. There's no need to copy the dll or use winetricks; Office 2007 installs its own riched20, but the override needs to be set in order for Wine to use it. (If you want to set the override for the installer, you will have to copy the dll or use winetricks, as Office's version won't be installed yet.)
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Winetricks Paradox

Post by austin987 »

On Thu, Jan 22, 2009 at 5:31 PM, dimesio <[email protected]> wrote:
After installing, set riched20 to (native, builtin), as Powerpoint won't start up without it, and it fixes some other glitches in Word as well. There's no need to copy the dll or use winetricks; Office 2007 installs its own riched20, but the override needs to be set in order for Wine to use it. (If you want to set the override for the installer, you will have to copy the dll or use winetricks, as Office's version won't be installed yet.)
No, it will still work. Just set it to native, it runs its own copy.

--
-Austin
RedWagon
Level 2
Level 2
Posts: 18
Joined: Mon Oct 27, 2008 2:02 am

Post by RedWagon »

I waited longer and it worked, I have just been nervous letting things run like that since I have yet to get a working temperature sensor. I am amazed at how smoothly everything is running (even wobbly windows works!)
Welp, there's one less reason to stick with Windows :D
James McKenzie

Winetricks Paradox

Post by James McKenzie »

dimesio wrote:
RedWagon wrote:
Office 2007 Enterprise
verdow@TheOne:~/Downloads/Microsoft Office 2007 Corperate$ wine setup.exe
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:hook:IsWinEventHookInstalled (32778)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32781)-stub!
fixme:hook:IsWinEventHookInstalled (32780)-stub!
fixme:hook:IsWinEventHookInstalled (32782)-stub!

The last line repeats forever. It took me a couple tries to catch the first two lines. The window pulls up right, but as soon as a correct key is entered it locks up and starts chewing up all the CPU cycles it can allocate itself. The little green check mark doesn't show up so I'm guessing the error is just in whatever validates the key. I'm actually considering getting a cracked version just so I can bypass the CD key.
That's normal console output; I get the same thing running the Office 2007 Enterprise installer.

Originally you said it crashed. Did it actually crash, or did you just get tired of waiting and kill it?

Office 2007 Enterprise takes a long time to display the last digit of the product key and move on to the next step. It takes about a minute on my 2.3 GHz system; I imagine it could take quite a bit longer on an underpowered netbook. The delay has nothing to do with validation; it's a deficiency in Wine's riched20. http://bugs.winehq.org/show_bug.cgi?id=15027

You can speed up the process by using native riched20 for the installer, or just wait longer.
Dimensio:

It may be the lack of EM_FORATRANGE support in riched. I had problems
like this until I incorporated it. However, the last build I did this
successfully with was 9.59 (a long time ago.)

James McKenzie
Locked