clickonce

Adding Files to a Click Once Deployment

会有一股神秘感。 提交于 2019-12-27 22:11:07
问题 I've got an application that I'm moving over to ClickOnce and the app has a moderately sized data folder with hundreds of files that I need to inlcude in the deployment. The folder needs to be in the same place relative to the EXE after deployment. I've seen several suggestions on how to do this but there doesn't seem to be a agreed upon method for doing this. Any suggestions would be great - Thanks! 回答1: One good way of doing this is: Create a folder under the app in VS name e.g. "datafiles"

How can I determine bandwidth on Windows 7, 8.1 and 10?

巧了我就是萌 提交于 2019-12-25 16:17:12
问题 So far I have struggled to get MbnInterfaceManager working (see hresult from IMbnInterfaceManager::GetInterfaces when no MBN device exists), so instead I built and debugged an application with no problems from within Visual Studio 2015 that executed this WMI query in C# (see also the Win32_PerfFormattedData_Tcpip_NetworkInterface documentation): string query = "SELECT * FROM Win32_PerfRawData_Tcpip_NetworkInterface"; ManagementObjectSearcher moSearch = new ManagementObjectSearcher(query);

Using ClickOnce getting two instances of the program after update

℡╲_俬逩灬. 提交于 2019-12-25 09:50:07
问题 I've started getting ClickOnce setup and using the code below after calling Application.Restart(); I end up with two instances of the application (the newly updated one and the previous version). private static void CheckForUpdate() { ApplicationDeployment updateCheck = ApplicationDeployment.CurrentDeployment; UpdateCheckInfo info = updateCheck.CheckForDetailedUpdate(); if(info.UpdateAvailable) { updateCheck.Update(); MessageBox.Show( "The application has been upgraded, and will now restart."

Can't publish a ClickOnce Application using the Publish Wizard

梦想的初衷 提交于 2019-12-25 08:59:45
问题 I' trying to publish ClickOnce Application to a webserver through sftp (Using Visual Studio 2015. The server is Centos 6.7). My final config in the Publish Wizard: The application will be published to: sftp://10.1.0.88/home/www/sample/web/desktop/ Users will launch this application from: http://sample.example.com/desktop/ When I published: (Output) Connecting to 'sftp://10.1.0.88/home/www/sample/web/desktop/'... Publishing files... Publish success. Warning: Unable to view published

ClickOnce Automatic Update error for VSTO- add-in for Excel

北战南征 提交于 2019-12-25 04:57:28
问题 I created a simple test program to try and understand how Click-Once deployment works and whether or not I can have the program automatically updated. It is an excel add-in with a button in the ribbon that outputs some message box. I have the deployment location set to a public location on the network and updates set to check every time the customization runs. Great - I install the add-in, open Excel, it works fine. Now I go into visual studio and update and re-publish the add-in. Now when I

Deploying Entity Framework WPF Application

感情迁移 提交于 2019-12-25 04:10:00
问题 I've made a WPF application that uses EF6 code first database. I've been doing it all in Visual Studio and using the default LocalDb. The client wants to test what i've doe so far. I've tried ClickOnce application installation to my development PC. The program simply doesn't start, no window opens.... absolutely nothing happens. I've deployed a simple WPF app and it works right away so i surmise it's the EF component. How do i get some sort of output log, or debugging so i can see what the

Automatic update of Windows application(click once) while publishing on other computer's IIS

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 03:58:24
问题 I am publishing my windows application(using ) on share drive and want to give Users facility to update there applications automaticaly. But in "Click Once" I need to specify Installation Folder URL(My Computer does not have IIS on it). So I am trying to publish my application on other computer's IIS(in the network). I am not sure how to do it. 回答1: Installation Folder URL does not have to be an actual URL or website. It can be a UNC path like \ComputerName\SharedDrive\MyApplication So in

vb.net db application - deployment

社会主义新天地 提交于 2019-12-25 02:08:58
问题 developed a win. form vb.net db app that uses an access.accdb backend. I am struggling to find the best deployment strategy. In the past, I have distributed the .exe and access.accdb from the /bin/debug folder. This works, but Im not sure if it's the best method. this db app. will be used by 5-10 ppl, non-simultaneous my current plan is to put the .exe and access.accdb on a network share drive, users will launch from network share users do not have admin privs, the computers have strict

Getting An error occurred while signing: Failed to sign file.exe. SignTool Error: No certificates were found that met all the given criteria

荒凉一梦 提交于 2019-12-24 18:13:51
问题 OK - so this is really odd. I have a TFS build that signs a file and I'm getting the message above. If I look at the log from the build it says that it successfully signed and timestamped my file, (there's a .proj file that manually calls signtool) but below that in a different step (not sure where exactly) - I assume that its in the ClickOnce signing I get the error. I'm able to sign the file myself using Signtool using the same parameters as the build uses so I thought perhaps I needed to

Clickonce + HKEY_LOCAL_MACHINE

a 夏天 提交于 2019-12-24 17:19:10
问题 I have a WPF app written in .NET 4.0, VS2010 that I am looking to deploy via clickonce internally on our intranet. The issue is that I am trying to create a registry key in HKEY_LOCAL_MACHINE, and I am getting access denied. I have the app set for full trust, and even tried asserting the RegistryPermission to no avail. Is it truly not even possible to distribute an app via clickonce and have it access HKEY_LOCAL_MACHINE? 回答1: Not with ClickOnce. See here for a discussion. Relevant part: Due