Install extension for all users

I’ve been having trouble when users install my extension on windows 7 when the computer has multiple non-admin users my extension doesn’t always show up. I have an exe installed that installs some files and apps in the programs folder as well as copying files into the plugins folder. To fix the problem I copied the files in the installed extensions folder in the program files>sketchup folder. Is this the correct place to put extension files if the extension needs to be available for all users? Or is there an other way to handle this?

Absolutely NOT !

The public or “all users” profile. For newer (Vista+) Windows this is called the %ProgramData% directory path.

It would have the same subfolder hierarchy as the %AppData% path.

Ie "%ProgramData%/SketchUp/SketchUp 2017/SketchUp/Plugins"

All users should have READ access to %ProgramData% but may not have write access. So, save an user specific settings to the user’s %AppData% path.


Mac has a similar "Application Support" directory that is public for all users.

2 Likes

Thanks Dan.
Luckily I have one computer with windows 7 so I could test it.
Glad to have that one figured out. :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.

Thanks for that. I must have missed this initially, and just ran into an issue where I couldn’t write to a file in the plugin folder.

1 Like