It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi folks,
having some very strange issues with the installer. Multiple games, it is not related to the games.
I remember that I never had issues with the older installers before. I do not use GOG Galaxy, just offline installers.
I am working constantly on identifying the issue, so will add information to this as I go.
Issue happens on my gaming rig, Win10 Enterprise 2016 LTSB v1607
Ryzen 7 1700 OCed thru P-states, ASUS ROG CROSSHAIR VI HERO

*Running game installation and getting multiple errors during install, maybe random, maybe not - YES RANDOM

Error during install: Internal error: Expression error 'Runtime Error (at 500:57): Out of string range.'
Error on installer finish: Runtime Error (at 210:63):Out Of Stack Range. + Runtime Error (at 210:69):Out Of Stack Range. + Out Of Stack Range.

--------
Solutions identified:
Seems that installing from local volume or network makes no difference.
Verification always passes, so data integrity is not the issue.
*Found that if I install this on my second machine (Win7 x64 Ultimate) the installer has no problems at all.
*Found that when this error happens, the files will not be completely unpacked, comparing it to a successful install on my W7 machine, the files were smaller, so issue is unpacking.

Seems DebugView is not getting any output to identify issues, nor is the Event log.

*Installation to HDD was successful, now testing installing to SSD on Win7 machine.
*Installation to SSD on Win7 successful. Issue must be related to OS or specific HW on W10 machine.
Installation again to W10 SSD. SSD TRIM was performed and setting affinity. - FAILED
--- no matter how many cores are used by affinity, tested 1-7
*Testing installation on Win7, but source is network on Win10 HDD, install destination is Win10 SSD network path-SUCCESS .. maybe NTFS stream handling that is not going thru network normally
*Testing installation on Win10, using normal drive as source, but using networked path as destination-FAILED
*Testing installing on the SSD system partition instead of data partition. - SUCCESS

Geez running out of ideas.. why would it be OK on C: but gives errors on D: if it is the same SSD drive

*Disk checks are all OK. Defragmented D: to have different blocks available - FAIL
*Compatibility mode to Win7 - FAIL
*Latest BIOS 6201 did not resolve the issue.

Found that sometimes it happens even when installing on C drive.. strange makes no sense..
Tested to format the drive with different cluster size or different file system.. no difference
***Started to shut down all non-critical services and programs running - WOOT.. now that sofar seems to be the solution
*Sofar, it seems that all is needed is to stop the Razer Chroma SDK service - testing more, happened again.. damn

Now why the hell would Razer Chroma SDK service have anything to do with GOG installer?
I remember that there was one game that would not start without that to be running as well.
But installer? And only GOG installer? Very strange...

Stopping the IDrive service as well.. sofar so good.. will test more installers as it is obviously intermitent
Strange behavior of some installers that would not start installing.. seems removing AMD Ryzen Master solved that..

OK all my testing is completed. Razer Chroma SDK was not the real issue. For some reason the real issue is the IDRIVE service, even thou it is not doing anything on D drive, as soon I stop the service, I do not have a problem installing. Must be some conflict between GOG installer and IDRIVE services.

Hope this helps the developers somehow in the future.

*****
Todo:
***Check if it always happens to the same files / if the files always have the same erroneous size. - NO, RANDOM
***Check if it is the SSD destination. - YES, this seems to be the case, installing to HDD has no issues.
***Check if it is CPU issue / threads / cores etc.. - Does not seem to be related to CPU core/threads
***Check if MB firmware can solve the SSD/OS compatibility issue. - NO, still same issue
***Identify what program / service is causing this. - IDrive service, with some impact of AMD Ryzen Master probably
Post edited October 06, 2018 by NemesisSK
No posts in this topic were marked as the solution yet. If you can help, add your reply
avatar
NemesisSK: Hi folks,
having some very strange issues with the installer. Multiple games, it is not related to the games.
I remember that I never had issues with the older installers before. I do not use GOG Galaxy, just offline installers.
I am working constantly on identifying the issue, so will add information to this as I go.
Issue happens on my gaming rig, Win10 Enterprise 2016 LTSB v1607
Ryzen 7 1700 OCed thru P-states, ASUS ROG CROSSHAIR VI HERO

