Visual Studio Developer Center > Visual Studio Forums > Visual Studio Tools for Office > How to install new build without uninstalling the old one (in client system)?
Ask a questionAsk a question
 

AnswerHow to install new build without uninstalling the old one (in client system)?

  • Friday, October 30, 2009 10:39 AMpranav_a Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi

    I am developing an outlook add-in using vsto in VS 2008. When an error is reported I am solving that and releasing a new build and giving it to the clients. It became hectic for them to uninstall the old one and install the new on every time. So, I searched for a solution to this and found that this problem is solved by increasing the version of the product and RemovePreviousBuild property to TRUE (in the setup project). I made the changes and tried to install the new build on the existing build. It installed successfully but the new build is not updated. I am getting the old functionality only.

    Can anyone please enlighten me whats happening and possible work-arounds for the problem?


    Pranav

Answers

  • Tuesday, November 03, 2009 9:21 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Pranav,

    It seems that you are choosing Windows Installer to deploy this Outlook add-in.

    For deploying office solution using Windows Installer, if the version of Office is 2007, please follow MSDN articles which introducing the steps of deploying: Part 1 and Part 2. If the version of Office is 2003, please follow these articles: Part 1 and Part 2.

    Regarding this scenario, please check if DeleteAtUninstall is set to True on Properties window of registry. You can see this setting in first link above.

    If you have any further question, please feel free to let us know.

    Best regards,
    Bessie

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked As Answer bypranav_a Wednesday, November 04, 2009 7:19 AM
    •  
  • Tuesday, November 03, 2009 2:52 PMjaz.jazAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You have to increment the version of your project (dll) also

All Replies

  • Tuesday, November 03, 2009 9:21 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello Pranav,

    It seems that you are choosing Windows Installer to deploy this Outlook add-in.

    For deploying office solution using Windows Installer, if the version of Office is 2007, please follow MSDN articles which introducing the steps of deploying: Part 1 and Part 2. If the version of Office is 2003, please follow these articles: Part 1 and Part 2.

    Regarding this scenario, please check if DeleteAtUninstall is set to True on Properties window of registry. You can see this setting in first link above.

    If you have any further question, please feel free to let us know.

    Best regards,
    Bessie

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    • Marked As Answer bypranav_a Wednesday, November 04, 2009 7:19 AM
    •  
  • Tuesday, November 03, 2009 2:52 PMjaz.jazAnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You have to increment the version of your project (dll) also
  • Wednesday, November 04, 2009 7:21 AMpranav_a Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you Bessie and Jaz!

    It worked and I could install my new build without uninstalling the old build.
    Pranav