sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    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

      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

        @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
        • EdsonE Offline
          Edson
          last edited by

          @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

            @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

              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

                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

                  @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

                    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

                      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

                        @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