Visual Studio :: ClickOnce (Publish Wizard) Deployment / - Run Code On Uninstall
Nov 5, 2010
I have an application that I'm deploying via the Publish Wizard from Visual Studio 2008. I've added some code to my application that adds a few registry keys. I'd like to execute some code during the uninstall process to remove these registry keys.
View 1 Replies
Similar Messages:
Jul 14, 2010
A few years ago, I built a desktop application for a client in VS 2005 that was deployed using Click Once. Recently, the client asked me to make a simple modification to the site.
I no longer had VS 2005 (or the same machine for that matter) and was forced to upgrade the application to Visual Studio 2008.
Most of the application is fine in VS 2008 - however I am unable to Publish the application. During the project conversion process and whenever I try to publish the application, I receive a message like this:
"This project includes a password-encrypted key used for signing. Enter the password for the key file to import the key file into the local crypto-store database for use."
Unfortunately, I don't have any idea what the password would be for this application.What options do I have? Is there a way to get this working again without having to rebuild the application or have all of the users uninstall the application and reinstall it?
View 1 Replies
Jun 21, 2010
I'm about to upgrade to Visual Studio 2010, and I'm learning that there are now a few options for deploying web application projects. I've been using Web Deployment Projects in 2008, and my initial thought was to do the same in 2010.
Is there any advantage to using Publish or the Web Deployment Tool over Web Deployment Projects?
I need to automate the process so that the build and the deployment can be run from TeamCity. I'd prefer a method that would allow me to use the Visual Studio (sln) Runner but a custom MSBuild script would be OK too. See Web Application Deployment Workflow with SVN and TeamCity for more information on my current build/deployment workflow.
View 1 Replies
Jun 15, 2010
Why I don't have publish or add a deployment project in my visual studio express 2008?
View 7 Replies
Sep 2, 2010
I'm looking for a way to providing users (administrators) of a web application to automatically (meaning it's opt-in to update, but the installation should be automatic when started) update said web application when new versions are released.
The reason why I want an automatic approach is that I want the users to be able to update the web application while it's running remotely, without having to gain physical access to the machine (including RDP).
I could of course write my own code for this, but I would prefer to use something like ClickOnce that has been around for a while. Is it possible to use ClickOnce for this?
Or is there an alternative for ASP.NET applications that I have not been able to find?
It is important that it's the user that does the update and not me, so I don't think WebDeployment is the way to go, but I'm willing to listen to scenarios where this would work.
The users are not system administrators, so I want this to be as fool proof as possible.
I'm using Visual Studio 2010, ASP.NET 2.0 (.NET 3.5). If a solution requires switching to version 4, this is possible, but not preferred.
View 2 Replies
Jul 6, 2010
I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.
View 1 Replies
Oct 1, 2010
i have been trying to pusblish my website online. When i did this, the website only displayed the code from the source rather than a functioning page.
View 2 Replies
Apr 25, 2010
While attempting to download Visual Web Developer 2010 Express I received an error message stating that I needed to uninstall the Beta 2 issue. However I have not been able to uninstall it.
View 2 Replies
May 22, 2010
I cannot install the proper Visual Studio 2010 because I have the Visual Studio RC isntalled and I cannot uninstall the Visual Studio RC because it crasches. I think my last option is to download the Visual Studio RC install files again and repair that installation and then uninstall it to later install the release version of Visual Studio 2010. Does any one know where I can find the Visual Studio RC install files again?
View 1 Replies
Mar 27, 2011
Can I create an incremental deployment package using either Visual Studio 2010 Web Deployment Projects or Web Deploy (Web Deployment Tool) .
I need to automatically select changed files from a source and destination or a change set on TFS and build a deployment package only with the changed files.
View 9 Replies
Jun 3, 2010
I installed Visual Web Developer 2010 on a machine that already had SQL Server 2008 Professional on it. Now that machine is running both SQL 2008 Professional and SQL 2008 Express instances.
Is there an easy way to uninstall the Express instance?
View 3 Replies
Jan 10, 2011
I recently "inadvertantly" installed VWD 2010. I still have my Visual Studio 2008 (full version) installed and want to remove VWD 2010. I want to recompile my active projects under VS 2008. Here are the steps I am planning to undertake. Am I missing anything?
1. Save all active projects 2. Remove VWD 2010 using "Uninstall Programs" from the control panel.3. remove ASP 4.0 via the same route.4. Reinstall VS 2008 5. Reinstall all service packs.Will this bring me back to a fully functional VS 2008? Need I make any additional registry changes?For the record, I do like VWD 2010 and would like to upgrade to the professional version but I cannot afford to do so at this time. I need to build some console applications and this is not possible under VWD. I am also unable to install C# Express.
View 2 Replies
Oct 5, 2010
I installed VS 2005 on my machine few months back and I worked with it. And now(its been 4 or 5 months I opened it last time) I saw that all the file options are missing and I'm unable to select any options( file->open ->website or web application) to open. so I uninstalled the VS 2005 from my machine and now tring to reinstall it. But I'm getting the following error.Microsoft Visual Studio 2005 SetupThe Windows Installer package:c:documents and settingsDesktopvs_setup.msicould not be opened.Choose Retry to try again. Choose Cancel for exit setup.Retry Cancel Mine is 32-bit XP machine.
View 7 Replies
Jul 28, 2010
I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.
View 1 Replies
Oct 9, 2010
I have installed SQL Server 2008 express, reinstall it with advanced services, uninstall TFS 2010 and tries to reinstall it but fails. It doesn't want to completely uninstall.
So I'd like to clean everything by hand (deleting registries, folders) but can't find any info. I have deleted install directory but installer still memorized that TFS is installed.
View 2 Replies
Mar 29, 2010
I had Visual studio 2008 Team system installed on my machine and tried to uninstall that . When I did the uninstall, am getting a wierd error message "A problem has been encountered while loading the set up components .Cancelling set up". I googled this and found some posts asking me to uninstall all the hot fixes associated with VS 2008 TS .I did that but still am getting the same message.
View 2 Replies
May 11, 2010
I installed a VS2010 Trial and have since downloaded a copy from the company MSDN account. I uninstalled everything that said VS2010 in the Programs area and am now attempting to reinstall the MSDN copy. It does not work. The install ends up through all kinds of errors and ends with an unsuccessful install message.
What do I have to do to completely clean off the old versio, or may the new one overwrite everything?
View 2 Replies
Mar 28, 2011
I'm trying to publish my ASP.NET web application in Visual Studio 2010. I'm then trying to install it as a website on a server using IIS. I've gotten my application to publish (to a .zip file) but it points to the physical directory on my hard drive. This obviously will not work on the server.
View 3 Replies
Feb 8, 2010
i create a asp.net web aplication project, and when i debug it i can see the result on localhost that is ok. but how can i publish this site on the web? there is no publish button ont the build menu and solution explorer menu?
View 2 Replies
Jan 17, 2010
When using Visual Web Developer Express there seems to be an issue when trying to insert a DDL into the Wizard. If I create a Wizard, and then insert a DDL inside the wizard, the source shows, correctly,
...
<asp:WizardStep runat="server" title="Step 1"> <asp:DropDownList ID="DropDownList1" runat="server"> </asp:DropDownList> </asp:WizardStep>
...
However, if I return to the Design view and use the Smart Tasks button to 'Edit Items', although I can complete the relevant details in the 'ListItem Collection Editor' they are not transferred to the source. If I use exactly the same procedure on a DDL outside the Wizard everything functions correctly.
View 3 Replies
Dec 3, 2010
Both visual studio 2008 express edition and visual studio professional setup's are install in my system, i like to uninstall visual studio 2008 express edition, and use professional edition. is there any problem arises in visual studio professional edition, if i uninstall visual studio 2008 exp edition
View 2 Replies
May 5, 2010
I need to obfuscate a dll that is used in a ASP.NET project, the deployment project pruduces a setup.exe which I want to distribute. I have the VS 2008 Dotfuscator installed but when I build the deployment project the project that creates the dll is rebuilt before it is added to the deployment project and added to the setup.exe.
View 1 Replies
Jan 18, 2010
This is getting me a little frustrated, and I looked around the net for the solution and was not able to find any as of yet.I'm trying to have Web Deployment projects in VS 2010. I have it installed for VS2008, but I was not able to find anything to install for VS 2010.I basically want to merge all outputs to a single assembly in 2010. How do I do that??
View 5 Replies
Sep 4, 2010
I've created an asp.net website with VS2008, how can I publish it in VS2008?
P.S: I've used Right Click -> publish but, I've used a Database in my project, but VS2008 doesn't publish it.
P.S: I'm using SQL Express 2008
View 4 Replies
Mar 31, 2011
I'm trying to publish my mvc3 project to a web host server, I right clicked my project and selected publish, there i entered the ftp information, VS2010 uploaded the files to the ftp, but when i try to surf to the remote site i get an error "Directory Listing Denied". all guides I found requierd an installation on the web host side, is there no way to just upload the site like in classic asp?
View 2 Replies