Process for updating Excel add-in?

后端 未结 6 955
渐次进展
渐次进展 2021-01-01 06:29

I have an Excel 2003 add-in deployed in one of our departments that occasionally needs updated. What currently happens is that I publish the new version from my machine to

6条回答
  •  既然无缘
    2021-01-01 07:15

    We use a separate addin as a bootstrapper.

    1. The main addin can update the bootstrapper
    2. If the main addin needs an update, it loads the bootstapper, then uses an OnTime call to schedule a call to the bootstrap routine in the bootstrap and immediately unloads itself.
    3. The ontime call executes.
    4. bootstrapper loads main addin, relaunches main addin, unloads itself.

    Complicated, but it works.

提交回复
热议问题