clickonce

Creating a (ClickOnce) setup for VSTO Outlook Add-in

有些话、适合烂在心里 提交于 2019-12-06 03:29:39
问题 So I created an Outlook Add-in and used the click-once setup to deploy it. The setup runs fine when the user is administrator, but otherwise: no go. Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook. I tried following this guide: http://blogs.msdn.com/mshneer/archive/2008/04/24/deploying-your-vsto-add-in-to-all-users-part-iii.aspx But I get stuck at part I: http://blogs

How to update just one DLL in a ClickOnce installation?

我只是一个虾纸丫 提交于 2019-12-06 02:51:27
问题 I am working on a large click-once application (150MB, >200 DLLs) and as part of the interative debugging process I would like to update just 1 DLL and relaunch the application without having to rebuild and redeploy the entire application. Is that possible? If so... how? Question Clarification: 9/26/2009 I know that it is possible to manually patch DLLs on the client after it has downloaded the entire application and then launch the client .EXE directly from the local cache folder. That's not

One-Click application moving from Windows Forms to WPF

跟風遠走 提交于 2019-12-06 02:45:00
问题 I have a Windows Forms application that I recently re-wrote in WPF, and I need to release it to my end users. I'd like to be able to have the users go to the ClickOnce install point for the WPF application and have their Windows Forms application removed, so they don't have both on their machine. What's the best way (read: easiest for users) of accomplishing this? I have thought about creating an prerequisite command line to detect the old version and uninstall, but I would like to avoid

Create a clickonce webdeploy package

↘锁芯ラ 提交于 2019-12-06 01:12:57
问题 Is it possible to build a web deploy package containing a clickonce application that can be deployed to a web server using the standard webdeploy tool? Here would be the ideal process: MSBuild "YourFullyQualifiedProjectName.csproj/vbproj" /T:Package obj\Debug\Package\YourFullyQualifiedProjectName.deploy.cmd /Y The reasoning behind this would be so we can build the whole solution including web packages, run all tests, then deploy only after tests pass. I've currently looked at doing a file

Running a scanning app on a 64-bit machine via ClickOnce

◇◆丶佛笑我妖孽 提交于 2019-12-05 23:21:36
Okay, here's my setup. I have a c# app working perfectly on all 32-bit Windows XP-Vista-7 machine. I already have a verisign PFX to support the ClickOnce deployment and is using Atalasoft DotTwain 8.0 as the 3rd party scanner helper. When I publish my application, I choose "Any CPU" as the Platform target. When I try to make it run on a Windows 7 64-bit Home Premium, my application crashes after the installation. I tried re-publishing the work on a specific x64 platform but still failed. Any ideas on what i'm doing wrong here? thanks so much~! Choose 'x86' and I'll bet it will work; You most

XAML Parsing Exception

大城市里の小女人 提交于 2019-12-05 18:24:19
I have a simple XAML page that load fine when it is loaded as part of any application within Visual Studio. However, when I deploy this application using ClickOnce, I get the following exception: Type : System.Windows.Markup.XamlParseException, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 Message : Unable to cast object of type 'System.Windows.Controls.Grid' to type 'EMS.Controls.Dictionary.StatusBarControl'. Error at object 'System.Windows.Controls.Grid' in markup file 'EMS.Controls.Dictionary;component/views/statusbarcontrol.xaml'. Source :

is it possible to run clickonce application with Mono?

与世无争的帅哥 提交于 2019-12-05 17:45:20
i'm developing clickonce application which, potentially, i would like to distribute on Mac platform. I know i can compile .Net application wtih Mono - and it will work on Mac. But can I use clickonce as the installer then? thanks! I don't think Mono team has ever implemented the ClickOnce .NET APIs that make this possible. However, I think it should be kind of straightforward to implement them. That being said, it might be wiser to just use the Mac backend for Squirrel . (Which is a project implemented by Github employees, used in their Github Windows client, that replaces/improves ClickOnce,

ClickOnce application won't accept command-line arguments

做~自己de王妃 提交于 2019-12-05 16:29:13
I have a VB.NET application that takes command-line arguments. It works fine when debugging provided I turn off Visual Studio's ClickOnce security setting. The problem occurs when I try to install the application on a computer via ClickOnce and try to run it with arguments. I get a crash when that happens (oh noes!). There is a workaround for this issue: move the files from the latest version's publish folder to a computer's C: drive and remove the ".deploy" from the .exe. Run the application from the C: drive and it will handle arguments just fine. Is there a better way to get this to work

Location of user files with a ClickOnce application

China☆狼群 提交于 2019-12-05 15:12:17
I have a WinForms app that I am trying to deploy with ClickOnce. It consists of an executable and a dependent dll, plus a bunch of loose xml files in a folder called "Map". The xml files all seem to be present and correct in the generated clickonce package and are all included in the .manifest file. However, when I install and run, using the following code gives me a directory not found exception: string appPath = Path.GetDirectoryName(Application.ExecutablePath); string mapPath = Path.Combine(appPath, "Maps"); foreach (string xmlFile in Directory.GetFiles(mapPath, "*.xml")) when I look in

put build date in about box

瘦欲@ 提交于 2019-12-05 13:54:05
I have a C# WinForms app with an About box. I am putting the version number in the about box using: FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location) .FileVersion This ends up giving me the Subversion revision number from which the executable was built. I would also like to get the date of the build into the About box. I tried: File.GetLastWriteTime(Assembly.GetEntryAssembly().Location) But that gives me the write date of the executable, which only corresponds to the date when the app was installed (we are using ClickOnce) not built . How can I get the build date ? If