简体   繁体   English

Windows Mobile-通知/限制应用程序安装/卸载

[英]Windows Mobile - Notify/Restrict Application Install/UnInstall

I am using .NET CF 2.0 with C#. 我正在使用带有C#的.NET CF 2.0。

I need to create Policy enforcement application, which restricts backlisted application installation on windows mobile devices. 我需要创建策略实施应用程序,该应用程序限制了Windows移动设备上重新列出的应用程序安装。 How can I get notification for new application installation with an option to close the installation. 如何获得有关新应用程序安装的通知以及关闭安装的选项。 I also need to get notification when someone uninstalls my application with an option to close the uninstall process. 当有人卸载我的应用程序时,还可以选择关闭关闭过程来获取通知。

Policy enforcement on Windows Mobile can be tricky. Windows Mobile上的策略执行可能很棘手。 I'd recommend not trying to do this yourself if possible. 如果可能,我建议您不要尝试自己做。

I've had success with the SPB Kiosk Engine in the past and found it much simpler than locking down the device yourself. 过去,我在SPB Kiosk Engine上取得了成功,并且发现它比自己锁定设备要简单得多。 Previoulsy I've only been able to lock down specific devices with software from the device manufacturers. 以前,我只能使用设备制造商提供的软件锁定特定设备。

To detect installation of other apps you would need to create an app/service to monitor installed applications. 要检测其他应用程序的安装,您需要创建一个应用程序/服务来监视已安装的应用程序。

There isn't a way to detect/prevent uninstallation without use of another proces to monitor this. 如果不使用其他过程来监视/卸载,则无法检测/阻止卸载。 Even then I'd expect it to be VERY tricky. 即使那样,我也希望它非常棘手。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM