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:
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
Access violation
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Access violation
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
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
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
Re: Access violation
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:
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
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
Re: Access violation
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.
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
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Access violation
... or create a very minimal project that replicates the issue and we can test it.
Regards
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
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
Who is online
Users browsing this forum: JohnGaver, vaibhavopkey and 77 guests