CA_CheckJava 1.0.0
See the version list below for details.
dotnet add package CA_CheckJava --version 1.0.0
NuGet\Install-Package CA_CheckJava -Version 1.0.0
<PackageReference Include="CA_CheckJava" Version="1.0.0" />
paket add CA_CheckJava --version 1.0.0
#r "nuget: CA_CheckJava, 1.0.0"
// Install CA_CheckJava as a Cake Addin #addin nuget:?package=CA_CheckJava&version=1.0.0 // Install CA_CheckJava as a Cake Tool #tool nuget:?package=CA_CheckJava&version=1.0.0
Custom Action - Check Java
This WiX Custom Action enables it to check if Java is installed and find out its Platform (x86 or x64). This is achieved by checking the registry (and not the environment variable JAVA_HOME). <br />
The Platform will be stored in the Property "JRE_INSTALLED" ("32bit" or "64bit") and if no installation is found it's set to "0".
Usage
Include the built CA_CheckJava.CA.dll from this project in your own project or use the published nuget (defined in CA_CheckJava/CA_CheckJava.nuspec).
Reference the .dll in your .wxs file like so:
<Binary Id="CA_CheckJava" SourceFile="pathToNugetPackages/CA_DirectoryChooser.X.X.X/lib/net45/CA_CheckJava.CA.dll" />
- "pathToNugetPackages" could be $(var.SolutionDir)/packages
And now you can create your CustomAction:
<CustomAction Id="CheckJREInstalled" BinaryKey="CA_CheckJava" DllEntry="CheckJREInstalled" Execute="immediate" />
After this Action the Property JRE_INSTALLED contains either "64bit" or "32bit" or "0" if no java installation is found. <br />
If both platforms are installed "64bit" is returned.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.0-dev0003 | 533 | 3/5/2019 |
1.0.3 | 723 | 3/18/2019 |
1.0.2 | 675 | 3/11/2019 |
1.0.1 | 654 | 3/5/2019 |
1.0.0 | 611 | 3/4/2019 |
0.10.0-dev0004 | 451 | 3/4/2019 |
Initial Release