clickonce

Can't select an entry point with MageUI

≯℡__Kan透↙ 提交于 2019-12-11 03:31:07
问题 I'm publishing my wpf application using ClickOnce, however i also want to obfuscate it. I am publishing my application to a local folder, obfuscating it, then resigning it using mageui and then uploading it to my web server. The problem is, I can't seem to define my executable as an entry point, every time i select it, it will default back to an empty file type. The weird thing is, this happens even if i don't obfuscate my assembly and try to resign it as is. I can define other dlls I've

ClickOnce Hello World not working

谁都会走 提交于 2019-12-11 03:28:38
问题 I read some documentation about how to do ClickOnce deployment and now I'm trying to deploy a hello world application. I have a WPF default application (just an empty window). This is what I do: Open project properties. Open publish wizard. Select a local server. I created a website using Visual Studio (File/New/WebSite) and then I can select it from the list. I used the one named Test1 . Then select the option that says The application will be available online and offline Publish Now I run

MageUI.exe removes compatibleFrameworks element

走远了吗. 提交于 2019-12-11 03:09:32
问题 We use MageUI.exe to manually create different versions of our ClickOnce deployment for development, test and production. We change the Publisher in order to have the program icon appear in a separate folder of the Start Menu. We use the MageUI.exe version in the Microsoft Windows SDK for Windows 7 and .NET Framework 4 (AKA Microsoft Windows SDK 7.1). This version shows 4.0.30319.1 as its version number. Our .application -files contain a <compatibleFrameworks> element, which is needed for

Can ClickOnce or InstallShield setup SQL Server or SQL Server Express?

淺唱寂寞╮ 提交于 2019-12-10 21:24:50
问题 Can ClickOnce or InstallShield setup or configure SQL Server or SQL Server Express specifically adding an sa password, enabling named pipes, granting permission to read from folders, adding primary database ( .mdf files) needed for my client application. Or do I need to hard-code those functions from my client app? 回答1: Can ClickOnce do it? Yes, but...... ClickOnce can install dependencies like this, but due to the nature of the SQL Server install I personally would avoid doing it that way.

Using Driver Signing Certificate for Code Signing

倖福魔咒の 提交于 2019-12-10 21:08:22
问题 When distributing Software (by Microsoft ClickOnce), are there downsides on using an existing Driver Signing Certificate (from GoDaddy) for Code Signing? 回答1: There shouldn't be any difference using a kernel code certficate instead of a normal Code-Signing-Certificate. They are both based on the Microsoft Authenticode system but they are - for what I know - on a different level of trust: Code-Signing-Certificates: Class 2 Microsoft-Kernel Code: Class 3 (based on https://www.startssl.com/?app

Clickonce program will not start when launched from shell_execute

徘徊边缘 提交于 2019-12-10 20:55:46
问题 I have a very old program that I have no control over. It launches a filetype with its default application like this(I cannot modify this code): LET Err (SHELL_EXECUTE 'open' (FIX_MESG '"{1}"' File_name) '' '') ^^The above code works, so long as that filetype isn't associated with a ClickOnce program. The old program is 32 bit, the OS is Windows 7 64 bit. I can compile my clickonce program as anything, but none seem to work. (I've tried x86, x64 and anyCPU) How can I make a 32 bit program use

Solution for Deploying & Updating Document Level VSTO Addin Including the Document

佐手、 提交于 2019-12-10 20:36:56
问题 Do any of you have advice on methods for deploying an office VSTO addin, especially Excel, that makes it easy to update and deploy the document as well as the addin. I have a document level addin for Excel 2010 that I created using VSTO. I currently deploy it using click once. However, this has a few problems. The first problem is that I publish it to ftp then users install it from my website. Since the document and addin are downloaded from the internet, I obviously have trouble getting

Run a ClickOnce application from a webpage without user action

余生颓废 提交于 2019-12-10 20:28:44
问题 We have a Java based web-application and also the same application written in C# which should be run if the java-checker finds out that there's no Java installed on the client machine. The idea is to run the C# ClickOnce application automatically, without any user action, once the Java checker reports that there's no Java installed on the machine. Is that possible and if yes - how? 回答1: Just link to (or redirect the browser to) the URL of the ClickOnce application. That should launch the

In Visual Studio, can I disable signing my application when in debug?

♀尐吖头ヾ 提交于 2019-12-10 19:56:40
问题 In Visual Studio's Project Properties -> Signing tab, I have signed my project with a code-signing certificate. On my team, however, I'm the only one with the code-signing certificate, even though we're in a multiple-developer environment. When the other developers try to "Start Debugging", they get the following message: "cannot find the certificate that matches the project system thumbprint" Anyone have any suggestions for allowing them to debug their project, but only allow me to publish?

Modify .csproj in pre-build event

核能气质少年 提交于 2019-12-10 19:09:51
问题 tl;dr: How to modify the .csproj file during publishing with ClickOnce while executing pre-build events? Long: I'm using TFS hosted by Microsoft for version control of my solution. When publishing with ClickOnce , I get the latest revision number + 1 without problems. I also can successfully write the new version number into the .csproj file outside my build-process. The problem is, that the .csproj file doesn't get updated during the build process - it might be in a write-lock. I get a