Can't install Civ4

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Can't install Civ4

Post by BobTheBull »

I know this is a long shot, but I have to ask.

I had tried to get Civ4 working in Wine without success in the past, but recently was encouraged to try again based on reports in the Civ4 linux forum. One key was that versions before 1.3.X didn't work.

Running openSuse 11.4, which installed Wine 1.3.12, I just followed the usual procedure to install Civ4, Beyond the Sword and my favorite mod, ROM-AND. This is not the easiest install in native Windoze, btw. I was pleasantly surprised that each step just worked without my doing anything out of the ordinary. I just double clicked on the appropriate install files and it all installed without a hitch. To get it to run I had to copy two .dll's to system32, per notes in appDB and Civ4 linux forum.Then it all worked. WHOOHOO! This is a very elaborate and resource intensive game if you are using the ROM-AND mod, even in Windblows, That it not only worked but worked well in Wine (better than in Win in my experience) was amazing.

But, due to other problems, I decided to install Suse 12.1 as a clean install to clean up some things. That worked well, and Suse installed 1.3.33 for me, and then updated it to 1.3.34. Wine works fine, and I have installed some lite weight programs with no problem.

The kicker is, the installer for Civ4 will not run now, as in does not install. After starting it the same way it terminates with a message:

An error has occurred while running the setup.

Please make sure you have finished any previous setup and closed other applications.
If the error still occurs please contact your vendor: Fireaxis Games.
Then follows an url to the vendor at the time (circa 2005), so this message has to be coming from the installer for Civ4.

It spits out the following info:

Error Code: -5006 : 0x8000ffff
Error Information:
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\ObjectHolder.cpp (442)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\ObjectHolder.cpp (442)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>Kernel\ServiceProvider.cpp (87)
>Kernel\FileGroup.cpp (520)
>Kernel\ServiceProvider.cpp (109)
>K>SetupDLL\SetupDLL.cpp (1284)
PAPP:Sid Meier's Civilization 4

Anyone got a clue why, apparently, this one installer won't even take off, much less finish, when it did before? And yes, I did make sure the install file was not corrupted.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install Civ4

Post by dimesio »

BobTheBull wrote: But, due to other problems, I decided to install Suse 12.1 as a clean install to clean up some things. That worked well, and Suse installed 1.3.33 for me, and then updated it to 1.3.34. Wine works fine, and I have installed some lite weight programs with no problem.

The kicker is, the installer for Civ4 will not run now, as in does not install. After starting it the same way it terminates with a message:
Terminal output? http://wiki.winehq.org/FAQ#get_log
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

OK, I got a log, pretty long. How do I put it in a wrapper or post it in a box so it doesn't take up a whole page?[/list]
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

BobTheBull wrote:OK, I got a log, pretty long. How do I put it in a wrapper or post it in a box so it doesn't take up a whole page?
Use pastebin.com and post a link here.
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

I found the pastebin site but don't know how to paste a link here.
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

OK, here I think is the error log.

<script src="http://pastebin.com/embed_js.php?i=ikUsq0Wx"></script>
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

Code: Select all

<script src="http://pastebin.com/embed_js.php?i=ikUsq0Wx"></script>
[/url]
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

OK, still don't know how.
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

OK, this seems to work.

http://pastebin.com/embed_js.php?i=ikUsq0Wx

BTW, It installs in Mandriva, which is using 1.3.28, so this seems to be something with versions 1.3.33 and later, and possibly also Suse 12.1 or kernel 3.1.X. Note the problem is getting the installer to run; it fails in the installshield wizard stage. This is the only installer I have found to do this in most recent versions.

Civ4 itself does run; copied the prefix from the old 11.4 install, renamed it and set WINEPREFIX and the game ran. There were problems in the environment, though, and I decided it would not be wise to try to use the old bottle with the new version.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Code: Select all

err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\\\Program Files (x86)\\\\Common Files\\\\InstallShield\\\\Professional\\\\RunTime\\\\IsProBE.tlb" failed with error 2
Try installing to a 32 bit wineprefix using WINEARCH=win32.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Can't install Civ4

