clickonce

ClickOnce Manifest has invalid children - but xml matches old published manifests

本秂侑毒 提交于 2020-01-02 07:03:41
问题 I have an error during installing updating or fresh installing my ClickOnce publish on my app. This occurs on computers without the app installed and on those with the app already there. The pfx file I use for signing the project is the same as it was in previous versions so I don't think the certificate is the issue. + Exception reading manifest from <APPPATH>.exe.manifest: the manifest may not be valid or the file could not be opened. + The element 'assembly' in namespace 'urn:schemas

VS2012 ClickOnce Applications not working on Windows XP

心已入冬 提交于 2020-01-02 03:00:36
问题 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. 回答1: It seems the only way is to publish it from VS 2010 SP1.Projects are compatible in both studios. 回答2: 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

How do I install/deploy/build my Visual C# application so it's available to all users?

浪尽此生 提交于 2020-01-01 18:56:55
问题 I've written an application in Microsoft Visual C# 2008 Express Edition. The Windows XP computer I want to install it on has two user accounts. One is the admin account, the other is the main user account and does not have admin privledges. I tried installing the application as the main user, and got an error saying i can't because I'm not admin. Fine. I tried installing the application as the admin account. It installs fine and works fine under the admin account, but doesn't seem to be

Will SQLite Work in a ClickOnce Deployment?

泄露秘密 提交于 2020-01-01 15:05:00
问题 And if it will, what is the best practice in terms of connection strings? Just a relative path? |DataDirectory| ? 回答1: SQ Lite should work just fine in a ClickOnce scenario. It's a zero configuration components. Components which require configuration usually have issues with click once. http://www.sqlite.org/ 回答2: I don't know about SQLite, but yes: I believe you'd want to use |DataDirectory| with ClickOnce, since that points to the area in the user's profile where the app's data/settings can

Is it possible to automate a ClickOnce deployment?

我的梦境 提交于 2020-01-01 10:13:35
问题 I work on a project consisting of a server and a client application deployed via ClickOnce. The client is installed the first time a user clicks a http://...file.application link, and the interaction with the user during installation are minimal (just the standard ClickOnce install/don't install dialog box). One of our client wants to be able to automate the installation of the client on the users' machines. Is there a way to install the ClickOnce application without any user interaction, in

How to rename setup file in ClickOnce?

可紊 提交于 2020-01-01 08:05:21
问题 How can I rename a setup file in ClickOnce, from setup.exe to myapp.exe? 回答1: Just rename setup.exe to myAppSetup.exe and edit the publish.htm file to change the href from setup.exe to myAppsetup.exe. Users can download this by right clicking the install button and choosing Save As . I recommend myAppSetup.exe so as not to confuse it with the executable. Oh yes, it is a bit tricky to automate this process because Visual Studio only has a post build event option to run an external tool, and no

Problems deploying a WinForms app that uses Microsoft ReportViewer

三世轮回 提交于 2020-01-01 05:06:20
问题 I have published a WinForms application from Visual Studio 2010. It uses .NET 4.0. in the prerequisite dialog in Publish pane I selected .NET 4.0 Client Profile and Windows Installer 3.0. After publishing application to disk, I migrated it to client's computer which first installed .NET Client Profile and after reboot it gave following error message: Unable to Install or run application. The application requires that assembly, Microsoft.ReportViewer.Common version 10.0.0 in global assembly

Can I deploy a ClickOnce application via CD, and update via Web?

人走茶凉 提交于 2020-01-01 02:49:07
问题 We have a vendor application that we extend and deploy via ClickOnce. The vendor also provides a 'Deployment Manager' which packages the app and any extensions into a ClickOnce deployment that we publish to a web server. I mention this detail so that it's understood we don't really have great control over changing the deployment process. So, we publish the application to our web server. That works fine, and updates work correctly. On loading the application, it will prompt the user if they

List of WPF functionalities that aren't in Silverlight 3

时光毁灭记忆、已成空白 提交于 2020-01-01 00:40:33
问题 A common technical decision nowadays is whether to build a ClickOnce rich client application or a web application. Here I'm focussing primarily on choosing between a WPF application or a Silverlight application. The chief benefit of Silverlight is obvious - it can be hosted in a browser. But, if a programmer used to WPF was to start programing in Silverlight, what would he/she suddenly find is not possible or much harder? Items can be of the following: You just cannot do it, period You can do

ClickOnce Prerequisites: where is SQL Server Express 2014 LocalDB?

折月煮酒 提交于 2019-12-31 14:34:14
问题 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