PDA

View Full Version : Teensyduino 1.17 Release Candidate #3 Available (Windows Only)



Paul
12-06-2013, 04:53 PM
Here is a second release candidate for Teensyduino 1.17:


Old beta download links removed. Please use the latest version:
https://www.pjrc.com/teensy/td_download.html



Please give this a try and report any bugs. Try to include a sample program that reproduces the problem!


Here's a list of the changes since Teensyduino 1.17-rc2 (http://forum.pjrc.com/threads/24570-Teensyduino-1-17-Release-Candidate-2-Available):



USB Serial driver signature (should now install on Windows 8 without reboot)
Installer signature
Installer tries to find Arduino and automatically select its location

el_supremo
12-06-2013, 08:36 PM
Installed with no problems. But it did install the USB driver again. It found my arduino installation in C:\arduino-1.0.5

Pete

PaulStoffregen
12-06-2013, 09:56 PM
Thanks Pete. Which version of Windows did you use?

el_supremo
12-06-2013, 11:10 PM
Win7 Pro x64.

Pete

Nantonos
12-07-2013, 04:33 AM
On my laptop (Win7 Pro x64) where I have never run the Arduino installer, but have a copy of Arduino-1.0.4+TD1.15 on D:/Arduino) the installer first told me to re-run it with admin privs as it claimed to need to re-install the driver; then once I had done that it suggested C:/Users/Chris/Documents/ as a suitable location (yes with forward slashes). Ignoring that suggestion, I could then navigate to my Arduino install (but the next button was greyed out, presumably it really does need 1.0.5).

On my main machine (Win7 Home x64) same deal with suggesting C:/Users/Chris/Documents/ except this time there was indeed an Arduino folder there, empty except for libraries, which was empty except for readme.txt which explains how to install "additional Arduino libraries". I guess an Arduino installer had created those directories at some point. The next button was still greyed out because there is nothing else there. I navigated to C:/Program Files (x86)/Arduino/ but next was still greyed out, must be an older version. Finally F:/Arduino which contains three installs, arduino-1.5 (from when i got my Due) which was greyed out, arduino-1.0.4-teensyduino113 which was also greyed out on the next button and (the actual one I use) arduino-105-td114 where it was happy to install (as the name implies this has had teensyduino put into it a number of times, it actually has teensyduino 1.16 but I kept the name so that the association with Arduino.exe would still work).
I installed all the libraries. It works.

By the way its a shame that in the IDE, "Help > About Arduino" is not updated (or an "About Teensyduino added").

PaulStoffregen
12-07-2013, 01:58 PM
By the way its a shame that in the IDE, "Help > About Arduino" is not updated (or an "About Teensyduino added").

That's a great idea. I've added it to my list for 1.18. I really want to release 1.17 on Sunday or Monday, so there just isn't time to touch any IDE code for 1.17.

fretless_kb
12-07-2013, 05:38 PM
I just installed it on Win 7 Home 64 bit, I had to run the installer as Admin, I skipped the USB driver install and everything installed o.k. I don't have my teensy here on hand just now, but all else appears to work. installer found C:/programfiles (x86) just fine

Cheers Kb

PaulStoffregen
12-07-2013, 07:23 PM
Has anyone tried this on XP or Vista?

potatotron
12-07-2013, 09:00 PM
I just tested on an XP VM. The installer tried to look at my "My Documents / Arduino" folder instead of "program files \ Arduino" but other than that no issues.

stevech
12-07-2013, 10:24 PM
I'm one that has never used 'my documents' for anything.
I put stuff in organized folder by topic/project, and mostly on my NAS not my PC.
All the apps I have, including MS Office, other development tools, etc. do not use the 'my documents' folder.

PaulStoffregen
12-07-2013, 10:41 PM
Here's a description of what's in the installer now:

First, it tries these directories, in this order.

C:\Program Files (x86)\Arduino
C:\Program Files (x86)\arduino-1.0.5
C:\Program Files\Arduino
C:\Program Files\arduino-1.0.5
C:\Users\username\Desktop\arduino-1.0.5
C:\Users\username\Documents\arduino-1.0.5
C:\arduino-1.0.5

If one of these matches the signature of a supported Arduino IDE (eg, the "Next" button would enable), it's used as the starting point.

The first 6 do NOT have the pathname hard-coded. Instead, the WIN32 function SHGetSpecialFolderPath() is called, with CSIDL_PROGRAM_FILESX86, CSIDL_PROGRAM_FILES, CSIDL_DESKTOPDIRECTORY, CSIDL_PERSONAL, and then either "Arduino" or "arduino-1.0.5" is appended.

If all 7 of those attempts file, then SHGetSpecialFolderPath() is called with CSIDL_PERSONAL to get the starting point. The should default to Documents or My Documents.

If SHGetSpecialFolderPath() is unsuccessful, then the starting point is "C:/".

In my testing so far, running Arduino's installer always ended up installing to C:\Program Files (x86)\Arduino, at least on my machine. The ZIP file extracts to "arduino-1.0.5"

PaulStoffregen
12-07-2013, 10:46 PM
I personally don't use Windows, so I'm really looking to you guys for feedback on where the Arduino IDE would commonly be located by most people using Windows.

Ideally, the installer's list of locations to search could find it for most people, so location chooser would start initialized to the correct directory and the Next button would be enabled.

Of course, it's not hard to navigate to where you put Arduino on your machine. If you're the kind of person who makes conscious decisions about where to locate things, then you almost certainly know where to select.

It's the extreme novice users, who don't have a solid mental map of their computer's filesystem, who this is really meant to help. if they just do things the "normal" way, the installer should manage to find the Arduino IDE, even if they don't know where it is. At least that's the ideal.

Nantonos
12-07-2013, 11:19 PM
It's the extreme novice users, who don't have a solid mental map of their computer's filesystem, who this is really meant to help. if they just do things the "normal" way, the installer should manage to find the Arduino IDE, even if they don't know where it is. At least that's the ideal.
A good point (but by asking in this forum you are not asking those people; and by definition, asking those people would give either incorrect answers/guesses or "I don't know").

The first four paths look at where the the Arduino installer might have put it.

If the intent is to find where the no-installer zip might have been extracted, then C:\Users\username\Downloads\arduino-1.0.5 would be the first place to look (if they unzipped it in the default download directory).

stevech
12-08-2013, 01:03 AM
My vote: default to c:\Aurduinoxxx
And give user option to choose some other location - and they must remember where.

l_dowell
12-13-2013, 04:11 AM
Couple of days late, but....
On my Win XP machine:
1. the installer wanted to reinstall the USB drivers ( I let it)
2. found the true installation directory "c:/Program Files/Arduino" without help from me
3. encountered an ERROR!! when I inadvertently had Arduino running while installing, reran & loaded fine

In other words, it loaded fine when I didn't get in the way.

I'll be doing my Win7 machine the next day or so, but I expect no difficulties

Lyle

Teensy++2.0_user
12-15-2013, 02:43 AM
I did.
Read more about it here (http://forum.pjrc.com/threads/24615-Windows-users-where-do-you-put-Arduino?)

Chris O.
12-15-2013, 05:50 AM
Installed with no problems.
Win XP
directory "C:\Documents and Settings\ username \Desktop"