X2 runtime error

Got a problem you cannot solve? Try here.
Post Reply
Mohamed Koker
Posts: 19
Joined: Wed Oct 31, 2007 12:34 am

X2 runtime error

Post 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
Fortune passes everywhere
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: X2 runtime error

Post by FrancescoT »

Dear Mohamed,

please verify if any Anti Virus application is at the source of your issue?
It seems so!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Mohamed Koker
Posts: 19
Joined: Wed Oct 31, 2007 12:34 am

Re: X2 runtime error

Post by Mohamed Koker »

Hi Francesco,

The systems on which this issue has been observed do not have any anti-virus applications installed.

Regards

-Mohamed
Fortune passes everywhere
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: X2 runtime error

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Mohamed Koker
Posts: 19
Joined: Wed Oct 31, 2007 12:34 am

Re: X2 runtime error

Post 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
Fortune passes everywhere
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: X2 runtime error

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Mohamed Koker
Posts: 19
Joined: Wed Oct 31, 2007 12:34 am

Re: X2 runtime error

Post by Mohamed Koker »

Hi Francesco,

We do not do any localisation in our project.

Regards

-Mohamed
Fortune passes everywhere
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: X2 runtime error

Post 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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply