I install my extension in the c:\ProgramData\SketchUp… location so it is available to all users. I store the user settings in the …users\appdata… folder to avoid permissions issues. For updates however I need to edit the files in the ProgramData location. That works well and the update process is quick and painless, if the user is logged in as admin.
Otherwise the user needs to start SketchUp as admin, or the update fails due to a permissions issue.
- Can I somehow request the user to elevate permisions for allowing the update? I thought of downloading an actual installer and then simply launching the installer.
- Is there a way to check if the user has access to folder? Perhaps by trying to write a test file?
Any other ideas?