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

    Sketchup registry key ?

    Scheduled Pinned Locked Moved Developers' Forum
    27 Posts 11 Posters 13.5k Views 11 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      Its for an installer, not a ruby script I think.

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Aaahhh...
        😕

        TIG

        1 Reply Last reply Reply Quote 0
        • F Offline
          filcole
          last edited by

          I used WiX (http://wix.sourceforge.net) to create an MSI installer for Sketchup. It can detect the registry setting HKLM\Software\Google\Google Sketchup 7\InstallLocation and install the plugin in the plugins sub-folder.

          WiX is a pain in the arse to learn and use, but it's the only open source installer that creates MSIs that I could find.

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            What is a MSI, how it it different/better than what is made by Inno for example?

            Installing Ruby scripts in most cases is simply a matter of copying files to the correct location, and possibly registering an uninstaller. It has always been hard for me to justify creating a half-meg installer (or more) for a plug-in that is a few Kb. (Although a meg is not as big as it used to be.)

            Does there exist some sort of .zip installer?

            Hi

            1 Reply Last reply Reply Quote 0
            • T Offline
              tomasz
              last edited by

              I have already created Win installer using NSIS. It reads SU installation locations from the registry. It has small overhead over compressed data size (34 KB with default options).

              Thanks TIG for such a comprehensive explanation, but I need it for an installer.

              I want to let a MAC user chose for which already installed SU version have my plugin added.

              Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                @jim said:

                What is a MSI, how it it different/better than what is made by Inno for example?

                An 'MSI' is a nickname used for Microsoft Installer packages, the acronym for THE Microsoft Installer (aka the Windows Installer,) and also the file extension of the MS Installer database that is created with the MSI. These databases you will have seen with numbered filenames, are placed in the %SystemRoot%\Installer (hidden) folder.
                The MSI can also create .MSP files, which are Windows Installer Patch files.

                Different: I downloaded the MSI SDK a few years ago, and started to learn it, but after a half hour, I gave up. It is extrememly complex (or perhaps it's Microsoft's way of confusing documentation and terminology.) It does not have package wizards like Inno. You have to use setup style scripts, and multiple tools (it's a multistep process.)

                I looked at some of the install package applications out there such as the Wise Installer and InstallShield, but the price was in outerspace! (like thousands of dollars.)

                I intend, if I have a complex package, to use Inno.
                I downloaded a SketchupInstaller.iss template for Inno, that looks so simple, I just am itchin' to try it out.

                Yes, the Nullsoft NSIS is an alternative.

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • Dan RathbunD Offline
                  Dan Rathbun
                  last edited by

                  @jim said:

                  Does there exist some sort of .zip installer?

                  As I recall, WinZip could create self-extracing archives (.exe extension,) with a 'suggested destination folder'. When run, a confirm dialog popus up, allowing the user to override with a browse button, or simply edit the destination path in the edit control box.
                  Still in use today, but I believe is a pay WinZip Pro version that only will do this.

                  Cabinet files (.CAB) are free and native to Windows, I believe at least the extract exe is installed on all Win32 machines; the cab maker (filename slips my mind,) is in the SupportTools package. BTW, MSIs use cab by default I believe.

                  I'm not here much anymore.

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

                  Advertisement