Error Code: -5004 : 0x80041f42

CivTycoon

A Bit Out of the Ordinary
Joined
Feb 10, 2009
Messages
46
Location
Zangaro
Hey, I'm relatively new here. This is only my second post!
Anyways, as I was installing Civ IV: BtS on my Windows 7 Studio laptop, the shortcut for Civ IV vanilla didn't work, so I deleted it. Then when Civ IV on the Start -->All Programs --> Sid Meier's Civilization IV didn't work, I deleted that. Now, whenever I put the disk in it always asks me whether I want to Play or not, and not re-install the game. Whenever I do click the Play button the computer doesn't recognize the disk. When I try to run the uninstaller this error code appears:

Error Code: -5004 : 0x80041f42
Error Information:
*C:\Program Files (x86)\Common Files\InstallShield\Professional\RunTime\12\00\Intel32\iKernel.dll
>inc\CoCreate.cpp (44)
>SetupDLL\SetupDLL.cpp (1390)
PAPP:Sid Meier's Civilization 4
PVENDOR:Firaxis Games (##IDS_PRODUCT_URL##)
PGUID:CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8

I've done my homework and I've checked this error out on the Internet and it seems to be a sort of Registry problem. Exactly what do I delete in the Registry in order to uninstall Civ IV and safely re-install it so as to get it up and working again?

I would greatly appreciate any help :)
 
I'm afraid that my registry can only search for just one key that says CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8. Do I just delete that one key?
Here is where I found it: C:\ Program Files (x86) InstallShield Installation Information\ CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8.
 
thats fine - there should be another one - but the installshield one is the one that usually causes troubles.
Also: rename or delete your installshield folder (NOT the installshield installation information folder) before you retry the installation.
 
Okay, so I do delete that one key in the registry that says CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8.
But SHOULD I just delete the InstallShield Folder or SHOULD I just rename it? How would I accomplish anything by just renaming it? And rename it to what, exactly?
Also, when I do eventually deal with the InstallShield Folder and that CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8 registry key, will that be the end of this error code -5004 : 0x80041f42?
 
with these install errors unfortunately its trial and error :sad:
so there are no guarantees that it will work. But just so you know what this does:
the registry key tells windows that bts is already installed as well as its patch version - removing this makes sure windows actually allows you to install.
However your error message seems to point to a wrong or improperly installed version of installshield - by renaming it to anything else (installshield_old comes to mind) makes sure that the BtS installer does not find it when he looks for it to start the installation routine - when that happens it will install the version that it ships with and continue (hopefully). The same would be accomplished with just deleting it, however if the installation fails for other reasons at an early stage you would thus lose the installshield program and that might cause headaches if you want to uninstall a program next before installing any other program that uses installshield - so I would rename it, see if the install works and at least installs installshield again - if it does you are safe to delete the renamed folder, if it does not you can just name it back to its original name and at least no further damage is done.
 
Where can I find the InstallShield Folder? My Registry search when I click Ctrl F can't locate it. It only keeps pointing to that key CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8.
And, how can I check to see if the renamed InstallShield Folder works or even installs InstallShield again?
These are the folders where I located that key that says CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8: H-Key Users > S-1-5-21-3711931649-160655231-2398797320-1000 > Software > Microsoft > Windows NT > Current Version > AppCompatFlags > Compatibility Assistant > Persisted. And in the Persisted folder there was, once again, C:\ Program Files (x86) InstallShield Installation Information\{CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8}\setup.exe
 
I still can't seem to find InstallShield. I configured Windows to show hidden files and I searched the Control Panel and GodMode, but it still didn't show up. All I found was InstallShield InstallDriver in the registry. Here's where I found it:

HKEY_LOCAL_MACHINE > SOFTWARE > Classes > D71CBC24-F638-4606-9023-E11891FA52D7
 
Also, pertaining to InstallShield, I found some other labels with InstallShield in them like InstallShield engine and and InstallShield setup user interface and these two things:

C:\Program Files (x86)\Common Files\InstallShield\Driver\10\Intel 32\

C:\Program Files (x86)\Common Files\InstallShield\engine\6\Intel 32\

Are these it? Because it doesn't seem to exactly match your location and it doesn't have the code CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8.
 
we are talking past each other :)

delete the registry keys that include
CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8

(really only the one with installshield installation information needs to go)

then close the registry editor and go to the installshield folder on your hard drive - according to your posts it is most likely

C:\Program Files (x86)\Common Files\InstallShield

rename that to

C:\Program Files (x86)\Common Files\InstallShield_old
if there is a
C:\Program Files\Common Files\InstallShield
rename that as well
then restart the computer and after that rerun the installer - but make sure to run the setup.exe on the disc as administrator.
 
I renamed the installshield and deleted that lone key with the code CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8 and renamed the InstallShield folder InstallShield_old. But when I tried to uninstall Civ IV from the Add/Remove programs list it just said to:

Close any running programs
Empty your temporary folder
And check your internet connection

This time the error code was -6003. What now?
 
Yes, but when I put the disk in it still asks me if I want to play. There is no option for uninstallment. And when I do click play, the computer just freezes and I have to press the Escape key to get the computer running again.
Also, I can't find error -6003 on google. I'm a bit stuck.
 
Never mind. I figured it all out, fortunately. I manually deleted every reference to Civ IV I could find in the registry and voila! I installed it again.
Thank you for your guidance, though, throughout the fiasco. :)
 
thank you for the info so far. but though i deleted the registry key CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8 i stiil have the same problem. how do i find stuff in the registry? what is a registry?
 
Welcome to CFC :band:

look for the two keys with
CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8
in their name - delete them

I am having the same problem. I'm trying to uninstall civ iv.

If I delete registry key will I be able to uninstall?

btw, this is what i see when i try to uninstall.

Error Code: -5004 : 0x80041f42
Error Information:
*C:\Program Files (x86)\Common Files\InstallShield\Professional\RunTime\12\00\Intel32\iKernel.dll
>inc\CoCreate.cpp (44)
>SetupDLL\SetupDLL.cpp (1390)
PAPP:Sid Meier's Civilization 4
PVENDOR:Firaxis Games (##IDS_PRODUCT_URL##)
PGUID:CFBCE791-2D53-4FCE-B3FB-D6E01F4112E8
$11.0.0.28844
@Windows XP (7600) BT_OTHER 12883.30619

I dont know why it says "windows xp" as I am running windows 7 Home premium.

EDIT: I also have "InstallShield2" listed along with "Common Files". Not sure if that has any relevance.
EDIT: I see only one registry key. Is there supposed to be two?

-.-
 
After locating and deleting registry key, I renamed "installshield" folder and rebooted system.

When I checked 'remove program', Civ IV was no longer listed, and upon inserting cd, I was not prompted to uninstall but only to play and readme.

I then explored cd, opened setup.exe, received notice that program did not install correctly and was prompted to reinstall properly with admin privilege. So I will do this and then reopen remove program to hopefully uninstall.

I'll post results in 24hrs.

-.-
 
Back
Top Bottom