clickonce

Visual Studio 2010, Crystal Report for Visual Studio 2008 and ClickOnce

I'm in a bit of trouble here. I upgraded one of our Winforms products from VS2008 to VS2010 about 4 weeks ago. The conversion was fine but we used Crystal Reports so had to install the VS2010 Crsytal Reports for Visual Studio 2010 Beta 2. This was fine and gave me the designer etc. back for crystal. I chose not to convert the reports...

How do I sign a VSTO deployment?

Client purchased a code-signing certificate, and it came with a .pvk file and a .spc file. I am familiar with the .pvk file, but Visual Studio doesn't recognize the .spc file. When I try to load the .spc file as the ClickOnce Certificate, a message box says "The selected file does not contain a private key. You must choose a certificate...

WPF4 Partial Thrust, permission error

Hi All, I've just created a WPF 4 application. Then I go to the security tab in the properties, and set enable click once security, set it to Partial Thrust and set the zone to Internet. But when I run the application I get this error: Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Versio...

How do I prevent prerequisite files from being duplicated in the app deployment folder?

I have a .NET 3.5 SP1 WinForms application. I have set it up for ClickOnce deployment with the following settings: Publish to location: \\fileserver\installers\myapp\ Prerequisites: Windows Installer 3.1, .NET Framework 3.5 SP1 Download prerequisites from the following location: \\fileserver\installers\common\ Application is availab...

Can the .Net 4 Client Profile be deployed via ClickOnce to non administrators?

I have deployed Windows forms applications regularly via ClickOnce that are installed by users that are not local administrators on their machines. Is there a way to also deliver the .Net 4 Client Profile the same way? From what I have read, I am guessing the answer is no. But I'm also hoping there may be a clever alternative. ...

ClickOnce, VSTO, or simple auto update for an COM DLL used by Outlook

I have a COM component written in C# that implements ISmartTagAction to add actions to the right click menu for things like mail recipients and senders. It's just a .NET class library that exposes some classes through COM interop. Currently, I deploy this with a Visual Studio Setup project. That installer just registers the DLL for CO...

Change build output type from .dll to .dll.deploy through MSBuild

Hi all, I am writing a script to mimic the behaviour of the Visual Studio publish target for ClickOnce applications. I have got everything working well except for the part where build output executable and config files are renamed to ..deploy (e.g..exe.deploy). When I manually rename the files (using the ren command), I get warnings wh...

WPF custom control looking weird on deployment

I use a custom numericUpDown control in my WPF application which works fine in my local development environment. However when i deploy my application the control looks strange, to be more specific, all the elements within the control seem to be in place but without the styles. What could be the reason for this? ...

Can Visual Studio Post Build Events be used with ClickOnce Publishing?

In Visual Studio 2008, can a the post build event be used with Click Once publishing? If so, how? Out of the box is looks like I can only use pre-build events and click once publishing seems to build the project to a different location, before the post build event is launched. ...

Is it possible to create ClickOnce-like functionality for an Excel 2003 addin ?

I'm working on an Excel 2003 addin (users will upgrade to newer Office, but not any time soon), and am wanting to use functionality to automatically check for a newer version, and deploy it if there is one. I can't use ClickOnce as that is Office 2007 (so VSTO v3) or better. I'd like to have some functionality that does this kind of ta...

How to disable ClickOnce (or at least that "Are you sure you want to install this program" window in VS2010 Express

How might I go about creating an application that does not need that "Publisher Cannot be verified" window. How can I get my WinForms app in a .exe file so that I can just click it and it runs, not asking me to do anything? maybe this can be done by disabling ClickOnce but how can you do that in VS2010 EXPRESS? ...

Any way to be able to install the same ClickOnce app from two different locations?

We build the application once, and then deploy it to multiple sites. I can install it from any of the deployed servers, but I cannot have it installed from multiple at the same time. I understand that this is a limitation of ClickOnce. Is there any way to trick ClickOnce into allowing this to work? Or any site-specific post-processin...

Change clickonce prereq's

So I migrated from VS2008 to VS2010 with my clickonce application. I use to have the 2008 C++ redist as a prereq for my application. Upon moving to VS2010 that option no longer exists and the 2010 C++ redist will not do. I have successfully been able to re-add the 2008 redist into the Visual Studio 2010 prereqs list. My question is...

clickonce installation question

Hi, I have 2 servers. One is production and testing servers. Now, I have a WPF application which sitting in both production and testing servers. How can i install the WPF app in my local machine with both from production and testing servers? I keep getting an error the same signature has been installed. thanks ...

How to have a "dynamic" Click Once prerequisite

Specifically, SQL Express. I have an internal winform app that, if they have a laptop, needs to install SQL Express to enable certain functionality. Right now I am installing it for everyone as it doesn't 'hurt' the desktop users outside of the time it takes. I would like to have it install SQL after I detect if they are on a laptop. ...

How rename setup file in clickonce?

How rename setup file in clickonce? from setup.exe to myapp.exe ? ...

How do I set the .application icon for a ClickOnce deployment (online only)

I have a clickonce application that I would like to have the ApplicationName.application file have an icon for the application. Currently the ApplicaitonName.applicaiton file has the default window with blue top and green arrow standard icon. I have an application icon under the application setup, resources, icon and manifest. That ap...

Problem installing a ClickOnce application

I downloaded setup.exe, and then begin to install and it immediately crashes. On win7 it worked fine. On XP it doesn't work. Error text: Unable to install or run the application. The application requires that assemble stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. ...

C# ClickOnce deployment for Windows Services?

What are some best practices for being able to deploy a Windows service that will have to be updated? I have a Windows service that I will be deploying but might require some debugging and new versions during the beta process. What is the best way to handle that? Ideally, I'd like to find a ClickOnce-style deployment solution for Windo...

how can fire only one click event even the user clicks button 2-3 times at the same time?

I have a add to list button.when user clicks on button the data in text box gets added in listbox.User can not add same data. but the problem is that is user clicks add button 2-3 times with in a seconds the data is getting added 2 times in list. And if user does not clicks on button like this my javascript validation is working fine but...