Deleted scripts refuse to disappear in Vista
-
Hi everyone,
I'm not sure whether anyone has encountered the same odd problem I had on Vista.- The scripts that were deleted from the Plugin folder refused to go away!
- 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.
- 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/5538Just thought of sharing this with everyone. cheers
-
GOHCH: thanks. SU will need also some changes to be fully complaint with Vista.
-
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 !
Advertisement