|
-
Oct 8th, 2008, 09:51 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] ClickTwice
Ok I'm using ClickOnce for primary updating and installing to about 10 users.
I've never used a setup and deployment project before.
We're trying to come up with an automated beta testing method. Where I could direct 1 or 2 users to run the alternate program (with automatic updates hopefully) when I have something I think will work just fine, but since I don't do the work, I can't test it properly.
I've added a setup and deployment wizard project that does output all the files needed to run it, but once it has installed once, it requires them to go to their add/remove programs to remove the old version manually instead of doing it for them. I don't believe my users have access to this control panel, nor do I want them to have to do that rather than just remove automatically.
I'm testing the folder the executable is running from in the app, and if it contains 'beta' it's changing the main form's text to add ' Beta'.
-
Oct 8th, 2008, 09:56 AM
#2
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
-
Oct 8th, 2008, 09:57 AM
#3
Thread Starter
Addicted Member
Re: [2005] ClickTwice
Sorry, the question is how can I get it to just remove the old version and install the new one when they run the installer, or just overwrite it? or is there something I should be doing entirely differently for the situation?
-
Oct 8th, 2008, 10:09 AM
#4
Fanatic Member
Re: [2005] ClickTwice
In your aplication and your setup project increment your project version.
1.0.1 , 1.0.2, etc etc..
Also you have to tell the Setup project to remove old app if found. (and has a lower version number)
-
Oct 8th, 2008, 12:04 PM
#5
Thread Starter
Addicted Member
Re: [2005] ClickTwice
Ok incrementing the version alone didn't work, but clicking yes to change the product code when changing the version number seems to be working.
-
Oct 8th, 2008, 12:48 PM
#6
Fanatic Member
Re: [RESOLVED] [2005] ClickTwice
Make sure to tell setup to remove the old program otherwise you'll be left with two installations.
-
Oct 8th, 2008, 12:55 PM
#7
Thread Starter
Addicted Member
Re: [RESOLVED] [2005] ClickTwice
that's the RemovePreviousVersions =True on the project properties.
That works even when you allow it to change the product Code, which happens everytime you change the version, yes?
-
Oct 8th, 2008, 01:13 PM
#8
Fanatic Member
Re: [RESOLVED] [2005] ClickTwice
yea I think so. It's been a while since I creates a project for the public.
The product code should be a GUID, and shouldnt matter.
As long as version control is there, + remove previous versions, I think your good!
-
Oct 8th, 2008, 02:02 PM
#9
Thread Starter
Addicted Member
Re: [RESOLVED] [2005] ClickTwice
 Originally Posted by masfenix
Make sure to tell setup to remove the old program otherwise you'll be left with two installations.
I'm curious about this statement, if it's installing over top of the same location, how would I have two installations?
-
Oct 8th, 2008, 03:38 PM
#10
Fanatic Member
Re: [RESOLVED] [2005] ClickTwice
Im not really sure. I think i read it in an article somewhere. Its like installing .net 1.1 , .net 2.0, and .net 3.5 all together.
I am not entirely sure. Maybe dbasnett, or klienny(sp?) or jm or one of the more advanced members can shed some light into this. I am curious myself.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|