Access violation in "version.dll"

Got a problem you cannot solve? Try here.
Post Reply
stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Access violation in "version.dll"

Post by stefan.nieten »

Hello,

some of our customers get an error with the message "access violation in module version.dll" when they run our installers. The affected systems are all Windows 7 systems. Is this a known issue?

Thanks in Advance!

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

Re: Access violation in "version.dll"

Post by FrancescoT »

Dear Stefan,

No it is not a know issue and by the only information you shared, it is not easy for me to give you a possible suggestion.

Reagrds
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
stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: Access violation in "version.dll"

Post by stefan.nieten »

Hi Francesco,

sorry for the few information on this. It is quiet a new issue and we're just trying to figure out where the error does appear in our script code.

Maybe you can help us with the question if there are any built-in InstallAware functions that use functions from the Version.dll? (Maybe "GetFileVersionInfo" in "Get File Version" or "VerInstallFile" in"Install Files"?)

Thanks and greets,
Stefan
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Access violation in "version.dll"

Post by FrancescoT »

Dear Stefan,

The Version.dll module, exports WIN API functions that are extensively used by MSI engine directly and of course by InstallAware as well.

It is not really simple to give you a list of commands that could call these WINAPI function, because them can be called by some nested process also.
Not only, the version.dll is widely used by the OS directly.

For sure, I'm not informed of similar issue with other IA users.

I may suggest you to try with placing some MessageBoxes in your script code, in order to identify exactly which is the offending code.

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
rentzk
Posts: 37
Joined: Sun Aug 27, 2006 10:01 pm

Re: Access violation in "version.dll"

Post by rentzk »

Has there been any resolution to this problem? One of our customers is getting the exact same errors.

The code that is at the indicated location is

Code: Select all

Set Variable LANGUAGE to English
 
Get System Setting Language (Numeric) into LANGUAGE_NUM
 
if Variable LANGUAGE_NUM Equals 1036  <---- here
 Set Variable LANGUAGE to French
end
Since this code has worked for hundreds of other people over the last couple of years, I'm fairly confident that it is OK, but we do not know what to have the customer check or fix on their system.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Access violation in "version.dll"

Post by FrancescoT »

Dear User,

have you tried to verify at runtime (with the help of a message-box) what is exactly the value returned by "Get System Setting Language"?

Then also remeber, that an "Access violation" error can be generated by many different reasons.
If you receive the same error message doesn't mean that the cause is the same.

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