Install extension for all users

extension

#1

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?


#2

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.


#3

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