none
Overriding previous version RRS feed

  • Question

  • Hi,

    I've a problem in installing my application.

    I've developed a windows application named "ABCD-v1.0.0.1" and i installed this in my machine.

    Now i've did some updates in my application and versioned "ABCD-v1.0.0.2", Now i want to override this installation with the previous version without uninstalling "ABCD-v1.0.0.1".

    Is thers is any possible do to this.  Please give me an Idea.

    Thanks
    S. Ramkumar.

    Smiley
    Friday, December 26, 2008 11:55 AM

Answers

  • Hello Rajkumar,

    You may face problem of .dll conflicts its better to void this, best practice asssembly versioning(.snk).


    Please go through the link...

    http://msdn.microsoft.com/en-us/library/y18k4htb(VS.71).aspx


    You can also give mulitiple version of a application side-by-side to know more check the below mention link...

    http://msdn.microsoft.com/en-us/library/hk5f40ct(VS.71).aspx

    -----------------------------
    Ali W.Qureshi
    • Marked as answer by Figo Fei Monday, December 29, 2008 4:27 AM
    Friday, December 26, 2008 1:39 PM
  • Thank you Chen.

    I came to know about Click Once technology after installing my application in Client machine and there is no possible to change my installation process in client machine.

    Thanks for referring Click once Technology.

    I've found solution for my Problem.  The solution is.

    Take the Property window for the Setup Project.  There we have 2 property field to solve this problem

    1) RemovePreviousVersion = True ( default False )

    2) Version = 1.0.2 ( default 1.0.0 ).

        Here specifying version property is different.  Format for that property field is "##.##.####"

        if you installed 1.0.0.5 build version in client machine and want to changed to 1.0.0.6 without uninstalling previous version manually.  Just change the version property field to "1.0.6".

    This is the solution.  It seems little bit confused, just try for understanding.

    Thanks & Regards,
    S. Ramkumar

    Smiley
    • Marked as answer by YiChun Chen Friday, January 2, 2009 5:06 AM
    Monday, December 29, 2008 3:30 PM

All replies

  • Hello Rajkumar,

    You may face problem of .dll conflicts its better to void this, best practice asssembly versioning(.snk).


    Please go through the link...

    http://msdn.microsoft.com/en-us/library/y18k4htb(VS.71).aspx


    You can also give mulitiple version of a application side-by-side to know more check the below mention link...

    http://msdn.microsoft.com/en-us/library/hk5f40ct(VS.71).aspx

    -----------------------------
    Ali W.Qureshi
    • Marked as answer by Figo Fei Monday, December 29, 2008 4:27 AM
    Friday, December 26, 2008 1:39 PM
  • Hi Ramkumar,

    If I don't misunderstand, you want to update your application without uninstalling the older version.

    If you don't mind to use web page for updating, ClickOnce Update Strategy could help you to do that.

    ClickOnce is a new application deployment technology that makes deploying a Windows Forms based application as easy as deploying a web application. With ClickOnce, running a Windows Forms application is as simple as clicking a link in a web page. For administrators, deploying or updating an application is simply a matter of updating files on a server; no need to individually touch every client.

    Here are some useful articles for your information:
    Choosing a ClickOnce Update Strategy
    http://msdn.microsoft.com/en-us/library/s22azw1e(VS.80).aspx
    How ClickOnce Performs Application Updates
    http://msdn.microsoft.com/en-us/library/ms404267(VS.80).aspx
    ClickOnce Deployment for Windows Forms Applications
    http://msdn.microsoft.com/en-us/library/wh45kb66(VS.80).aspx

    If you are running VS2005, there is a good practice for your information.
    http://arstechnica.com/journals/microsoft.ars/2006/02/24/2977

    I hope this will help you a lot.

    Thanks

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by YiChun Chen Friday, January 2, 2009 5:07 AM
    • Unmarked as answer by YiChun Chen Friday, January 2, 2009 5:07 AM
    Monday, December 29, 2008 4:44 AM
  • Thank you Chen.

    I came to know about Click Once technology after installing my application in Client machine and there is no possible to change my installation process in client machine.

    Thanks for referring Click once Technology.

    I've found solution for my Problem.  The solution is.

    Take the Property window for the Setup Project.  There we have 2 property field to solve this problem

    1) RemovePreviousVersion = True ( default False )

    2) Version = 1.0.2 ( default 1.0.0 ).

        Here specifying version property is different.  Format for that property field is "##.##.####"

        if you installed 1.0.0.5 build version in client machine and want to changed to 1.0.0.6 without uninstalling previous version manually.  Just change the version property field to "1.0.6".

    This is the solution.  It seems little bit confused, just try for understanding.

    Thanks & Regards,
    S. Ramkumar

    Smiley
    • Marked as answer by YiChun Chen Friday, January 2, 2009 5:06 AM
    Monday, December 29, 2008 3:30 PM