wpilibsuite / wpilibinstaller Goto Github PK
View Code? Open in Web Editor NEWThe WPILib Offline Installer
License: Other
The WPILib Offline Installer
License: Other
https://github.com/wpilibsuite/WPILibInstaller/blob/master/files/wpilib-256.ico currently has a white background instead of transparency. This makes the desktop shortcuts look tacky. It should be updated with the fixed .ico file in the branding repo.
The WPILib openjdk windows builds have some SSL issues, whereas the adopt openjdk builds work just fine. Theyre free to use and redistribute.
The installer inside the zip file of the 64bit Windows installer (WPILibInstaller_Windows64-2019.3.2.zip) is named WPILibInstaller_Full-Windows64-2019.1.1.exe. I did not try to install it using the installer so I don't know which version really gets installed.
Shuffleboard and Smatdashboard icons are created when installation in finished, even if I chose not to install them in the installer.
I installed the program on a stationary PC just for programming, so I don't need them.
I guess that the VS Code is also always created, even if one just wants to install Shuffleboard and Smartdashboard?
I suppose that the desired behavior would be to only create shortcuts to programs that were installed.
Thanks!
From @bradamiller on October 28, 2018 16:34
The line endings are in dos format on ToolsUpdater.sh on mac after decompressing and untaring the file. dos2unix is not available on macs by default. Also, realpath is missing. Rumor is we're considering switching to python or ruby. The installed versions with Mojave are:
python 2.7 (installed by default and you can get 3 with homebrew)
and ruby 2.3.7
Copied from original issue: wpilibsuite/vscode-wpilib#116
Standard to do on linux.
Likely because the extraction occurs on windows.
So I am just trying to install the Smart Dashboard and Shuffle Board from the WPILib Suite. I get the desktop shortcuts but the frc2019/tools folder does not have the vbs files.
I checked Java/JDK and Tools on the install program. Is that all I need?
I have a Windows 10 64bit Dell computer
After installing, on Windows the VS Code integrated terminal does not have the correct Java JDK in the path. The JAVA_HOME is set correctly, but running java -version
fails to execute the correct java.exe.
There is a subtle error in settings.json
:
"terminal.integrated.env.windows": {
"JAVA_HOME": "C:\\Users\\Public\\frc2019\\jdk",
"PATH": "C:\\Users\\Public\\frc2019\\jdk\\bin:${env:PATH}"
}
On Windows, the separator for PATH entries is semicolon (;), but a colon (:) is placed between the JDK bin directory and ${env:PATH}
. Changing the semicolon to a colon fixes the issue.
"terminal.integrated.env.windows": {
"JAVA_HOME": "C:\\Users\\Public\\frc2019\\jdk",
"PATH": "C:\\Users\\Public\\frc2019\\jdk\\bin;${env:PATH}"
}
I think the defect is on line 179 of this file: https://github.com/wpilibsuite/WPILibInstaller/blob/master/DotNet/WPILibInstaller/MainForm.cs
The json files are there, but not the maven deps
If there is not internet connection and I push the button for "Select/Download VS Code" and then the "Download" button, I get an Unhandled exception dialog, saying "The remote name could not be resolved for vscode-update.asurewebsites.net".
OK, it's easy to figure out why I'm getting this error dialog, but maybe you should put up a different message.
The split can be confusing, and the space savings are not super great. In addition, maybe we need a mid season update with a C++ compiler or JDK update.
We should make the C++ and Java compilers have a smarter overwrite as well.
I think its because of version checks, I'll see.
https://github.com/wpilibsuite/WPILibInstaller/blob/master/DotNet/WPILibInstaller/MainForm.cs#L178
The string after the + needs to be ;, not :
Either need to figure out how to actually include a manifest, or we just need to rename the installer to not include "Installer" or "Setup"
Requires wpilibsuite/wpilib-version-plugin#16
Reported on teamforge topc1894
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Runtime.CompilerServices.System.Threading.Tasks477394.AsyncServices.<ThrowAsync>b__0(Object state)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
WPILibInstaller
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/applecor/Downloads/WPILibInstaller_Full-Windows64_2019.1.1-beta-1.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/
System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.
Drawing.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.
dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/
System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.
dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3062.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.
Numerics.dll
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.
0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.
dll
----------------------------------------
Not sure this is 100% possible, but I will try.
Hi!
I recently installed the 2019 WPILib libraries on a Windows 64bit machine. I installed it using a non-admin account. For some reason, I was not able to find any shortcuts on the desktop. I also tried searching for the software in the start menu but with no success.
When I logged in using the admin account, all the shortcuts were there on the desktop.
P.S. It happened twice, on both a Windows 10 and a Windows 7 machine.
Thanks!
Aric Radzin,
Team Captain and Lead Programmer,
BumbleB 3339.
Not 100% sure this will be possible, but should be attempted.
These are required to be moved to a special folder, and anyone using these zips will not have these files copied. We should have a script to do this easily.
The JDK is installed to C:\Users\Public\wpilib\2019\jdk-11.0.4+11, but VS Code expects it at C:\Users\Public\wpilib\2019\jdk
Extends #84
I don't remember if I did this correctly or not, and I want to ensure I did.
That way its possible to get the standalone tool without installing visual studio.
If you start downloading VSCode and then close the download pop-up window, the file lock is still held and a subsequent attempt to download VSCode without restarting the installer will throw a "cannot access the file" exception.
The Roborio toolchain is installed to C:\Users\Public\wpilib\2019\frc2020\roborio but the environment variable is set to C:\Users\Public\wpilib\2019\roborio
Windows comes installed with the tools accessible using desktop shortcuts.
It would be nice in the 2021 installer to add the shortcuts to ~/.local/share/applications/frc
so that they can be run from most "start menu" (equivalents).
2019.1.1 is not > 2019.1.1-beta-4, which it needs to be.
We used .NET 4.0 to ensure this wasn't a problem, so one of the later added dependencies must have caused this. We need to ensure the installer works on a base Windows 7 install.
Reported on teamforge topc1894
This would replace #107.
artf5936
As requested by @ThadHouse.
Would make updating CSA-USB-Tool a lot easier.
In case they're still running.
It takes almost 10 seconds on a reasonably fast (3Ghz I7, SSD) machine for the auth dialog to appear. During this time it is easy to click the button multiple times, leading to multiple auth dialogs and some confusion.
At the very least disable the buttons after clicking to prevent the confusion -- pretty much every one of our students did this.
Not a major issue.
When you search documentation (by opening ~/frc2019/documentation/java/index.html in Chrome on a mac), you get (for example searching on Victor):
file:///Users/xxxxxxx/frc2019/documentation/java/undefined/edu/wpi/first/wpilibj/Victor.html
You should get:
file:///Users/xxxxxxx/frc2019/documentation/java/edu/wpi/first/wpilibj/Victor.html
Obviously a minor problem, but still a pain....
With each year being under wpilib/xxxx/, teams will probably want to remove old years installations at some point and deleting directories is menial.
That way it's easier for users to know they have the right one.
With some tricks on the build side, this can solve the wpilib debugging issue on windows by making the sources match up.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.