简体   繁体   English

用另一个支持非Windows安全性的安装程序替换Click-Once

[英]Replacing Click-Once with another installer that supports non Windows Security

I currently have an in house C# app that is delivered via click-once. 我目前有一个通过点击一次交付的内部C#应用程序。 I'm moving to the cloud and would like to have the Click-Once delivered from there (will be accessed from multiple countries and I can't use IP ranges to block out intruders), but it appears that the only way to secure the download is using windows security which is not an option for my clients. 我正在迁移到云,并希望从那里提供Click-Once(可以从多个国家/地区访问,并且我不能使用IP范围来阻止入侵者),但是看来这是确保安全的唯一方法下载使用的是Windows安全性,这不是我的客户的选择。

I'm looking for a nice way to deliver the initial software and then keep the clients updated. 我正在寻找一种交付初始软件然后保持客户端更新的好方法。

I've heard about WIX but I can't seem to find any information around updates from the internet and it. 我听说过WIX,但似乎找不到有关互联网及其更新的任何信息。

Does WIX support this? WIX支持吗? If so can someone point me at an example or reference? 如果可以的话,有人可以给我指出一个例子或参考吗? If it doesn't support it is there another solution someone can recommend? 如果它不支持,有人可以推荐其他解决方案吗?

Here is my usage scenario: - User logs into a website supplying credentials, (username/password or certificate) then has the ability to download and install the application. 这是我的使用情况: -用户登录到提供凭据(用户名/密码或证书)的网站,然后可以下载并安装该应用程序。

  • The application must check on startup of the app for a new version and if there is automatically download, install then run it. 应用程序必须在启动应用程序时检查是否有新版本,如果有自动下载,请先安装然后运行它。 (would be nice if the user must resupply credentials for the update but not a necessity) (如果用户必须为更新重新提供凭据但不是必需的,那将是很好的选择)

Bonus points if it will work on any web server such as a simple Node.js implementation. 如果它可以在任何Web服务器(例如简单的Node.js实现)上运行,则要加分。

WiX Only handles the installation via the bootstrapper or MSI you have generated , so I would assume that it's most likely a windows installer setting of some kind when it is first created. WiX Only仅通过您生成的引导程序或MSI处理安装 ,因此我认为它最有可能在首次创建时是某种Windows安装程序设置。 The element ClickThrough is supposed to be able to handle this scenario, though I don't know much about that. ClickThrough元素应该能够处理这种情况,尽管我对此并不了解。

The way my work colleagues dealt with this is by using IIS and an ASP.NET web service, along with a DLL that has methods to check with the web service if there is an update, and then prompts the user about the update and asks if they wish to update (did I say update enough in that sentence?). 我的同事处理此问题的方式是使用IIS和ASP.NET Web服务,以及一个DLL,该DLL具有检查Web服务是否存在更新的方法,然后提示用户有关更新的信息并询问是否他们希望更新(我在那句话中说的足够吗?)。

Hope this helps. 希望这可以帮助。

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

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