*Running game installation and getting multiple errors during install, maybe random, maybe not - YES RANDOM

Error during install: Internal error: Expression error 'Runtime Error (at 500:57): Out of string range.'
Error on installer finish: Runtime Error (at 210:63):Out Of Stack Range. + Runtime Error (at 210:69):Out Of Stack Range. + Out Of Stack Range.

--------
Solutions identified:
Seems that installing from local volume or network makes no difference.
Verification always passes, so data integrity is not the issue.
*Found that if I install this on my second machine (Win7 x64 Ultimate) the installer has no problems at all.
*Found that when this error happens, the files will not be completely unpacked, comparing it to a successful install on my W7 machine, the files were smaller, so issue is unpacking.

Seems DebugView is not getting any output to identify issues, nor is the Event log.

*Installation to HDD was successful, now testing installing to SSD on Win7 machine.
*Installation to SSD on Win7 successful. Issue must be related to OS or specific HW on W10 machine.
Installation again to W10 SSD. SSD TRIM was performed and setting affinity. - FAILED
--- no matter how many cores are used by affinity, tested 1-7
*Testing installation on Win7, but source is network on Win10 HDD, install destination is Win10 SSD network path-SUCCESS .. maybe NTFS stream handling that is not going thru network normally
*Testing installation on Win10, using normal drive as source, but using networked path as destination-FAILED
*Testing installing on the SSD system partition instead of data partition. - SUCCESS

Geez running out of ideas.. why would it be OK on C: but gives errors on D: if it is the same SSD drive

*Disk checks are all OK. Defragmented D: to have different blocks available - FAIL
*Compatibility mode to Win7 - FAIL
*Latest BIOS 6201 did not resolve the issue.

Found that sometimes it happens even when installing on C drive.. strange makes no sense..
Tested to format the drive with different cluster size or different file system.. no difference
***Started to shut down all non-critical services and programs running - WOOT.. now that sofar seems to be the solution
*Sofar, it seems that all is needed is to stop the Razer Chroma SDK service - testing more, happened again.. damn

Now why the hell would Razer Chroma SDK service have anything to do with GOG installer?
I remember that there was one game that would not start without that to be running as well.
But installer? And only GOG installer? Very strange...

Stopping the IDrive service as well.. sofar so good.. will test more installers as it is obviously intermitent
Strange behavior of some installers that would not start installing.. seems removing AMD Ryzen Master solved that..

OK all my testing is completed. Razer Chroma SDK was not the real issue. For some reason the real issue is the IDRIVE service, even thou it is not doing anything on D drive, as soon I stop the service, I do not have a problem installing. Must be some conflict between GOG installer and IDRIVE services.

Hope this helps the developers somehow in the future.

*****
Todo:
***Check if it always happens to the same files / if the files always have the same erroneous size. - NO, RANDOM
***Check if it is the SSD destination. - YES, this seems to be the case, installing to HDD has no issues.
***Check if it is CPU issue / threads / cores etc.. - Does not seem to be related to CPU core/threads
***Check if MB firmware can solve the SSD/OS compatibility issue. - NO, still same issue
***Identify what program / service is causing this. - IDrive service, with some impact of AMD Ryzen Master probably
I had the same issue today when installing to a SD Card in my ASUS Notebook. In this case it was the offline installer for Sherlock Holmes: Crimes and Punishments. After about 10 minutes I got the 'Out of string range' error and aborted the installation after that.

As the 'Out of string range' error is generally an indication that a string was larger than expected (and could be handled) and the game was unpacking and installing at the time, I surmised that the rather lengthy default install directory name 'Sherlock_Holmes_Crimes_and_Punishments' was probably causing the string length exception, especially given I was already installing it under my 'games' directory. I tried simply installing it to games/SH and this fixed the issue. It installed without errors.

Just a heads up in case anyone else should face similar issues.
avatar
ianl: As the 'Out of string range' error is generally an indication that a string was larger than expected (and could be handled) and the game was unpacking and installing at the time, I surmised that the rather lengthy default install directory name 'Sherlock_Holmes_Crimes_and_Punishments' was probably causing the string length exception, especially given I was already installing it under my 'games' directory.
The typical max string length for paths is about 1k. Means the directories are pretty deep to make that a problem. Same problem with some Japanese games, though those fail when running, not extracting for the same reason.

