none
VSTO addin cannot be updated programmatically using ApplicationDeployment API RRS feed

  • Question

  • Hi,

    I  have to update VSTO addin developed in excel on demand on the click event of button.

    I published addin ,installed on client machine.Now I published new version of addin and get the new version update of addin using ApplicationDeployment API.

    Now when I publish new version of addin again and try to update it using same api,it does not work.

    IsNetworkDeployed api returns false for this time.

    Can anybody help me ?

    Thanks,

    Vinod

    Friday, September 1, 2017 12:21 PM

All replies

  • Hi AgentVinod86,

    I failed to reproduce your issue. I used a Excel 2016 VSTO add-in for testing.

    Could you tell us which VSTO add-in are you developing?

    It seems you are using a button click event to check update, right?

    If so, I would suggest you share us the code so we could try to reproduce your issue.

    You said IsNetworkDeployed api returns false for this time. When will it return true? How do you publish the add-in? Did you use ClickOnce to publish the add-in?

    Best Regards,

    Terry

    Monday, September 4, 2017 10:06 AM