clickonce

Password protected .NET ClickOnce deployment?

回眸只為那壹抹淺笑 提交于 2019-12-09 14:52:40
问题 How can I protect a ClickOnce deployed application with a password ? Do I have to change the IIS settings of the web or is there a way to do it programmatically? I'm using Visual Studio 2005 (.NET 2.0). If I have to use web credentials, are auto-updates of the application still possible? Would be great if you could provide some sample code or detailed instructions for administering IIS. Thank you! 回答1: I found a possible solution by myself in this MSDN article: ClickOnce Deployment and

ClickOnce Application Install - Security Warning

牧云@^-^@ 提交于 2019-12-09 03:37:55
问题 I have a clickonce application that is deployed on the website (say, http://example.com) and users will download the setup.exe file of my published application from that website and install the application on their computer. I have signed the ClickOnce manifests of my application with the Certificate issued by GoDaddy for my company. But, the User still get the following Application Security Warning when they try to install my application. Is there a way around so that this security warning

InvalidDeploymentException - Application identity is not set

好久不见. 提交于 2019-12-09 03:06:34
问题 I've got a WPF application that references a WPF controls library. When I try to launch (myWindow.Show()) a window that is inside the control library, I get the following exception: InvalidDeploymentException Application identity not set. The bizarre thing is that I'm not doing a ClickOnce application, so why is it complaining about this? 回答1: You didn't say whether this was under the VS debugger, but... I was getting this one today from code that set a control's ImageSource to be a

System.UnauthorizedAccessException: Access to the path “…” is denied

给你一囗甜甜゛ 提交于 2019-12-08 17:41:36
问题 I have C# wpf installation done with .net using click once installation. All works fine. Then I have the following code which is part of the installed program: String destinationPath = System.Windows.Forms.Application.StartupPath + "\\" + fileName; File.Copy(path, destinationPath, true); this.DialogResult = true; this.Close(); But I get this error: System.UnauthorizedAccessException: Access to the path C:\user\pc\appdata\local\apps\2.0....... is denied. at System.IO.File.InternalCopy(String

Get current ClickOnce's application publisher name?

廉价感情. 提交于 2019-12-08 17:30:00
问题 Is it possible to read the publisher name of the currently running ClickOnce application (the one you set at Project Properties -> Publish -> Options -> Publisher name in Visual Studio)? The reason why I need it is to run another instance of the currently running application as described in this article and pass parameters to it. Of course I do know my application's publisher name, but if I hard code it and later on I decide to change my publisher's name I will most likely forget to update

Automatically install updates with ClickOnce deployment

╄→гoц情女王★ 提交于 2019-12-08 16:01:03
问题 I wanted to deploy my project with ClickOnce deployment. But when I did it like that, it was asking in a dialog box at the end user machine: A new version of XXXX is available. Do you want to download it now? But my end users don't have a mouse or keyboard. So my intention is: It must take the updates automatically, but it must NOT ask that dialog box at the client side. How do I achieve this by using ClickOnce deployment? 回答1: Looks like you can do this by changing some properties in the

Changing product name with mage.exe

二次信任 提交于 2019-12-08 15:58:16
问题 I need to update the application's manifest with a new value for 'product'. With mage.exe I can update the name and publisher but NOT the product. In MageUI you can do this, but I need to do it on the commandline. Is there a solution or workaround for this? 回答1: I played around and it seems the command line tool indeed lacks this capability. I guess it was done for keeping it lightweight (or maybe cost issues). Alternative would be to use the GenerateApplicationManifest MSBuild task: Example:

Publishing an application in Visual Studio 2010/2012

大兔子大兔子 提交于 2019-12-08 14:04:47
问题 I have a project built in Visual Studio 2010, with a copy of it built using Visual Studio 2012. Each time I click to publish the application and then email a zipped copy of the result(in either 2010 or 2012) I run into a problem where the application does not install at all with an error that the admin should be contacted or it installs and then a new copy of the same app does not(later on on the same machine). How do I fix this problem please? I have tried many of the suggested clickonce

What is Microsoft's roadmap for in browser applications? Silverlight, ClickOnce, ActiveX, dlls [closed]

情到浓时终转凉″ 提交于 2019-12-08 14:03:33
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . So here I am, first time windows developer (done java swing, iphone, flash/flex) and I'm confused by what technology Microsoft wants me to use for in browser rich applications. The application I'm designing is a file uploader that supports drag and drop from the filesystem,

Problem with installing program on PC with ClickOnce

只愿长相守 提交于 2019-12-08 10:44:26
问题 I am trying to install my program via ClickOnce on a clients PC - it has Win XP with .Net 2.0 runtime. It comes up with a problem during installation - saying that something went wrong during installation see below: I looked at the event viewer and I saw the following: Crypt32 Error, Event ID 11 Description: Failed extract of third-party root list from auto update cab at: http://www.download.windowsupdate.com/msdownloadupdate/v3/static/trustdr/en/authrootstl.cab with error: The data is