Results 1 to 10 of 10

Thread: [RESOLVED] [2005] ClickTwice

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Location
    Jacksonville, Florida
    Posts
    147

    Resolved [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'.

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2005] ClickTwice

    Do you have a question?
    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 -

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Location
    Jacksonville, Florida
    Posts
    147

    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?

  4. #4
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    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)

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Location
    Jacksonville, Florida
    Posts
    147

    Resolved 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.

  6. #6
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Re: [RESOLVED] [2005] ClickTwice

    Make sure to tell setup to remove the old program otherwise you'll be left with two installations.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Location
    Jacksonville, Florida
    Posts
    147

    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?

  8. #8
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    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!

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Sep 2008
    Location
    Jacksonville, Florida
    Posts
    147

    Re: [RESOLVED] [2005] ClickTwice

    Quote 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?

  10. #10
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    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
  •  



Click Here to Expand Forum to Full Width