Installing under a very short base directory and then moving it afterwards may do the job...
Interestingly enough, issues still persists and is still purely related to the IDrive service even with latest version of IDrive and newer installers... so weird...
avatar
NemesisSK: Stopping the IDrive service as well.. sofar so good.. will test more installers as it is obviously intermitent
Strange behavior of some installers that would not start installing.. seems removing AMD Ryzen Master solved that..

OK all my testing is completed. Razer Chroma SDK was not the real issue. For some reason the real issue is the IDRIVE service, even thou it is not doing anything on D drive, as soon I stop the service, I do not have a problem installing. Must be some conflict between GOG installer and IDRIVE services.

Hope this helps the developers somehow in the future.
Thank you so very much.
I had the same problem and disabling the IDrive service fixed it.
You saved me hours of debugging!
EDIT - OOPS, silly me forgot to check the date of first post, so no doubt my reply can be disregarded.

Just a guess on my part, but it might be a memory address violation related issue (clash) or not enough buffer set aside for path etc which causes that. I doubt the title length is at fault, but the length of some file name buried deep (many levels down) in sub-folders might be, when coupled with a longer title. Perhaps some flaw or limitation in the unzipping method used.

You could use my GOGPlus Download Checker program to do some comparisons ... OS, IDrive etc.
Or just use InnoExtract directly for that, with full extraction rather than just testing like my program GUI does.
Post edited July 23, 2020 by Timboli
file names are too long, they need to be shortened, e.g. tropico_6.exe, tropico_6-1.bin, tropico_6-2.bin, tropico_6-3.bin
avatar
januszkawala: file names are too long, they need to be shortened, e.g. tropico_6.exe, tropico_6-1.bin, tropico_6-2.bin, tropico_6-3.bin
Just wanted to say that this fixed the error for me! (For another game though)
Hi folks

I have another solution for you, just do it like MS always said in the past: reboot your machine!

I've got the "Out of string range" error always when I played a 3D game (e.g. Tomb Raider) and tried afterwards installing a new GOG game (e.g. The Evil Within). The fresh installed game also didn't run trouble-free or terminated shortly after start.
After rebooting my machine and installing the new GOG game first there was no error.

By the way: my game machine has Win7 64bit, all patches.

CU
Just confirmed iDrive is still the problem in 2021.

iDrive v6.7.3.32 (latest as of this post)
Windows 10 64bit
GOG Galaxy v2.0.37

Stopping all iDrive services in Task Manager prevents the "Out of string range" error from occurring in the GOG installer and the install is fixed. Thank you for this post. I was crashing in one game (Batman: Arkham Knight) and unable to load a fast travel point in a different game (Mad Max).

* User can click "OK" on errors to continue install, and the game might run and play normally, but there will be a point in the game that the user will begin to crash or be unable to reach as a result of the "Out of string range" error
* Rebooting does nothing, since iDrive is set to run automatically on boot
* File integrity check passes either way
* Installing to backup D: drive (a drive not containing the Windows OS) still causes the error
Post edited March 29, 2021 by GregariousJB
Here is my simple solution: regardless which drive you are gonna install the game, leave enough space in your C drive (as much as the whole game needs).

After I had this issue and read read all the post above, I monitored the task manger-performance while installing a game to my D drive, but I found that my C drive was at 100% activation, and it was write at first, then about half through the installation it became read, and my D drive start to have a write mode. Another proof is my C drive freed up as much as the size of the game after the installation is done.

I suspect the installer will install the game to your C drive first then cut-paste to the drive you selected.

My guess may sound stupid but this should be easily confirmable by others.

Oh forgot to mention, I am on the latest WIN10, my C drive is a HDD and my D drive is SSD, game was downloaded to my D drive.

And the finished game folder name is over 30 letters long.
Post edited July 10, 2021 by kiaoking
avatar
kiaoking: Here is my simple solution: regardless which drive you are gonna install the game, leave enough space in your C drive (as much as the whole game needs).

After I had this issue and read read all the post above, I monitored the task manger-performance while installing a game to my D drive, but I found that my C drive was at 100% activation, and it was write at first, then about half through the installation it became read, and my D drive start to have a write mode. Another proof is my C drive freed up as much as the size of the game after the installation is done.

