New README files: - BlueSSOFix: WiFi authentication repair utility - JT2GO: Siemens JT2Go installer with prerequisites - MappedDrive: Network drive mapping tool - NetworkDriveManager: Advanced drive management with migration Main repository README: - Overview table of all projects - Quick reference by category - Common patterns and resources - Building and silent installation instructions Also includes Dashboard and LobbyDisplay projects. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.7 KiB
3.7 KiB
JT2GO Installer
Automated installer for Siemens JT2Go 2512 with prerequisite checking and silent installation support.
Overview
JT2Go is a free 3D CAD viewer for viewing JT, PDF, and other CAD formats. This installer automates the installation process by:
- Checking for required prerequisites
- Installing missing components automatically
- Running the main JT2Go installer
Prerequisites Checked
| Component | Detection Method | Installer |
|---|---|---|
| Visual C++ 2015-2022 x86 | Registry check | VC_redist.x86.exe |
| Visual C++ 2015-2022 x64 | Registry check | VC_redist.x64.exe |
| .NET Framework 4.8 | Registry (Release >= 528040) | NDP48-x86-x64-AllOS-ENU.exe |
Files Required
JT2GO/
├── JT2GO.iss # Inno Setup script
├── JT2GoSetup.exe # Main JT2Go installer (not in git)
├── VC_redist.x86.exe # Visual C++ x86 (not in git)
├── VC_redist.x64.exe # Visual C++ x64 (not in git)
├── NDP48-x86-x64-AllOS-ENU.exe # .NET 4.8 (not in git)
├── CustomInstall.bat # Helper batch file
├── gea-logo.ico # Setup icon
├── patrick.bmp # Wizard banner (164x314)
└── patrick-sm.bmp # Wizard small image (55x58)
Usage
Interactive Installation
- Compile
JT2GO.isswith Inno Setup Compiler - Run the generated
JT2GOSetup.exe - The installer will:
- Display detected/missing prerequisites
- Ask for confirmation to install missing components
- Install prerequisites silently
- Launch JT2Go installer
Silent Installation
JT2GOSetup.exe /VERYSILENT /SUPPRESSMSGBOXES
With logging:
JT2GOSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /LOG="C:\install.log"
How It Works
Prerequisite Detection
Visual C++ Redistributables:
HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64
HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x86
.NET Framework 4.8:
HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
Release value >= 528040
Installation Flow
- InitializeSetup - Verify admin privileges
- Prerequisite Check - Scan registry for installed components
- Display Summary - Show what will be installed
- Install Prerequisites - Run installers silently (
/quiet /norestart) - Handle Reboot - If .NET requires reboot, notify user
- Install JT2Go - Run main installer (
/L1033 /S /v"/qn /norestart")
Customization
Adding More Prerequisites
Edit the [Code] section in JT2GO.iss:
function IsMyComponentInstalled: Boolean;
begin
// Add your registry check here
Result := RegKeyExists(HKLM, 'SOFTWARE\YourComponent');
end;
Changing JT2Go Version
Update the installer filename and parameters in the script:
JT2GoInstaller := ExpandConstant('{src}\JT2GoSetup.exe');
JT2GoParams := '/L1033 /S /v"/qn /norestart"';
Troubleshooting
"Requires administrator privileges"
Right-click the installer and select "Run as administrator"
Prerequisites install but JT2Go fails
Check if JT2Go requires additional components not covered by this installer
Silent install shows dialogs
The /qn flag ensures fully silent MSI installation. If dialogs appear, the MSI parameters may need adjustment.
Building
- Install Inno Setup 6.x
- Download required installers to the JT2GO folder
- Open
JT2GO.issin Inno Setup Compiler - Click Build > Compile (or press F9)
- Output:
Output/JT2GOSetup.exe
Author
WJDT / GE Aerospace