clickonce

Uninstall ClickOnce clients

微笑、不失礼 提交于 2019-11-28 17:11:55
问题 Since ClickOnce installs per profile rather than per computer, is there any way to uninstall a single ClickOnce client application from multiple profiles at the same time? We have a ClickOnce application that we would like to remove and re-install using a standard MSI, but we don't want to have to log in as each user to do the uninstall. Assuming there isn't anything baked in, is there a custom tool? 回答1: You could manually delete the ClickOnce install for each user. I haven't tried doing

How do I completely uninstall a ClickOnce application from my computer?

对着背影说爱祢 提交于 2019-11-28 16:50:12
问题 While experimenting with trying to publish both a Foo and Foo Beta version of my application via ClickOnce I managed to clobber the existing and previously-working-fine Foo 1.0.0 install (replacing it with Foo Beta 1.0.5, which does not work) due to using the same GUID, assembly name, product name or something. OK, honest mistake. In an attempt to revert this I then uninstalled Foo Beta using the Windows 7 add/remove programs. My computer is now in a state where no instance of Foo shows up in

How can I build a single instance application using Click Once?

时光毁灭记忆、已成空白 提交于 2019-11-28 16:32:24
问题 I need to have a single instance application (as per this answer), but it needs to be deployed via click once. The problem is that I require that click once doesn't automatically detect an update an attempt to load a newer version while the application is running. If it is running, then I need the other instance to be made active. Usually, when selecting a Click Once link, the very first thing it does is attempt to find an update. I want to intercept this and check for an already running

Clear the .NET-downloaded application cache without Mage?

[亡魂溺海] 提交于 2019-11-28 15:44:09
I have a .NET application that I distribute using ClickOnce and I make available online only. How do I clear the download cache from a users' machine that doesn't have Visual Studio installed? codeConcussion Visual Studio isn't needed, just Mage . It comes with the Windows SDK for people that haven't gotten it via Visual Studio or the Framework SDK. Another option would be to write code to clear the cache. Or you could have them delete the folder ClickOnce files are installed in ( C:\Users\[username]\AppData\Local\Apps on my Windows 7 machine). That would be a last resort since it will remove

ClickOnce Deployment Errors

孤者浪人 提交于 2019-11-28 14:15:35
I am trying to deploy a ClickOnce app. It had worked previously when the server was just sitting with .Net 2.0 installed (no SP). Recently the server had 3.5SP1 installed on it and now ClickOnce is failing with the error: Value does not fall within the expected range inside System.Deployment . Here is the information posted on the MSDN forums (answers there are generally hit or miss for me) with the call stack: It was in VS 2005 w/SP1 and I tried changing the path I publish to, changing the installation URL, changing the assembly name, manually controlling versions, running mage -cc, manually

ClickOnce File Association

时光怂恿深爱的人放手 提交于 2019-11-28 13:31:21
I have a console application that I'm deploying using ClickOnce. Once the user installs the program the associations are set but the associated program is the installer(ClickOnce Application Deployment Support Library) and not the actual program. How can I get the association to be the actual program and not the installer? I've included the fileAssociation node from the app.manifest below. Please let me know if you have any tips on this. Thanks. <fileAssociation xmlns="urn:schemas-microsoft-com:clickonce.v1" extension=".aav" description="My Program" progid="MyProgram" defaultIcon="myIcon.ico"

Serialization Assembly. Is it needed or not?

ε祈祈猫儿з 提交于 2019-11-28 11:55:29
I have a .net 2.0 c# ClickOnce app and it connects to its data via Web Services. I've been told that one way to potentially speed up the application is to generate a serialization assembly beforehand. I have several questions on this front. The default setting to whether to generate a serialization assembly is Auto. What criteria does VS2005 use to decide whether to generate a serialization assembly or not? It seems like it does not generate under Debug configuration, but it does under Release configuration, but I can't tell for sure and can't the information anywhere. Does serialization

ClickOnce application EXE file certificate signing

牧云@^-^@ 提交于 2019-11-28 11:49:26
I am distributing my application through ClickOnce. Now I am signing the ClickOnce manifests. The setup.exe is signed with a valid publisher. After installation, there is another EXE file for the application to run. How can I sign the application EXE file? avs099 You should use postbuild task in your CSPROJ file (note that I sign "RELEASE" configuration only): <Target Name="SignOutput" AfterTargets="CoreCompile" Condition="'$(ConfigurationName)'=='Release'"> <PropertyGroup> <TimestampServerUrl>http://timestamp.verisign.com/scripts/timestamp.dll</TimestampServerUrl> <ApplicationDescription>my

How to install ClickOnce app without prompting the user?

和自甴很熟 提交于 2019-11-28 11:25:55
Is there a way to install a ClickOnce application without prompting the user at all? I'm talking about the "Run/Don't Run" that a user gets the first time he/she runs the application. There seem to be some clues here but I believe it's about skipping the "Elevation" (UAC) and security prompts, and not the actual initial "Run/Don't Run" screen. I can only find information about how to silently update an application that's been installed in the past, but nothing about silently installing an application for the first time. I also found this post which seems to be related, but again, not sure if

Clickonce full trust app update failing with TrustNotGrantedException on Windows 8

爱⌒轻易说出口 提交于 2019-11-28 11:14:09
We have a winforms clickonce application in C# which is granted full trust and signed using a valid certificate. The application runs fine and updates correctly on Windows XP, Windows 7. However, on a Windows 8 machine, it just fails to update. The application runs correctly though. However, the first update request to move up to a later version fails with: System.Deployment.Application.TrustNotGrantedException The code failed after the call to ApplicationDeployment::CheckForDetailedUpdate() failed. Wondering why this could happen as the exact same code is running fine on all previous versions