Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package
Creating an Upgrade Installation Package Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Go Back  Xtreme Visual Basic Talk > > > Creating an Upgrade Installation Package


Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2012, 10:23 AM
SeahawkFan SeahawkFan is offline
Freshman
 
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 26
Default Creating an Upgrade Installation Package


I deployed a new program a week ago and, naturally, got plenty of feedback on how to improve the program. I made the necessary adjustments but need to know how to create an upgrade package that will supercede the original and, should the upgrade be uninstalled, will not reinstall the original.

Is this something I can do through the Deployment Project functionality? And what steps would I need to take in order to ensure it deploys the upgrade properly?
Reply With Quote
  #2  
Old 05-31-2012, 02:57 PM
Gruff's Avatar
GruffCreating an Upgrade Installation Package Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

the safest thing to do is to insist the user uninstall the app completely, then reinstall.
It doesn't take all that much time to do so.

Many things can cause an upgrade to fail. Not the least of which is the components required for your app to run. I tried using the Click Once deployment that allowed upgrades across a LAN. It became so snarled up after a time that it stopped working altogether and I had to remove it from my development machine, Network Install Area, and all Client Machines before I could install any version of the app again. I Gave up on automatic upgrades after that.
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
  #3  
Old 05-31-2012, 03:15 PM
SeahawkFan SeahawkFan is offline
Freshman
 
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 26
Default

My particular upgrade isn't adding any new libraries or other components to the app, just cleaning up some functionality that should've been there in the first place (drag-to-scroll and some filler information on treeview text). I also had some help from the IT department getting the deployment package put together such that the .NET 3.5 Framework installation was done separately, so it's not a part of the deployment package at all.

Though it's against your advice, how does one automate upgrades with VB 2008? I want to be fully informed on all options before choosing the best action. My issue is I don't have any options on the table at all at the moment.
Reply With Quote
  #4  
Old 05-31-2012, 03:59 PM
Gruff's Avatar
GruffCreating an Upgrade Installation Package Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

Are you using VS 2008 Standard, Proffessional or Express?
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
  #5  
Old 05-31-2012, 04:15 PM
SeahawkFan SeahawkFan is offline
Freshman
 
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 26
Default

Professional.
Reply With Quote
  #6  
Old 05-31-2012, 05:34 PM
Gruff's Avatar
GruffCreating an Upgrade Installation Package Gruff is offline
Bald Mountain Survivor

Retired Moderator
* Expert *
 
Join Date: Aug 2003
Location: Oregon, USA - deceased
Posts: 6,440
Default

Then you have more options than most. I'd check out MSDN for the proper way to do it with Package and Deploy Project Templates. I have no experience with that.

Regarding ClickOnce Deploy. There are some limitations with using it.
1) It only installs for the current user not the current machine.
2) No complex install capabilities.

If you use the ClickOnce Wizard from the project properties dialog (Last tab)
You can select "Install to a UNC path." When you do so you create an install package that resides on your network. Users that install from this location have apps that automatically check for a new version on start. If you run your wizard at a later date and update your network deployment the users installed app will upgrade to your latest version automatically on start.

As I said though you are making fixed links between your project --> Install Package --> Users Installs. Break them at your peril.
__________________
Burn the land and boil the sea
You can't take the sky from me


~T
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
 
Creating an Upgrade Installation Package
Creating an Upgrade Installation Package
 
-->