How to target same file to Application Folder for 64/32 bit?
I have a project mostly consisting of .NET assemblies which run ANYCPU. They are correctly installing to the Application Folder on the target machine.
The problem is a single platform-specific DLL. I have two versions of the DLL, both with the same name. I wish to install either the 64 or 32 bit version of the DLL, with the same name, to Application Folder.
Currently I seem unable to do this. The project wizard has created a folder APPDIR/32-bit and puts the 32-bit file in there. I do not wish it there. I wish it to be in the APPDIR.
I have been unable to add two files under "Files & Folders - Application Folder" targeting the same location with the same name.
I have tried under Organization labelling them VersionNT64/NOT VersionNT64 which works i.e. the correct file is installed on either 32-bit or 64 bit installations.
The only problem is the target location. How would I make the 32-bit DLL be placed in APPDIR instead of APPDIR 32-bit?
Should I install a custom action to copy it from APPDIR/32-bit to APPDIR after the installation or is there an easier way?
Many thanks
FOLLOW US
Get the latest news in Application Packaging