I suspect the installer will install the game to your C drive first then cut-paste to the drive you selected.

My guess may sound stupid but this should be easily confirmable by others.

Oh forgot to mention, I am on the latest WIN10, my C drive is a HDD and my D drive is SSD, game was downloaded to my D drive.

And the finished game folder name is over 30 letters long.
Yes, the installer expands the game into a temporary area before copying to the install location. This has been known for some time now. Same as winzip does.
avatar
NemesisSK: Hi folks,
having some very strange issues with the installer. Multiple games, it is not related to the games.
I remember that I never had issues with the older installers before. I do not use GOG Galaxy, just offline installers.
I am working constantly on identifying the issue, so will add information to this as I go.
Issue happens on my gaming rig, Win10 Enterprise 2016 LTSB v1607
Ryzen 7 1700 OCed thru P-states, ASUS ROG CROSSHAIR VI HERO

*Running game installation and getting multiple errors during install, maybe random, maybe not - YES RANDOM

Error during install: Internal error: Expression error 'Runtime Error (at 500:57): Out of string range.'
Error on installer finish: Runtime Error (at 210:63):Out Of Stack Range. + Runtime Error (at 210:69):Out Of Stack Range. + Out Of Stack Range.

--------
Solutions identified:
Seems that installing from local volume or network makes no difference.
Verification always passes, so data integrity is not the issue.
*Found that if I install this on my second machine (Win7 x64 Ultimate) the installer has no problems at all.
*Found that when this error happens, the files will not be completely unpacked, comparing it to a successful install on my W7 machine, the files were smaller, so issue is unpacking.

Seems DebugView is not getting any output to identify issues, nor is the Event log.

*Installation to HDD was successful, now testing installing to SSD on Win7 machine.
*Installation to SSD on Win7 successful. Issue must be related to OS or specific HW on W10 machine.
Installation again to W10 SSD. SSD TRIM was performed and setting affinity. - FAILED
--- no matter how many cores are used by affinity, tested 1-7
*Testing installation on Win7, but source is network on Win10 HDD, install destination is Win10 SSD network path-SUCCESS .. maybe NTFS stream handling that is not going thru network normally
*Testing installation on Win10, using normal drive as source, but using networked path as destination-FAILED
*Testing installing on the SSD system partition instead of data partition. - SUCCESS

Geez running out of ideas.. why would it be OK on C: but gives errors on D: if it is the same SSD drive

*Disk checks are all OK. Defragmented D: to have different blocks available - FAIL
*Compatibility mode to Win7 - FAIL
*Latest BIOS 6201 did not resolve the issue.

Found that sometimes it happens even when installing on C drive.. strange makes no sense..
Tested to format the drive with different cluster size or different file system.. no difference
***Started to shut down all non-critical services and programs running - WOOT.. now that sofar seems to be the solution
*Sofar, it seems that all is needed is to stop the Razer Chroma SDK service - testing more, happened again.. damn

Now why the hell would Razer Chroma SDK service have anything to do with GOG installer?
I remember that there was one game that would not start without that to be running as well.
But installer? And only GOG installer? Very strange...

Stopping the IDrive service as well.. sofar so good.. will test more installers as it is obviously intermitent
Strange behavior of some installers that would not start installing.. seems removing AMD Ryzen Master solved that..

OK all my testing is completed. Razer Chroma SDK was not the real issue. For some reason the real issue is the IDRIVE service, even thou it is not doing anything on D drive, as soon I stop the service, I do not have a problem installing. Must be some conflict between GOG installer and IDRIVE services.

Hope this helps the developers somehow in the future.

*****
Todo:
***Check if it always happens to the same files / if the files always have the same erroneous size. - NO, RANDOM
***Check if it is the SSD destination. - YES, this seems to be the case, installing to HDD has no issues.
***Check if it is CPU issue / threads / cores etc.. - Does not seem to be related to CPU core/threads
***Check if MB firmware can solve the SSD/OS compatibility issue. - NO, still same issue
***Identify what program / service is causing this. - IDrive service, with some impact of AMD Ryzen Master probably
Hi I had this problem to fix it all I needed was to shorten the auto generated install file name and it worked like a dream.
You should play around with assigning your Temp folder to another drive, even if only temporarily during a game install. You should be able to get around a space issue that way.

