• Login
sketchucation logo sketchucation
  • Login
πŸ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Installer for Plugins

Scheduled Pinned Locked Moved Developers' Forum
14 Posts 7 Posters 1.7k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    Jim
    last edited by 23 Feb 2008, 23:40

    This is Alpha software - use with caution. Although I have tried to test this as much as possible, bugs may be present.

    Edit: I've removed the download for now.

    Hi

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 23 Feb 2008, 23:41

      This is a first release and may contain errors; and since it is working with files in your Plugins folder, there is always the possibility of something going wrong. I'm posting it here mostly for comments/review.

      What it does?

      Browse for and select a plugin in the form of a .rb file, or .zip archive.

      1. If the file is a .rb file, the file is copied to your Plugins folder. Once copied, the file is loaded.

      2. If the file is a .zip file, the contents are extracted to your Plugins folder.

      Note - currently, a "tmp" folder is created in your Plugins folder. All files will be installed into this tmp folder so as not to disturb your Plugins folder. No files are moved, or removed, but some files in the tmp folder may be over-written.

      Why for?

      • An installer that works from SketchUp always knows where to install a plugin.
      • Once installed, the installer can go ahead and load the file - no need to close and re-start SketchUp
      • A record of installed files could be kept, and the files uninstalled if needed.
      • Opens possibilities such as fetching the plugin from the Internet, or installing the latest version of a plugin.

      Compatibility

      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.

      Download

      301 Moved Permanently

      favicon

      (www.sketchucation.com)

      Hi

      1 Reply Last reply Reply Quote 0
      • D Offline
        Didier Bur
        last edited by 24 Feb 2008, 13:38

        Thanks Jim. This will prove very useful in the future I'm sure.
        BTW, no installer for the installer ? πŸ˜†

        DB

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 24 Feb 2008, 15:16

          @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.

          Hi

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by 25 Feb 2008, 23:42

            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?

            Hi

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by 8 Mar 2008, 03:01

              @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)

              Hi

              1 Reply Last reply Reply Quote 0
              • E Offline
                Edson
                last edited by 8 Mar 2008, 13:46

                @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 mahfuz, architect| porto alegre β€’ brasil
                http://www.mahfuz.arq.br

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 8 Mar 2008, 16:43

                  @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.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by 9 Jun 2008, 01:56

                    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.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      watkins
                      last edited by 9 Jun 2008, 06:34

                      Dear Jim,

                      Just a note of encouragement, and to say that your endeavours are much appreciated.

                      Kind regards,
                      Bob

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cloverleaf
                        last edited by 9 Jun 2008, 08:35

                        @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!

                        1 Reply Last reply Reply Quote 0
                        • plot-parisP Offline
                          plot-paris
                          last edited by 9 Jun 2008, 09:32

                          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! πŸ˜„

                          1 Reply Last reply Reply Quote 0
                          • Dan RathbunD Offline
                            Dan Rathbun
                            last edited by 27 Jan 2013, 13:02

                            So this is obsolete for SketchUp ver 8+ ??

                            I'm not here much anymore.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by 27 Jan 2013, 13:50

                              @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.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement