You can deploy a ClickOnce application to localhost, i.e. your local web server on your own machine. After deploying your application to your local web server, you can install the application on your machine, on another machine in your local network, or in a VM. This is a great way to make sure all of the files required to run your application are included and/or the prerequisites work correctly.
It can take me several minutes to deploy the GoldMail Composer application to our development web server that provides access from the internet, but deploying it locally only takes a few seconds, so this method saves me a lot of time when I’m repeatedly testing a deployment.
You need to have IIS installed and you need to know the name of your Computer. This GoldMail gives a general idea on how to accomplish those two tasks, and then shows how to set your options to deploy your ClickOnce application locally and test it.
Tags: ClickOnce
August 17, 2009 at 1:37 pm |
Does anyone know how to keep files in your program folder after you install and use the app for some time? I have files that get initiall installed and then possibly updated by the user. Once that happens, I want the user to keep their newest files when I update their application but it just deletes everything and re-installs. Normal setup software will not overwrite newer files.
August 20, 2009 at 12:17 am |
This is a very common question in the MSDN ClickOnce and Setup & Deployment forum, so I wrote a blog post just for you, that others can enjoy as well. It’s kind of like birthday cake. Too much for one person to eat, so you share it with everyone else. I hope this is helpful to you.
http://robindotnet.wordpress.com/2009/08/19/where-do-i-put-my-data-to-keep-it-safe-from-clickonce-updates/
RobinDotNet
January 22, 2010 at 8:33 am |
Hi Robin,
I am working on this new technology of deploying an application. I came across a problem. I deployed my project on Vista. and i can not install it in WIn 7 nor XP(lets say clients workstations). Do you have any suggestions? Thanks
January 26, 2010 at 12:33 am |
Without more information on what you’re trying to do, I can’t help you. If you can deploy it on a Vista workstation, you should be able to deploy it on a Windows Fabulous (7) workstation. You might write up your problem and post it to the MSDN ClickOnce and Setup and Deployment Forum. I will be sure to see it there, and others can also contribute input.
March 20, 2010 at 1:06 pm |
0 vote down star
Hello, I have big problem when I am trying to deploy my app over clickonce.
I have this error: An error occurred trying to download ‘https://
I think there is problem with SSL certificate, becose is signed for diferent domain. SSL certificate is signed for pipni.cz and i have url https://someserve.com/cliconce
Is there any solution?
Thank a lot for any help. Regards, Simon
March 21, 2010 at 11:53 pm |
Hi Simon,
Please post your question in the MSDN ClickOnce and Setup and Deployment Forum and provide the error message and exactly what’s happening. I’ll answer it there.
Thanks,
RobinDotNet
June 28, 2010 at 4:40 pm |
Hi. I have done everything you’ve done on this goldmail in configuring the IIS. (Windows 7)
I’m working in visual web developer to try and debug a website on my IIS and later publishing it to its actual FTP server. However when I try and view the website it tells me that ASP.Net 4.0 has not been registered on the web server and I need to manually configure it in order for the site to run correctly. Do you know how to do this?
July 1, 2010 at 11:47 pm |
IIS is used to host HTTP content, which is what ClickOnce deployments are. You can’t serve up the files using FTP, although you can publish with FTP. For everyone else’s benefit, we have moved the discussion to the MSDN ClickOnce Forum.