 |
 |

05-31-2012, 10:23 AM
|
|
Newcomer
|
|
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 19
|
|
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?
|
|

05-31-2012, 02:57 PM
|
 |
Bald Mountain Survivor
Super Moderator * Expert *
|
|
Join Date: Aug 2003
Location: Oregon, USA
Posts: 5,882
|
|
|
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
|

05-31-2012, 03:15 PM
|
|
Newcomer
|
|
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 19
|
|
|
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.
|
|

05-31-2012, 03:59 PM
|
 |
Bald Mountain Survivor
Super Moderator * Expert *
|
|
Join Date: Aug 2003
Location: Oregon, USA
Posts: 5,882
|
|
|
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
|

05-31-2012, 04:15 PM
|
|
Newcomer
|
|
Join Date: Oct 2010
Location: Los Angeles, CA
Posts: 19
|
|
|

05-31-2012, 05:34 PM
|
 |
Bald Mountain Survivor
Super Moderator * Expert *
|
|
Join Date: Aug 2003
Location: Oregon, USA
Posts: 5,882
|
|
|
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
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|