ClickOnce setup.exe fails, but the .application file works fine when using a Windows share for deployment

前端 未结 2 2065
南方客
南方客 2020-12-16 11:25

I am getting the error of System.Deployment.Application.DeploymentDownloadException when I try to run setup.exe for my ClickOnce application. If run it over the

2条回答
  •  生来不讨喜
    2020-12-16 11:51

    We use a self-extracting ZIP file to launch our installation. (There are many ways to do this, for example, use 7-Zip, WinZip, etc.) This way there is only 1 file to download.

    But I'm not sure how you would handle updates in this scenario - I assume you could publish both the ClickOnce and the self extacting ZIP file so that the application finds the necessary files afterwards...

    I hope this helps.

提交回复
热议问题