clickonce

Testing ClickOnce Applications

ⅰ亾dé卋堺 提交于 2019-12-10 19:03:35
问题 What method would you use for testing a new version of a ClickOnce application (side by side with the current version) amongst multiple users? Are there any best practices (especially as the applications depend on different servers for the live/test versions of SQL / web services etc). We use internal DNS to set up http://application.ourdomain.test sites to test web based applications. It's obvious from the address bar that you're logged into a test site and it's just a change to the

Bundling only part of the prerequisites with ClickOnce

感情迁移 提交于 2019-12-10 18:53:06
问题 Is it possible to configure the ClickOnce installation so that it requires .Net Framework and VSTO but includes only the VSTO binaries and downloads .Net Framework if necessary? Including the VSTO in the package isn't too much of a problem but the 350MB .Net Framework is something I'd do away with if possible. (Dynamics CRM SDK depends on some non-client profile features so I need the full one.) In most cases the users have the .Net Framework installed so in these cases it's okay to leave the

How to change Setup.exe icon when publishing through clickonce

試著忘記壹切 提交于 2019-12-10 18:18:46
问题 Is there any way to set custom icon for setup.exe file when publishing through VS for click once publish. Always after publishing, I am getting setup.exe file and with the icon (kind of black disc image) but after installing the application, I can see my custom logo on the startmenu,ctrlpanel. 回答1: I'm not aware of any way to change the icon BEFORE building the project so that once the ClickOnce is deployed it already has the icon, however you can edit the setup.exe icon AFTER deployment

How to set LARGEADRESSAWARE in no signing assembly projects for a ClickOnce app?

折月煮酒 提交于 2019-12-10 17:50:15
问题 I have an application with the next two Post-Compilation commands: call editbin /LARGEADDRESSAWARE $(TargetPath) call editbin /LARGEADDRESSAWARE $(ProjectDir)obj\$(PlatformName)\$(ConfigurationName)\$(TargetFileName) and works fine. But when I publish into a server as the ClickOne Application works with no errors but when I try install in a client the hash of file is different than the value calculated in the manifest. I tryed to use the next command: sn -Ra $(ProjectDir)obj\$(PlatformName)\$

Error: Failed to connect while Publishing Click Once Application Wpf

百般思念 提交于 2019-12-10 17:32:23
问题 I got an error while publishing my WPF application. I am publishing on the desktop and the location of the installation folder and the publish folder is the same. \ Error says--- Error 1 Failed to connect to '\localhost\Users\Administrator\Desktop\deploy\' with the following error: Unable to create the Web site '\localhost\Users\Administrator\Desktop\deploy'. The path '\localhost\Users\Administrator\Desktop\deploy' does not exist or you do not have access. The specified path is invalid. 回答1:

ClickOnce applications and Windows 8 certification

霸气de小男生 提交于 2019-12-10 17:16:03
问题 Is it possible to have a ClickOnce, WPF application certified as compatible with Windows 8? Note that I’m not referring to getting the application certified for the Windows Store. I just would like to have it certified as a compatible Windows 8 desktop application. 回答1: No, ClickOnce applications can't be certified. :( Here is the official word from the team: ClickOnce deployment manages install/uninstall a bit different than a traditional installer. For instance, install location doesn’t go

Deploy external file in c# solution with clickonce

做~自己de王妃 提交于 2019-12-10 17:14:09
问题 I've a problem with Visual Studio Express 2010 c# edition. I've a project that reference a DLL. This DLL has an external Excel file marked as Build Action = Content Copy to Output Directory = Copy Always When I build the solution, this Excel file is correctly copied into BIN\release solution folder. BUT if I try to deploy the same solution, with Publish wizard, the Excel file is not copied in the install directory. Please, could anyone help me? 回答1: Are you saying that the Excel file is

Generate setup.exe for ClickOnce deployment from command line using MSBuild

隐身守侯 提交于 2019-12-10 16:43:39
问题 I have a MSBuild script that builds my windows forms application, generates the application manifest and signs it, then generates the deployment manifest. The script also generates the publish.htm file for me. Now I need to generate the setup.exe file and so far I have not been able to figure out how VS generates it. How can I generate the setup.exe file using a MSBuild script? Thank you in advance for your help! 回答1: You can use the built-in GenerateBootstrapper MSBuild task When you do a

How do I correctly publish my app?

眉间皱痕 提交于 2019-12-10 16:42:47
问题 I am using visual studio to create my first windows desktop c# wpf app. I am at the phase I want to release/deploy/build it. In Visual Studio Express 2013 I right click my project and click publish, I click next and leave the publish location default as I dont know what I should put, next I choose to have the users install from a cd-rom/dvd and tell it not to check for updates and click finish. It then create a 'clickonce' application on my desktop. So I upload to it a web server, download it

Sign the ClickOnce manifests checkbox keeps defaulting to checked on publish

一个人想着一个人 提交于 2019-12-10 16:39:37
问题 I am trying to get a .NET solution to publish using ClickOnce without signing the manifests in Visual Studio 2008 SP1, but I am having no joy. Specifically the check box called "Sign the ClickOnce manifests" keeps getting re-checked every time I publish. Strangely, another developer says he can publish on the same solution and leave this unchecked. I saw the other Stack Overflow question, How to not sign a ClickOnce manifest . But I thought you are supposed to be able to publish using