Page 1 of 1

Access violation when InstallAware can not delete a file

Posted: Thu Jan 26, 2006 9:39 am
by MikeFieger
Hello!

I am testing the releases with VmWare and sometimes VmWare seems to keep a filehandle on the created install.exe.
Because of this, my host can not delete this file.
So when I try to build the project, InstallAware first deletes all files from the folder, except for the install.exe and mia.dll and then starts to build, but stops with the following (and correct) error message: 'Error during build: Cannot create file "...". Access is denied'

If I try to build again, the following error message appears: 'Error during build: Access violation at address 004E65E9 in module 'miae.exe'. Read of address 00000010'

I am now removing the disturbing lock on the file with an external tool, but I think InstallAware should not generate an access violation if I try to build again after getting an error.

Posted: Thu Jan 26, 2006 12:38 pm
by MichaelNesmith
Thanks for the report, Mike - I'll escalate this right away to product development.

You may also try to rebuild without restarting the IDE - I believe that should work.