开发者

Install a ClickOnce application on an offline machine

We have a ClickOnce-published application on our website.

Some of our customers have offline computers (not connected to the Internet) that they want to install the software to. What would be the solution?


P.S. The software has lots of customers, and it's publicly available, so I guess I'm looking for a solution that, preferably, doesn't involve creating a custom build for the "offline" customers (it's our macro recorder actually)... Also, most of the custome开发者_Python百科rs have older versions of Windows, that has no file-association for the ".application" file-extension. But I guess that can be fixed by running the bootstrapper "setup.exe", right?


I think I figured the answer myself.

You just have to take the ".application" file along with the "Application Files" folder contents, ZIP it and send to the offline machine. Then extract (preserving the hierarchy) and launch the ".application" file.

Works fine, just tried on an offline virtual machine.


You can set ClickOnce to publish to your filesystem, suitable for deploying from a file share or CD.

Edit: if you don't want to have to change your publish settings for these customers, you can publish the app manually

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