Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Updating an application

Posted on 2014-01-08
4
Medium Priority
?
342 Views
Last Modified: 2014-01-10
I am writing a windows application with VS 2012 to sell. Right now I plan on deploying it via Clickonce. I want the customers to be able to buy new versions and install them without having to uninstall the old version. The way it is now, the testers have to uninstall the current version before installing the new one. If they don't, they get a message: "You cannot start application Bird Tracker from this location because it is already installed from a different location" during installation. I will not have a server for the application to check for updates on.

I was thinking I could have the customer put the upgrade in a “update” folder, and use Clickonce’s update feature to update from there. I know I can specify my hard drive in UNC format for the update location. The problem is this requires a computer name. I won't know the computer name of each customer. Is there a way to have a generic computer name?

I have Installshied 2010. I wrote an application with just a form and label. I deployed it with Installshied. I modified it to simulate an update. When I tried to install it, I got a message saying it was already installed.

I use two programs that allow me to install new versions from CD without uninstalling the old version, so I know it can be done. How can I do this? If I have to use Installshield, I will.

Thanks,


Dotty
0
Comment
Question by:dorothy60
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 40
ID: 39767292
First the problem with the install from a different location.

Although it can be used for commercial applications, ClickOnce has been designed for in-house deployment. The updates must be done from the same place that the application was installed. If you cannot do it from a web server, I would not suggest using ClickOnce as your mode of distribution.

For the problem with the already installed application, did you increment the version number of the application and of the publishing package? If you don't, the system thinks that you are installing the same application and gives the message you got.
0
 

Author Comment

by:dorothy60
ID: 39769566
Hello,

I am sold on using Installshield. Do I have to publish my program to use I.S.? If not, how do I increment the version number?

Thanks, Dotty
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 2000 total points
ID: 39769667
For the application, you do it in the projects Properties window, in the Appllication tab, Under Assembly Information. The one that counts is the Assembly version.

For InstallShield, I haven't used it since I switched to .NET in 2000. I do not remember how it was done in the older versions that I used in the 90's, so you bet that I have no idea where it is in the current versions.
0
 

Author Comment

by:dorothy60
ID: 39769860
Thank you!
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question