Post by jjmckenzie »

On Sun, Dec 18, 2011 at 10:31 AM, BobTheBull <[email protected]> wrote:
OK, this seems to work.

http://pastebin.com/embed_js.php?i=ikUsq0Wx

BTW, It installs in Mandriva, which is using 1.3.28, so this seems to be something with versions 1.3.33 and later, and
possibly also Suse 12.1 or kernel 3.1.X. Note the problem is getting the installer to run; it fails in the installshield wizard
stage. This is the only installer I have found to do this in most recent versions.

Civ4 itself does run; copied the prefix from the old 11.4 install, renamed it and set WINEPREFIX and the game ran.
There were problems in the environment, though, and I decided it would not be wise to try to use the old bottle with the
new version.
Actually, you should be able to run the program as long as the Wine
architecture is the same (32 or 64 bit). Reading through your pastie,
I noticed what dimesio noticed. You are trying to run a 32 bit
program in 64 bit Wine. This may require forcing the architecture to
32 bit and creating a new Wine prefix to go along with this change.

After doing this, please install and run the program again. If it
does not run, please provide a new log file on pastebin.

Thank you.

James
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

I could have told you that wouldn't work, because I tried it before.

But I did it anyway because you said to, everything from the command line. The only difference is all that in the error log I posted before is now in my BASH window.

To repeat, there is something quercky going on that prevents this installshield from running.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

BobTheBull wrote: But I did it anyway because you said to, everything from the command line. The only difference is all that in the error log I posted before is now in my BASH window.
Including this?

Code: Select all

err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\\\Program Files (x86)\\\\Common Files\\\\InstallShield\\\\Professional\\\\RunTime\\\\IsProBE.tlb" failed with error 2
Because if you are still seeing that line, then you have NOT created a 32 bit wineprefix.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Can't install Civ4

Post by jjmckenzie »

On Sun, Dec 18, 2011 at 7:07 PM, BobTheBull <[email protected]> wrote:
I could have told you that wouldn't work, because I tried it before.

But I did it anyway because you said to, everything from the command line. The only difference is all that in the error log I
posted before is now in my BASH window.

To repeat, there is something quercky going on that prevents this installshield from running.
Can you capture the output from the bash window to a log file and post
it to pastebin? We asked that you try a 32 bit architecture because
of the line:

c:\Program Files (x86)\.....

This indicates the program or its installer is 32 bit.

Try this for me:

Code: Select all

export WINEPREFIX=$HOME/wine32bit
export WINEARCH=win32
Now try installing the program through Installshield to include
logging the output to a file.

Post the file to pastebin and provide dimesio and me with the URL here.

Thank you.

James
BobTheBull
Level 2
Level 2
Posts: 21
Joined: Wed Jan 27, 2010 1:27 pm

Post by BobTheBull »

Well, Glory Be!

Did that and it worked. The installer ran and installed the first step. This is a difficult install and many people have had a lot of trouble with it in Windows; there are 6 installer to run to get the whole thing installed.

Could have sworn I did that before because that was one of the suggestions in the Civ4 forum, but must have done it wrong. Just at a guess, does it matter that you set winearch after setting wineprefix?. Another observation: after setting the above in terminal had to run each installer from the terminal. If I double clicked on the .exe it was installed to the default prefix, /home/username/.wine. Since I want this set up in it's own bottle on my data drive, as it takes 4.1G for the whole install, I kept using the command line and it worked.

It did set up an icon in programs menu which I copied to favorites to make starting the game easy. It does load all the way, although have not really played it yet.

Many thanks for all your help. After some game play to affirm it really works I guess I should post this in appsDB.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

BobTheBull wrote:Just at a guess, does it matter that you set winearch after setting wineprefix?.
What matters is that WINEARCH=win32 is set when you first create the wineprefix. The architecture of a wineprefix cannot be changed after it is created.
Locked