检测Compact Framewok是否安装在移动设备上 [英] Detecting if the Compact Framewok is installed on mobile device
问题描述
做最好的最常用的方法是什么?显然,如果没有安装.net cf,我的.net将不会运行,是否需要在eVc ++中编写?
非常感谢您对$ b的想法$ b Tony
如果要使用cab文件进行操作,则该过程仍然相同。请参阅链接,了解如何运行设置文件一个cab文件。
Ive written an application using the .net compact framework. One of the requirements is that a check is run before app runs to see if the compact framework is installed. If not I should prompt this to them and redirect them to cf download location.
What would be the best most common approach to doing this. Obviously my .net wont run in the first place if .net cf is not installed, do i need to write this in eVc++?
Much appreciate your thoughts on the Tony
This is an MSDN article about creating an MSI Package that detects and updates the .NET Compact Framework, if this is required. It is pretty old, but the principles still apply. You need to write a dll that will run in the phone. You first search for compact framework's dll files and then you can get the version from a registry key. You can also detect the device type and install the appropriate compact framework cab files.
If you want to do it with a cab file, the process is still the same. See this link on how you can run a set-up dll from a cab file.
这篇关于检测Compact Framewok是否安装在移动设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!