Page 1 of 1
X2 runtime error
Posted: Mon Jan 12, 2015 9:51 pm
by Mohamed Koker
Hi Francesco,
The first time we run our installer on certain computers, an error is displayed with the following message:
Runtime error in setup script:
Source File: Setup
Line Number: 8998
Invalid pointer operation.
The second time we run it on the same systems, it completes normally.
We have only experienced this issue since we upgraded to X2.
I would be grateful if you could tell us what the line number refers to since the source file does not contain that many lines and what we can do to fix this issue.
Thanks in advance
-Mohamed
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:13 pm
by FrancescoT
Dear Mohamed,
please verify if any Anti Virus application is at the source of your issue?
It seems so!
Regards
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:15 pm
by Mohamed Koker
Hi Francesco,
The systems on which this issue has been observed do not have any anti-virus applications installed.
Regards
-Mohamed
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:27 pm
by FrancescoT
In this case, try to share more details on the affected target OS and possibly, a very minimal project that replicates the issue.
... otherwise it'll be very difficult to suggest anything.
Regards
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:32 pm
by Mohamed Koker
This occurs under Windows 7 32-bit operating systems.
Can you at least let us know how we can identify the point where this error is occurring since as I mentioned earlier, the line number mentioned in the error message does not exist in the script?
Regards
-Mohamed
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:47 pm
by FrancescoT
Dear Mohamed,
just a question, do you use any localization with your project (shared strings or project's strings?
You can try if a logged install reports a more accurate error; setup.exe /l=<logfile path>.
Regards
Re: X2 runtime error
Posted: Tue Jan 13, 2015 2:55 pm
by Mohamed Koker
Hi Francesco,
We do not do any localisation in our project.
Regards
-Mohamed
Re: X2 runtime error
Posted: Tue Jan 13, 2015 3:08 pm
by FrancescoT
Ok!
Try first with a logged install then if this doesn't report anything useful ...
...at worst, place some message-box in your code in order to localize where the error is triggered.
Anyway, it's really strange that you receive an error that refers to an inexistent code line.
Regards