32 and 64 bit assemblies in one windows installer

Posted by Giorgi on Stack Overflow See other posts from Stack Overflow or by Giorgi
Published on 2010-04-28T20:32:59Z Indexed on 2010/04/28 20:37 UTC
Read the original article Hit count: 363

Hello,

I have an application written in C# which depends on sqlite managed provider. The sqlite provider is platform dependent (there are two dlls for 32 and 64 bit applications with the same name). The application loads the desired one at runtime based on OS.

The problem is that while creating an installer I cannot add 64 bit mode dll to the setup project as I am getting the following error: File '' targeting '' is not compatible with the project's target platform ''.

I would use other installer but I have a custom action which must be invoked during the setup.

So I wanted to know if there is an installer which will let me add 32 and 64 bit dll to it and execute custom action written in C#.

One possible solution is to have two installers but I would like to avoid it if possible.

Any suggestions?

© Stack Overflow or respective owner

Related posts about windows-installer

Related posts about installer