Error Installing MSI on Windows 10 - Advanced Installer Community
tiagovaccari
Posts: 1
Joined: Tue Aug 29, 2017 4:35 pm

Error Installing MSI on Windows 10

I am getting a problem to install a MSI on Windows 10. I've migrated my project to Framework 4.0 and is not working anymore on Windows 10. Running the same MSI on Windows 7 and 8, it works fine.
The previous MSI running framework 3.5 works fine on Windows 10.

Error:
Error 1001: System.BadImageFormatException: Could not load file or Assembly...
or one of its dependencies. this assembly is built by a runtime newer than the currently loaded Runtime and cannot be loaded.

I also checked all the projects and dependencies. All of them are with Framework 4.o target.

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error Installing MSI on Windows 10

Hello and welcome to our forums,

Unfortunately I cannot say why your application fails with this error. I would recommend you to try further troubleshooting your application to found the cause for this. To see if this error is generated by a wrong setting in the setup package, you could try to manually install and run your application on the related system

Also, have a look on the "BadImageFormatException – This assembly is built by a runtime newer than the currently loaded" web article which could be useful for you too. Not sure though.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”