clickonce

ClickOnce Prerequisites: where is SQL Server Express 2014 LocalDB?

随声附和 提交于 2019-12-02 22:53:47
I am creating a clickonce installer for my wpf application from within Visual Studio 2013 Community edition. This application uses a localdb. It works fine on the target machines if I manually install sqlserver express 2014 LocalDB. But I would like to include the installer for SQL Server Express 2014 LocalDB with my clickonce deployment. When I open the prerequisites dialog, however, only SQL Server 2012 Express LocalDB is available (see image). I tried selecting '2012, but it is not compatible with the mdf file my installer drops into the data folder. The question is: How do I include the

How to specify user credentials for a click-once application?

拜拜、爱过 提交于 2019-12-02 22:30:50
For a regular .exe file i can always right click and select "run as..". How can i run a Click-Once application under different credentials in a similar way? I am talking about the application itself, not the installer. The answer really is no, you shouldn't do this. ClickOnce applications are installed under the user profile and belong only to that user. THey will not and do not work as an all-user installation. Also note that if you double-click on the [exe] file (the location of which changes every time there is an update), it will not look for updates, it will not check the files to make

ApplicationFiles folder missing when ClickOnce publish with command line

旧街凉风 提交于 2019-12-02 19:03:06
问题 ClickOnce publish with IDE works normal. When trying to publish via MSBuild command line %MSBUILD% /target:publish /p:Configuration=Release;PublishDir="REMOTE_FOLDER" only Project.exe and Setup.exe copies. When try to %MSBUILD% /target:publish command then all necessary files copies to the build\app.publish folder How do I publish via command line same ClickOnce settings which IDE uses PS this question similar but not the same 回答1: How do I publish via command line same ClickOnce settings

How to find the Target *.exe file of *.appref-ms

ε祈祈猫儿з 提交于 2019-12-02 17:22:51
I have to make a Backup of the Program running from the file *.appref-ms When i Opened the File GitHub.appref-ms using text editor i found http://github-windows.s3.amazonaws.com/GitHub.application#GitHub.application , Culture=neutral, PublicKeyToken=8f45a2159c87c850, processorArchitecture=x86 Where is the Target Pointing in the LocalDisk, Editing the PublicKeyToken Resulted in Default or Null Icon. Editing the URL Resulted in "Application Cannot Start". How is *.appref-ms Targeting the Exe??? This doesn't answer my Question Note : I tried Opening the File Offline, Still it Works Perfectly.

How do I get the ClickOnce Publish version to match the AssemblyInfo.cs File version?

纵然是瞬间 提交于 2019-12-02 16:15:35
Every time I publish the application in ClickOnce I get get it to update the revision number by one. Is there a way to get this change automatically to change the version number in AssemblyInfo.cs file (all our error reporting looks at the Assembly Version)? Jason Stangroome We use Team Foundation Server Team Build and have added a block to the TFSBuild.proj's AfterCompile target to trigger the ClickOnce publish with our preferred version number: <MSBuild Projects="$(SolutionRoot)\MyProject\Myproject.csproj" Properties="PublishDir=$(OutDir)\myProjectPublish\; ApplicationVersion=$

Signing ClickOnce with a certificate? [closed]

老子叫甜甜 提交于 2019-12-02 15:49:56
What is the process of obtaining a certificate to sign my ClickOnce assembly(ies)? I've got a few ClickOnce applications at my company, but they are all signed with temporary certificates created by Visual Studio. Those are obviously not Trusted Root Authorities nor Trusted Publishers. I've followed along the article Configuring ClickOnce Trusted Publishers , and I like the experience when something is signed with a certificate that is both a Trusted Root Authority and Trusted Publisher (that is, no prompt, just an install). Can I use the same certificate to sign multiple ClickOnce assemblies?

Clickonce application doesn't restart after upgrade is complete

和自甴很熟 提交于 2019-12-02 15:37:33
问题 I am using AppplicationDeployment class to check if upgrade is available and then upgrade the app like below Dim AD As System.Deployment.Application.ApplicationDeployment = System.Deployment.Application.ApplicationDeployment.CurrentDeployment Dim info As System.Deployment.Application.UpdateCheckInfo = Nothing Me.DialogResult = Windows.Forms.DialogResult.Cancel Me.Close() AD.Update() Application.Restart() // this doesn't work which is still ok. The restart doesn't work so I am trying to get

Pitfalls/gotchas of ClickOnce/smart-client deployment in .NET [closed]

非 Y 不嫁゛ 提交于 2019-12-02 15:33:48
I have several .NET Windows Forms applications that I'm preparing to convert into a ClickOnce /smart-client deployment scenario. I've read the isn't-this-great tutorials, but are there pitfalls or "gotchas" that I should be aware of? There are several minor applications used off and on, but the main application is in C#, runs 24/7, is quite large, but only changes every few weeks. It also writes to a log file locallly and talks to local hardware devices. Darrel Miller Here are a few that I am aware of. Can't put an icon on the desktop. You can now. I can't install for all users. I need to jump

How to display ClickOnce Version number on Windows Forms

喜夏-厌秋 提交于 2019-12-02 15:21:51
I have a windows forms application that is deployed to two different locations. Intranet - ClickOnce Internet - Installed on a citrix farm through Windows installer I display ClickOnce version number for click-once deployed version ApplicationDeployment.IsNetworkDeployed . if (ApplicationDeployment.IsNetworkDeployed) return ApplicationDeployment.CurrentDeployment.CurrentVersion; But for the non-click application, I am not sure how to retrieve clickonce version unless I hardcode the version number in assembly info. Is there an automatic way of retrieve ClickOnce version number for non-clickonce

Best Way For Update Application

我的未来我决定 提交于 2019-12-02 11:53:50
I am developing a game with WPF technology. I want to add new Features to game every third days . the size of update is important for me. my game needs to internet for start. like an online game. another challenge is size of updates. the most important note : I need to update of the program does not needing stop. what is your suggestion? Does clickonce is good option? thanks for your attentions. give me guideline please. ClickOnce deployment does incremental updates. When you deploy an update, if the date/time stamp and hash of the file are the same as the last version, ClickOnce copies them