Question

Sometimes, when running an InstallShield installation, an error dialog will appear containing the text "1158", and OK button, and nothing else. InstallShield error 1158 means there was a problem with loading strings from the associated ini file, but their troubleshooting steps have not worked for me. Also, I doubt that there is actually a problem with the strings; the information on that page suggests that a problem with strings would not be intermittent.

Here are the results of my investigation so far:

  • The problem occurs before any other dialogs are displayed (including the prerequisites dialog), which leads me to believe this is a problem with the bootstrapper (setup.exe), not Windows Installer.
  • The problem is intermittent, occurring frequently on some machines and almost never on others.
  • The problem is not related to a particular build of the installation. The same setup.exe might fail one time and succeed if run again on the same machine.
  • The problem appears to be related to Windows Explorer. I've never been able to reproduce this by launching the setup.exe through other means (e.g. cmd.exe).
    • This hampers debugging efforts, since passing command line arguments to generate debug logs causes the installation to succeed.
  • I've only seen this problem on Windows XP.
    • This may not mean anything since newer versions of Windows are not used often within my company.

Has anyone else encountered this problem or know of a fix?

Was it helpful?

Solution

I opened a support ticket with Flexera to get to the bottom of this. Based on their responses, this is a translation problem with the setup.exe bootstrapper. In InstallShield 2009, if the "Setup Launcher Type" field (on the "Setup" tab of a release) is set to Unicode, this problem might happen sometimes. Setting the "Setup Launcher Type" to ANSI seems to fix the problem. Also, I have not experienced the problem in InstallShield 2010, so they might have already fixed it.

As a side note, I was told that InstallShield 2009 was the first version to allow a "Setup Launcher Type" of Unicode, so this bug was probably introduced in that version. Prior versions always used ANSI.

OTHER TIPS

Check your setup.ini - it's either missing or corrupted. Also check its encoding.

I had a similar problem today. Copying the setup.exe to a different drive resolved the issue.

To get around this aoe tad or war chiefs 1158 error there is another way:

  • Try to find a computer that will let you read the disk to see all the content on the disk there should be at least 15 or 14 items for the Asian dynasty and 25 or more items for war chiefs.

  • Once you achieve this you will need a usb drive 2gb at most copy and paste all item content to the usb drive, you may or may not get a massage not able to copy something something(temp 0002) or (temp 0001) just press the skip button till it finishes.

  • Exit the usb drive from the computer, also take you're disk with you, once you get to the computer you want game installed on.

  • Open up usb double click on setup and you should be on your way enter product code and walla you will be asked to put your game disk in so have ready.

  • Now I recommend that you make a desk top folder and copy and paste you're files that you just copied to you're usb to that folder, name it Asian dynasty/war chiefs.

Good luck hope this works for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top