Installing new version of an extension

Thanks to all for your replies. We solved this by making an installer extension with our main extension embedded inside.
The installer installs the main extension, removes itself and quit SketchUp to force the user to restart SketchUp. On restart only the main extension will be started.