You could even leave the Temp folder assignment there if another drive installed in your PC or another drive partition. You wouldn't want to do that with an external drive.
avatar
NemesisSK: Hi folks,
having some very strange issues with the installer. Multiple games, it is not related to the games.
I remember that I never had issues with the older installers before. I do not use GOG Galaxy, just offline installers.
I am working constantly on identifying the issue, so will add information to this as I go.
Issue happens on my gaming rig, Win10 Enterprise 2016 LTSB v1607
Ryzen 7 1700 OCed thru P-states, ASUS ROG CROSSHAIR VI HERO

*Running game installation and getting multiple errors during install, maybe random, maybe not - YES RANDOM

Error during install: Internal error: Expression error 'Runtime Error (at 500:57): Out of string range.'
Error on installer finish: Runtime Error (at 210:63):Out Of Stack Range. + Runtime Error (at 210:69):Out Of Stack Range. + Out Of Stack Range.

--------
Solutions identified:
Seems that installing from local volume or network makes no difference.
Verification always passes, so data integrity is not the issue.
*Found that if I install this on my second machine (Win7 x64 Ultimate) the installer has no problems at all.
*Found that when this error happens, the files will not be completely unpacked, comparing it to a successful install on my W7 machine, the files were smaller, so issue is unpacking.

Seems DebugView is not getting any output to identify issues, nor is the Event log.

*Installation to HDD was successful, now testing installing to SSD on Win7 machine.
*Installation to SSD on Win7 successful. Issue must be related to OS or specific HW on W10 machine.
Installation again to W10 SSD. SSD TRIM was performed and setting affinity. - FAILED
--- no matter how many cores are used by affinity, tested 1-7
*Testing installation on Win7, but source is network on Win10 HDD, install destination is Win10 SSD network path-SUCCESS .. maybe NTFS stream handling that is not going thru network normally
*Testing installation on Win10, using normal drive as source, but using networked path as destination-FAILED
*Testing installing on the SSD system partition instead of data partition. - SUCCESS

Geez running out of ideas.. why would it be OK on C: but gives errors on D: if it is the same SSD drive

*Disk checks are all OK. Defragmented D: to have different blocks available - FAIL
*Compatibility mode to Win7 - FAIL
*Latest BIOS 6201 did not resolve the issue.

Found that sometimes it happens even when installing on C drive.. strange makes no sense..
Tested to format the drive with different cluster size or different file system.. no difference
***Started to shut down all non-critical services and programs running - WOOT.. now that sofar seems to be the solution
*Sofar, it seems that all is needed is to stop the Razer Chroma SDK service - testing more, happened again.. damn

Now why the hell would Razer Chroma SDK service have anything to do with GOG installer?
I remember that there was one game that would not start without that to be running as well.
But installer? And only GOG installer? Very strange...

Stopping the IDrive service as well.. sofar so good.. will test more installers as it is obviously intermitent
Strange behavior of some installers that would not start installing.. seems removing AMD Ryzen Master solved that..

OK all my testing is completed. Razer Chroma SDK was not the real issue. For some reason the real issue is the IDRIVE service, even thou it is not doing anything on D drive, as soon I stop the service, I do not have a problem installing. Must be some conflict between GOG installer and IDRIVE services.

Hope this helps the developers somehow in the future.

*****
Todo:
***Check if it always happens to the same files / if the files always have the same erroneous size. - NO, RANDOM
***Check if it is the SSD destination. - YES, this seems to be the case, installing to HDD has no issues.
***Check if it is CPU issue / threads / cores etc.. - Does not seem to be related to CPU core/threads
***Check if MB firmware can solve the SSD/OS compatibility issue. - NO, still same issue
***Identify what program / service is causing this. - IDrive service, with some impact of AMD Ryzen Master probably
avatar
TheTinydog: Hi I had this problem to fix it all I needed was to shorten the auto generated install file name and it worked like a dream.
hey i searched for the IDRIVE service but I don't find it and I still have the same problem can you give me a lead ?