Installer for Plugins
-
@didier bur said:
Thanks Jim. This will prove very useful in the future I'm sure.
I hope so. There's a lot of potential for doing some cool things with it. Installing, upgrading, network installs, and removing plugins.
However, for the short-term my goal is to make it install local .rb and .zip files - safely and reliably.
@unknownuser said:
BTW, no installer for the installer ?
That's a tricky one for sure! However, once installed, it should be able to upgrade itself.
One of the first things I'd like to see is the installer working on the Mac platform, as well as Windows. I have no way of doing it myself.
-
I would like to hear thoughts about the location of files installed with this plugin. I don't think script users care about where the plugins are installed to as long as the plugin works. But I think it's important to hear from other script authors, and maybe get a concensus, or even a de-facto standard.
I have 2 thoughts in mind. Both will involve having a "installer" sub-folder.
The first scheme would be to go ahead and dump the plugin files in the Plugins folder, and store any meta-data in the "installer" sub-folder.
The other scheme would be to use the "installer" sub-folder to store both the scripts as well as meta-data created by the installer.
My preference would be to use the "installer" folder for everything. This will keep Plugins uncluttered, and it will be clear which plugins were installed using the Installer.
Any thoughts?
-
@didier bur said:
Thanks Jim. This will prove very useful in the future I'm sure.
BTW, no installer for the installer ?I have looked at creating a self-extracting executable using 7-zip. It looks like it may be a good option for Windows users. I can't help Mac users.
Someone want to try this?
(working on a self-extractor)
-
@jim said:
This plugin uses some 3rd party Ruby libraries (rubyzip); which means Windows only. All the platform specific stuff is in the Plugins/ruby folder. If you Mac folks can get rubyzip to work in SketchUp, then the plugin should work on Mac too.
has any mac user tested it yet?
-
@edson said:
@jim said:
This plugin uses some 3rd party Ruby libraries (rubyzip); which means Windows only. All the platform specific stuff is in the Plugins/ruby folder. If you Mac folks can get rubyzip to work in SketchUp, then the plugin should work on Mac too.
has any mac user tested it yet?
Thanks for bumping this Edison - I think it's a worthwhile effort.
-
I finally got back to looking at this. The plugin currently can install a single-file .rb plugin, or a multi-file .zip archive.
I am working on having the plugin keep a record of the installation locations, so they may be uninstalled at a later time.
-
Dear Jim,
Just a note of encouragement, and to say that your endeavours are much appreciated.
Kind regards,
Bob -
@jim,
this is a very useful script! i would like to see a plugin that tells you if you have the most up to date plugins in the future!
-
sounds quite useful.
are you thinking about a "check for updates" button that automatically downloads the newest rubies? will be deadly tricky to find a way to organize the script database then, I asume.
but it would be cool!
-
So this is obsolete for SketchUp ver 8+ ??
-
@dan rathbun said:
So this is obsolete for SketchUp ver 8+ ??
No, it still works. I like it better than the built-in installer because it keeps a list of installed files - which lets me see exactly what was installed and where in case I want to delete it.
It's here:
https://sites.google.com/site/jimfoltz/plugins-lab/installer
But I could put it on dvcs, if interested.
Advertisement