Catch runtime error inno setup2/19/2024 Any ideas what to look for would be appreciated.In the release v.0.5.6 of our desktop software analytics library, we added the ability to remotely track your program's exceptions in Google Analytics. I have no idea how to troubleshoot this because the loading and saving of config settings seems mostly handled by IA and is just magic for us. I tried setting LOADOLDDATA = FALSE and that didn't help either. ![]() So I don't know what mechanism is causing this to "remember" there was a prior setup and to keep doubling. The strange thing is that this file is deleted after every install. I can see how over time the file will grow exponentially and become huge. ![]() Yet, for every subsequent install, the file kept growing and doubling in size everytime. "Save Feature Selections Into file $APPCOMMONFILES$\SetupConfig.dat" This file is saved in my Finish routine simply by executing the following command: Problem is that it seems to just repeat itself over and over and over. Seems normal and has text data saving the setup config. Bigger question is why is it so big? I cracked it open and looked at it. I looked at the SetupConfig.Dat file on that computer and the files is a whopping 441mb!! I guess that makes sense that it is struggling to load it. "Load Feature Selection from file $APPCOMMONFILES$\SetupConfig.dat" The error message says the "Out Of Memory" is occuring on line 247. This is IA X2 Build 4.03.15 (according to the splash screen)īut I have some more info as a clue. I was just coming here to add more info and saw your posted question. ![]() For some reason I was not alerted that there was a response. Has anyone else experienced this? Could it be something in the script causing this? if so, I can't imagine why it doesn't always happen to all installs. I have looked for a cause on and off for months but have no idea what it is. Removing the product and then manually locating and removing ALL prior cached copies of setup.exe and all temp files related to mia, etc., solves the problem Task Manager shows the setup.exe growing rapidly in "Memory" until it reaches a point that causes Windows to flush it with an "Out of Memory" GPF Setup starts fine and throws up the splash screen, but then it just churns. It only seems to happen on subsequent setups with the product already installed Happens on all our supported platforms Vista, 7, 8, and 8.1 It is not specific to any particular OS. ![]() About 10% of these installations exhibit an "out of Memory" error when running the setup. We have about 3000 installed PC's using this setup. But I'm out of ideas and it's happening more and more often now, so here goes! In fact, I've been having this issue for months but didn't bother posting it since I had so little to share to start a troubleshooting session.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |