Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to fix target warning "silabenm.sys' targeting 'x64' is not compatible with the project's target platform 'x86'"
 

How to fix target warning "silabenm.sys' targeting 'x64' is not compatible with the project's target platform 'x86'"

I have a 32 bit application that needs 64 bit drivers is installed on a 64 bit machine. I have a setup that uses conditions to install the correct drivers, should I ingnore this warning or is there a way to fix this?
BarberColman  Tuesday, August 18, 2009 2:21 PM
I don't know exactly how you're installing the 64-bit driverswith a 32-bit setup, but I'mnot sure it will work, and that's related to the warnings. For example, a any registry entries created by your 32-bit setup (Registrey view in the IDE) will be in the 32-bit part of the registry, not the 64-bit part. Any code you run will run as 32-bit.

You should really be using two separate setups, one for each architecture, unless you're convinced you can make the 32-bit setup create the 64-bit drivers properly.

http://blogs.msdn.com/heaths/archive/2008/01/15/different-packages-are-required-for-different-processor-architectures.aspx

https://blogs.msdn.com/heaths/archive/2005/10/24/windows-installer-on-64-bit-platforms.aspx
Phil Wilson
PhilWilson  Tuesday, August 18, 2009 6:06 PM
I don't know exactly how you're installing the 64-bit driverswith a 32-bit setup, but I'mnot sure it will work, and that's related to the warnings. For example, a any registry entries created by your 32-bit setup (Registrey view in the IDE) will be in the 32-bit part of the registry, not the 64-bit part. Any code you run will run as 32-bit.

You should really be using two separate setups, one for each architecture, unless you're convinced you can make the 32-bit setup create the 64-bit drivers properly.

http://blogs.msdn.com/heaths/archive/2008/01/15/different-packages-are-required-for-different-processor-architectures.aspx

https://blogs.msdn.com/heaths/archive/2005/10/24/windows-installer-on-64-bit-platforms.aspx
Phil Wilson
PhilWilson  Tuesday, August 18, 2009 6:06 PM

You can use google to search for other answers

Custom Search

More Threads

• How to Get ClickOnce Publishing to Use Build Configuration Files
• .Net architecture
• how to launch installed .exe after installation?
• Deploy multiple exe using Clickonce
• VS2003 - Unable to import merge module crystalreports11_5_net.msm
• Automating ClickOnce Build
• Setup installed app "Could not find file" error
• "Invalid Drive D:\" and WEBCA_GatherWebSites error on msi built from VS2005 Deployment project on Windows 2003
• why does clickonce installs to currentuser
• COM Exception during Click Once Deployment