We are trying to have our DLLs compiled for specific processor versions.
We have one set of DLLs for Intel32, and one set that is generic to all x86 architectures.
So, I have set up
Component1
foo.dll
bar.dll
Component2
x86foo.dll
x86bar.dll
And we use conditional statements on environment variables (e.g. %PROCESSOR_IDENTIFIER ~>< "GenuineIntel") to determine which component is installed.
But we only ever install one of the two. (I have a previous request about how to make components mututally exclusive for installation)
However, we have other code that depends on the filename being fixed.
I cannot add both versions of the files to the project root under Files and Folders unless they have different names, and I can't change the destination or name of a component file in the component dialog.
How can I set up the project so that whether Component1 or Component2 is installed, the filenames are always foo.dll and bar.dll, in the root of the installation?
FOLLOW US
Get the latest news in Application Packaging