We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Bovertis
Posts: 1
Joined: Thu Aug 20, 2015 12:32 pm

GAC Install -> could not write file, check access (+answer)

Hi,

We just installed the latest version 12.3.1 and created a MSI to test the new version. When we tried the MSI in our VM XP we got the message (some like) could not write file, check access.

It took some time to find out that .NET Framework 4.0 was not installed, GACUTIL /i gave a bit better warning, cannot install this assembly.

We simply clicked the .net 4.0 prerequisitis and the install went fine (only the setup changed from MSI to EXE).

So the message was misleading 'check file access', in fact it should be 'this assembly requires .net framework xx.xx which is not installed'.

I hope this will help others.

Rene
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: GAC Install -> could not write file, check access (+answer)

Hi Rene and welcome to Advanced Installer forums,

Thank you for sharing this with us. I'm sure it will help further users.
We simply clicked the .net 4.0 prerequisitis and the install went fine (only the setup changed from MSI to EXE).
This is happening because the .Net Framework is added as a Pre-Install prerequisite which are handled by our bootstrapper. You cannot install the .NET Framework prerequisite as a feature-based one because its installation will fail and you can see here why does .NET Framework fails as feature-based prerequisite?

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”