Soory for the noob question. I have IDE 0021 running just fine on Win XP with Uno board.
I see that IDE is now updated to 0022 and want to update.
I have donloaded the zip file, there is no setup file in the Zip that I can find. I'm wondering what the correct update process is. Tried searching forum and Google but no luck. Is it as simple as copying the folder structure into "C:\Program Files" and updating file association for .pde files?
Yes it's that simple. You can just have the two unpacked sets of folders (anywhere, not only in C:\programs), and they can coexist.
Your personal sketches are (unless you move them) under MyDocuments/Arduino.
If it wasn't for the Drivers that need to be installed, it would be a SystemUntouched install.
Massimo && Co. seem to have taken to heart Einstein's opinion: “Everything should be made as simple as possible, but no simpler.”
( Albert Einstein - Wikiquote )
Thanks. It did seem that easy. The only problem I have is that file association for .PDE files can not be changed from 0021 to 0022. Editing file assocation from Windows Control Panel->Folder Options->File Types does not resolve the issue.
Searching the Windows Registry I found that the .PDE extension redirects to Processing.Document key. Processing document invokes -> C:\Program Files\arduino-0021\Processing.exe "%1". These registry keys must have been installed during the initial Uno installation process. It is strange that there is no actual Processing.exe file in this directory. A simple copy install of a newer IDE will not change these registry keys, and they will not update when you try to change the file association from the control panel. It would be nice if any of this were documented.
I have tried editing this key from arduino-0021 to arduino-0022 in regedit, but exucuting the IDE changes it back to -0021. I am going to stay with -0021 for the time being.
I would recommend that anyone that wishes to retain the "double click on .pde file to start IDE" functionality avoid updating until this underlying issue is addressed.
More reading shows that .pde file association issue in Windows is a known/accepted/high priority defect in Processing that should be addressed with time.
I had this same issue on Win 7 x64. Here's what worked for me:
Open Regedit and navigate to HKey_Classes_Root\Applications\
Find the key for "arduino.exe" and delete it
Try to change the default program for the pde file as normal and it should work now.
Some other trial and error experiences I had:
I orginally changed the default program to arduino as normal and it worked fine.
I decided I wanted to move my arduino folder and my pde's lost their default program
I tried resetting the default program and it wouldn't select
I RENAMED "ardiuno.exe" to "ardiuno22.exe". Magically I could select it as my default program.
I changed the name back to "arduino.exe" and it would not allow me to select it as default again
I renamed it back to "ardiuno22.exe" and it worked again.
I tried changing the properties of "ardiuno22.exe" so that it ran as an administrator. This broke my default program assoication and I was unable to select it.
Currently: I have all other "ardiuno**.exe" keys deleted from my registry and I have unchecked the box to have arduino run as an administrator. NOTE: My "installation" is NOT on my boot drive and the default program association has persisted through restarts. I do still have one registry key for "ardiuno.exe" and the "Processing.Document" one mentioned before...