Access violation

Got a problem you cannot solve? Try here.
maoz
Posts: 3
Joined: Thu Oct 10, 2013 1:34 am

Access violation

Postby maoz » Thu Oct 10, 2013 2:12 am

Hi,

I built our company product with InstallAware NX and sent to our customers.
One of our customer saw the following dialog when executing the .exe file on Windows Server 2012:

access_violation.png
access_violation.png (52.83 KiB) Viewed 5805 times


The 20th line of the uniClient script is: Get System Setting Internet Explorer 7 into CHECKSYSTEM

I also installed the product with same .exe file on my Windows Server 2012 VM & Windows Server 2003 VM, everything is OK.
Can anyone tells me what's the probelm?

Thanks

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Access violation

Postby FrancescoT » Thu Oct 10, 2013 10:18 am

Dear Maoz,

as you can easily understand ... it is not easy to give you an answer by the information you shared.

Of course, if your package installs fine on hundred machines ( ... for example) and it fails with that specific OS only, ... probably, you should verify if there is something wrong that OS.

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

maoz
Posts: 3
Joined: Thu Oct 10, 2013 1:34 am

Re: Access violation

Postby maoz » Sun Oct 20, 2013 7:55 pm

Sorry for the late response.
I built the project with InstallAware 17 and sent the installer to our customers. They tested the installer on multiple hosts but the problem is still there.
The error is the same:
Runtime error in setup script:
Source file: uniclient
Line number: 20

Access violation at address 75845354 in module 'KERNELBASE.dll'. Read of address 00000004


When we tested the installer on our local Windows Server 2012 Standard version before sending the installer to the customers, everything is OK.
And this script works well for several years, from Windows XP to Windows Server 2008

Here is the code from the beginning of uniclient:

Code: Select all

Comment: Default Setup Project
Set Variable SILENT to FALSE
Set Variable SAVEDATA to FALSE
Set Variable MYAH_DISABLE_VISTA_RESTART_MANAGER to TRUE
Set Variable MYAH_DISABLE_ROLLBACK to TRUE
Set Variable NATIVE_ROLLBACK to TRUE
Set Variable NATIVE_OVERWRITE_OLDER to TRUE
Set Variable NATIVE_OVERWRITE to ALWAYS
Set Variable NATIVE_ERROR to IGNORE
Set Variable DELAYUNTIL_APPLYCHANGES to FALSE
Set Variable MYAH_TIMEOUT to 10
Set Variable MYAH_COMPRESS_INSTALLER_CACHE to FALSE
Set Variable LOADOLDDATA to FALSE
Set Variable ABORTONERROR to TRUE
Set Variable MYAHLOGO to TRUE
Include Script: asianLanguageChecks
Include Script: localeCodes
 
[DEFINE REGION: Check Application Requirements]
Get System Setting Internet Explorer 7 into CHECKSYSTEM    << the line has the probelm
if Variable CHECKSYSTEM not Equals TRUE
  MessageBox: $TITLE$ Setup Error, This product requires at least Internet Explorer 7.0.$NEWLINE$$NEWLINE$Setup cannot continue.
  Terminate Installation
end
....


The script asianLanguageChecks and localeCodes do not contain neither "Get System Setting" command nor read/write on CHECKSYSTEM.
Does CHECKSYSTEM must be declared before it can be used in Get System Setting command?
Is there any log generated by InstallAware when such access vialation runtime error happens?

What other materials should I supply for you to analyze the problem?

Thanks

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Access violation

Postby bokkie » Mon Oct 21, 2013 1:26 am

Can I suggest something? Can you create a blank project and paste in just the code you have provided and perhaps put in some message boxes to display variables, etc before the call and one after the call if it succeeds. Does that work?

The reason I ask this is that on some rare occasions where I've had problems in my scripts it's sometimes easier to try and prove the code works on its own which can help to narrow the search. I'm not saying that is the case in yours but a few minutes spent doing it might reveal if the access violation is happening all the time on that one machine or if something else is causing it to trip over.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Access violation

Postby FrancescoT » Mon Oct 21, 2013 12:21 pm

... or create a very minimal project that replicates the issue and we can test it.

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


Return to “Technical Support”

Who is online

Users browsing this forum: JohnGaver, vaibhavopkey and 77 guests