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

    Windows 7 RC and SketchUp 7 PlugIns

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 3.4k Views 3 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.
    • D Offline
      DaveS
      last edited by

      I'm testing Windows 7 RC and SketchUp 7. I had a problem with a plugin and thought it was related to the installation directory for SketchUp. It turned out to be an operator error.

      But, the experience raised a question. Does it matter to plugins what directory SketchUp is installed in? I ask because I have WIndows 7 RC 64 bit version. With the 64 bit version, 32 bit applications are installed in a directory called πŸ˜„
      \Program Files (x86) instead of C:\Program Files. Could this dircetory name change have an impact on a plugin?

      I'm a novice when it comes to Ruby scripts, but in other programming languages I know there are ways to reference installation directories without hard coding the directory name. I think Ruby scripts can do the same. But, if a plugin has the installation dircetory name hardcoded, would that lead to problems running the SketchUp plugin under Windows 7?

      Thanks for any info.

      Dave

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        @daves said:

        Does it matter to plugins what directory SketchUp is installed in? I ask because I have WIndows 7 RC 64 bit version. With the 64 bit version, 32 bit applications are installed in a directory called πŸ˜„
        \Program Files (x86) instead of C:\Program Files. Could this dircetory name change have an impact on a plugin?Dave

        This is already the case with Windows Vista 64 bits. It does not matter as long as the scripts do not make any absolute reference to the path or use Sketchup_find_support_file to locate the Plugins directory.

        The main issue is rather with security. On Vista, you may not be allowed to copy files to C/Program Files (x86) unless you are administrator (and even so). Windows uses a shadow directory to store the files and then you may have some problems with the plugins. The security is such a hassle under Vista that even the most reasonable user would deactivate it at the end. I hope it is better done in Windows 7.

        Fredo

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          I've not had any problems with SU and plugins under Windows7 64bit.

          The path should not matter either. Though, if there's a plugin that assumes "C:\Program Files" it would be the plugi that doesn't check to the proper path. At work we use Norwegian XP and the "C:\Program Files" is called C:\Programfiler" - I have experienced some applications that has failed because they made assumptions to the path name instead of doing the proper checks.

          I run as admin with UAC turned of. I have heard of issues when running Vista as a normal user with the UAC on, as Fredo mentioned. Windows7 could exhibit the same issues since it's built upon Vista.

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • D Offline
            DaveS
            last edited by

            Fredo6 and thomthom,

            Thanks for your replies. You both make good points and provided useful insights. I'll keep testing.

            Thanks again (for the info and the great plugins you develop).

            Dave

            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