clickonce

Why does the ClickOnce Deployment installer run the application during installation?

送分小仙女□ 提交于 2019-12-08 08:03:47
问题 Why does the ClickOnce Deployment installer run the application during installation? Details: For an XNA 4.0 application I am prototyping it runs once. If you have Avast! installed and with its Deep Screen feature enabled, it will run twice (Avast! kills it and re-runs it). Note: This is similar to, but not the same as, Install ClickOnce without running. Please see that question for a solution to make it stop running the application. The answer is right here, you must use MageUI.exe. Here, I

ClickOnce Custom Prerequisite for SQL Server Express 2016 LocalDB?

荒凉一梦 提交于 2019-12-08 05:14:16
问题 I'd like to set LocalDB 2016 as pre-requisite when publishing my WPF application. But when I check default pre-requisites in Project Properties, only one available is for SQL Server 2012 Express LocalDB. Any idea why there is no newer one, since I'm using newest possible Visual Studio 2017? Thank you! 回答1: From the few resources available i've found this post by @PaulBrewer, which saved the day. Since it's easier to just download a working solution, i've uploaded my own custom MSSSQL Express

What is the path to an installed ClickOnce application?

本秂侑毒 提交于 2019-12-08 04:26:09
问题 I wrote a "Hallo world" type Windows Forms application in C# to test authentication issues. I'm going to be running the eventual application from a server periodically, so I want to be sure I can get to the resources, and fix that before committing to the whole application. So, in Visual Studio 2010, I choose Publish.... It says "Where?", and I specify a folder on a shared file system. It says "How will your users install", and I say, "URL" or something like that. It says "Where", and I give

ClickOnce WPF application not running on Windows 7 64-bit

点点圈 提交于 2019-12-08 03:49:23
问题 I have a ClickOnce (C#, WPF, .NET 4.5) application, it runs and works fine under Windows 7 32-bit. It is compiled as Any CPU . Under Windows 7 64-bit I see the ClickOnce start screen, and then nothing happens (no errors, nothing obvious). In order to debug, I have copied the EXE file and all relevant DLL files into one directory. I started from there: Again same situation, it runs under Windows 7 32-bit, but nothing happens under Windows 7 64-bit. I have crosschecked with a "clean" Windows 7

Click Once Random Install Prompt

寵の児 提交于 2019-12-08 03:12:02
问题 I've got a click once application that randomly reshows the install prompt. It seems like I notice it first thing in the morning, though I can't say that is always when it happens. (Computer left on over night, but screen locked) Their are two scenarios that open our application, one is directly from the start menu and the other is by way of another application that basically passes the network path to the myapp.application file to iexplore.exe. I can usually get it to reproduce sometimes if

Clickonce application not seeting AppSettings

爱⌒轻易说出口 提交于 2019-12-08 03:02:53
问题 I have a Full trust, online only, click-once application that relies on settings in the App.config --> appSettings collection. Once published, the first time the application is executed, the settings are read and everything works fine. If I close the application and run it again, the items that are in appSettings are no longer there and appSettings.Count is equal to 0. I have set the app.config as "Content" and to "Copy Always". Any Idea what could be causing the items in appSettings to

ClickOnce Custom Prerequisite for SQL Server Express 2016 LocalDB?

社会主义新天地 提交于 2019-12-08 02:28:26
I'd like to set LocalDB 2016 as pre-requisite when publishing my WPF application. But when I check default pre-requisites in Project Properties, only one available is for SQL Server 2012 Express LocalDB. Any idea why there is no newer one, since I'm using newest possible Visual Studio 2017? Thank you! From the few resources available i've found this post by @PaulBrewer, which saved the day. Since it's easier to just download a working solution, i've uploaded my own custom MSSSQL Express LocalDB (2016) Bootstrapper/Manifest for anyone to use. Just follow instructions in readme.md: https:/

SQL Server CE extremely slow on some computers

心不动则不痛 提交于 2019-12-08 01:55:12
问题 I've built an app that uses SQL Server CE 4.0 by default, but can also use a separate SQL Server (SQL Server Express). I've deployed it to about 10 computers around the office and it works fine except on 2 of them: the VP and a QA guy, of course :-/ On these computers, the database accesses are taking around 30 seconds each! If I install SQL Server Express 2008 R2, and tell my app to use it instead, then it runs very fast. Both problem machines are WinXP SP3, but most of the working PCs are

How can I use my Proxy credentials when installing a Clickonce application?

允我心安 提交于 2019-12-08 01:32:16
问题 I am using an authenticated proxy to connect to the internet. The proxy settings are listed in Control Panel, and I get a user/password dialog box the first time I connect to a website. While it normally works fine, when I launched a Clickonce application that needed to download files from the internet, I got this error: Application download did not succeed. Check your network connection, or contact your system administrator or network service provider. I went into the log file, and found

How do you add supportedOS to a Windows click once application manifest?

穿精又带淫゛_ 提交于 2019-12-07 23:15:46
问题 I'm trying to add a supportedOS tag to a click once application manifest. The usual way of doing this for a regular application is to add a app.manifest file to the project containing the supportedOS tag like what you can see below. I removed everything already included in the auto generated click once manifest. Usually a click once application don't need a app.manifest since one is generated for you automatically during the publish step. <?xml version="1.0" encoding="utf-8"?> <assembly