2
我正在研究一个.NET分析器(我的项目输出是一个DLL)。我已经构建了2个DLL(用C++编写):一个将由x86 .NET进程加载,另一个由x64加载。我想生成一个单一的MSI(目标x86格式),检查操作系统是64位还是32位。然后注册正确的DLL,即:MSI - 有条件注册DLL
- Project output : - the_x64.DLL
- the_x86.DLL
- A single MSI that targets x86 machines : contains the 2 DLLs
- if the OS is 64 bits then both of the DLLs are registered
- if the OS is 32 bits then only the x86 dll is registered
这可能吗?