sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Deleted scripts refuse to disappear in Vista

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 1.1k 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.
    • G Offline
      gohch
      last edited by

      Hi everyone,
      I'm not sure whether anyone has encountered the same odd problem I had on Vista.

      1. The scripts that were deleted from the Plugin folder refused to go away!
      2. Sometimes when you've replaced the script with another with the same name, it still runs the old script or sometime it just adds another item in the menu without replacing the old one.
      3. When you've editted the script in the plugin folder and save a copy in another location, the script being saved is not the updated version!

      And this happened only on Windows Vista!
      The problem got me really puzzled for quite a few days, until finally i found the source.

      It seems that for security reasons (probably due to my bad scripting that got SU to crashed a few times 😞 ), Vista created a copy of the script in another folder (a special feature in Vista called a 'virtual store'). So when you delete/edit the scripts in Plugin folder, the copy that SU runs is actually the one in the 'virtual store' (which should have been automatically updated, except somehow my didn't).

      After removing the folder in the virtual store the problem is fixed.

      The location is typically
      *C:\Users<your_account>\AppData\Local\VirtualStore\Program Files<application>*
      and a good article that helped me solved the problem
      http://zone.ni.com/devzone/cda/tut/p/id/5538

      Just thought of sharing this with everyone. cheers

      1 Reply Last reply Reply Quote 0
      • tbdT Offline
        tbd
        last edited by

        GOHCH: thanks. SU will need also some changes to be fully complaint with Vista.

        SketchUp Ruby Consultant | Podium 1.x developer
        http://plugins.ro

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

          This is a Vista security problem - you need to have Admin rights and you can then delete, add and change files from within the Program Files folder structure. Otherwise you get 'compatibility file issues where things seem to change but when you look later they are back - or the old version !

          TIG

          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