clickonce

ClickOnce Upgrade Fails after Converting to .NET 4

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 06:08:43
Our application is .NET 3.5 deployed via ClickOnce. We just upgrade to .NET 4.0 and updated the pre-requisities appropriately. The install still works fine for first-time users or users who install via the setup HTML page. It will automatically install the .NET 4 framework for them. However, users who already have the application installed and attempt to run it via the start menu get the prompt: "Unable to install or run this application. This application requires your system to be updated to the Microsoft Common Language Runtime Version 4.0.30319.0. More information can be found here" (link

VS2012 ClickOnce Applications not working on Windows XP

假装没事ソ 提交于 2019-12-05 05:29:21
While installing on WinXP ,following error apperad On Win7 application installed without problem. Windows forms app and WPF app both have the same problem and both of them worked correctly before in VS 2010. It seems the only way is to publish it from VS 2010 SP1.Projects are compatible in both studios. We had the same issue, but found a simple fix: Instead of running the setup.exe run the "xxxxxx.application" (manifest) file in the same location. This will execute and install in exactly the same manner and does not complain about not being a 32bit app. The problem was solved.Please see: Setup

Download ClickOnce fails from setup.exe

浪尽此生 提交于 2019-12-05 05:10:44
I have a problem regarding the download of a ClickOnce application. I have succesfully deployed my ClickOnce application to an IIS server. The ClickOnce files are in path on the IIS: /MyApp/install When i from another machine navigate to the standard publish page of the ClickOnce I can either click "launch" or install. The difference is: - "launch" URL is to ThisIsTheApplication.application file. - install URL is to setup.exe file When I click the launch file I can succesfully install the apllication. If I use the setup.exe it fails when i try executing that file. The setup.exe basicly checks

How to add external file to application files ( clickonce / .NET)

Deadly 提交于 2019-12-05 04:52:45
I'm using 'Publish' option in vs2008 and I'm pretty happy how it works. Now I'd like to add 2 external *.exe files to installed package I've noticed button ' Application Files... ' at publish tab but it seems doesn't allow adding new files manualy. I've played with this and found the way how to archive that: 1. add EXE files to project as external items 2. change their property 'build action' to content Works well now but I'm receiving warrning info: Assembly 'file_name.exe' is incorrectly specified as a file. C:\WINNT\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets PROJ_NAME Any idea

Install VSTO WITHOUT using Clickonce

霸气de小男生 提交于 2019-12-05 03:42:14
I just created my first VSTO Add-In for Excel. I'm trying to find a way to install the add-in on the end users machine easily. If I copy the the .dll and try to add it from the COM Add-Ins manager in Excel I get this error: <ProjectName>.dll is not a valid Office Add-in. If I use the publish wizard, it does not give me an option to select where to install the files on the client PC. Instead, it uses the path to the installation files. So, how can I install my VSTO add-in without using the publish wizard (AKA clickonce)? You should be using Visual Studio Setup Project and add your vsto project

Install sap crystal report as prerequiste in clickonce deployment

自古美人都是妖i 提交于 2019-12-05 02:38:58
问题 I have a client WPF which uses crystal reports. For now in client machine I have to install separately the crystal reports and then the app. Is there a way to attach it with the app installation? I tried to add this as a perquisite in publish properties but it gives error during publish as it can't find on the local machine under Crystal Reports for .NET Framework 4.0 folder. 回答1: Here is my take on this: Step 1: Install SAP crystal runtime from here. Make sure you download both 32 and 64 bit

Ways to speed up the startup of a ClickOnce application

£可爱£侵袭症+ 提交于 2019-12-05 02:26:02
问题 I have a Visual Studio 2005/C# ClickOnce application that gets all its data from a Web service. I've gotten the application tuned where it feels pretty snappy to the users, even though it has to go and fetch data from the Web service for almost everything. However, the startup is still pretty sluggish. It seems like it takes a while to generate the first web service call. After that, it's fine. What can I do to speed up the startup of this type of an application? Do I need to generate a

ClickOnce: Value does not fall within the expected range

☆樱花仙子☆ 提交于 2019-12-05 02:08:25
I have a distributed application via ClickOnce. I updated several times and there has never been a problem. Since the last update (which was minor: a label), when I run my application from a post, click once start and prompt me an error: Application Cannot Be started When I look at the logs I get the following message: OPERATION PROGRESS STATUS * [04/10/2012 13:24:33] : Activation of C:\Users\xxxxxxxxx.appref-ms| has started. * [04/10/2012 13:24:33] : Performing necessary update check as specified by the deployment. ERROR DETAILS Following errors were detected during this operation. * [04/10

Use ClickOnce on password protected web site

守給你的承諾、 提交于 2019-12-05 01:58:48
I am using ClickOnce to distribute an application from a website URL. The application has a few merge modules such as ADO ActiveSync that requires the ClickOnce installer to download the dependecy. If I password protect the URL, the user can log in and start the Click Once process using the publish.htm page. The process fails when it tries to download the dependecy files since ClickOnce is not supplying the authentication information. Is there a setting I can use so that ClickOnce can log back into the website it was just started from and download the merge modules? I don't really care if the

How does a click-once application determine its application identity?

让人想犯罪 __ 提交于 2019-12-05 00:42:43
I have a click-once application, which is correctly signed, correctly configured and installs itself without any problem. It is set to run offline, but install from a specific URL, and if I download and run the setup.exe, it installs updates. So, it's basically all working... except I cannot print out the version number, or trigger an update from in code. If I try, I get the dreaded: 'Application identity is not set.' 2017-01-10 13:43:14.8367 ERROR System.Deployment.Application.InvalidDeploymentException: Application identity is not set. at System.Deployment.Application.ApplicationDeployment