Initial commit: Inno Setup installer packages
Installer packages for GE manufacturing tools: - BlueSSOFix: Blue SSO authentication fix - HIDCardPrinter: HID card printer setup - HPOfflineInstaller: HP printer offline installer - MappedDrive: Network drive mapping - PrinterInstaller: General printer installer - ShopfloorConnect: Shopfloor connectivity tool - XeroxOfflineInstaller: Xerox printer offline installer 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
273
PrinterInstaller/example_website_links.html
Normal file
273
PrinterInstaller/example_website_links.html
Normal file
@@ -0,0 +1,273 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Printer Installer - Example Website Integration</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 1200px;
|
||||
margin: 40px auto;
|
||||
padding: 20px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
h1 {
|
||||
color: #003057;
|
||||
border-bottom: 3px solid #0066cc;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
h2 {
|
||||
color: #0066cc;
|
||||
margin-top: 30px;
|
||||
}
|
||||
.printer-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||
gap: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.printer-card {
|
||||
background: white;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
||||
transition: transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
.printer-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
|
||||
}
|
||||
.printer-card h3 {
|
||||
margin: 0 0 10px 0;
|
||||
color: #003057;
|
||||
font-size: 16px;
|
||||
}
|
||||
.printer-card .csf {
|
||||
display: inline-block;
|
||||
background: #0066cc;
|
||||
color: white;
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.printer-card .location {
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.printer-card .model {
|
||||
color: #999;
|
||||
font-size: 13px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.install-btn {
|
||||
display: inline-block;
|
||||
background: #0066cc;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
font-weight: bold;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.install-btn:hover {
|
||||
background: #0052a3;
|
||||
}
|
||||
.code-example {
|
||||
background: #2d2d2d;
|
||||
color: #f8f8f2;
|
||||
padding: 15px;
|
||||
border-radius: 5px;
|
||||
overflow-x: auto;
|
||||
margin: 15px 0;
|
||||
}
|
||||
.code-example code {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 13px;
|
||||
}
|
||||
.note {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid #ffc107;
|
||||
padding: 15px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>GE Aerospace Printer Installer</h1>
|
||||
<p>Click the "Install" button below to automatically install the selected printer on your workstation.</p>
|
||||
|
||||
<div class="note">
|
||||
<strong>Requirements:</strong>
|
||||
<ul>
|
||||
<li>Administrator privileges on your computer</li>
|
||||
<li>Connection to the GE Aerospace network</li>
|
||||
<li>Windows 10 or Windows 11 (32-bit or 64-bit)</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h2>CSF Printers</h2>
|
||||
<p><strong>Click any button below to install the printer automatically.</strong></p>
|
||||
<div class="printer-grid">
|
||||
<div class="printer-card">
|
||||
<span class="csf">CSF01</span>
|
||||
<h3>Materials Xerox EC</h3>
|
||||
<div class="location">📍 Materials</div>
|
||||
<div class="model">Xerox EC8036</div>
|
||||
<a href="install_printer.asp?printer=CSF01-Materials-XeroxEC" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
|
||||
<div class="printer-card">
|
||||
<span class="csf">CSF04</span>
|
||||
<h3>WJWT05 HP ColorLaserJet</h3>
|
||||
<div class="location">📍 WJWT05</div>
|
||||
<div class="model">HP Color LaserJet M254dw</div>
|
||||
<a href="install_printer.asp?printer=CSF04-WJWT05-HPColorLaserJet" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
|
||||
<div class="printer-card">
|
||||
<span class="csf">CSF06</span>
|
||||
<h3>3037 HP LaserJet</h3>
|
||||
<div class="location">📍 3037</div>
|
||||
<div class="model">HP LaserJet 4250tn</div>
|
||||
<a href="install_printer.asp?printer=CSF06-3037-HPLaserJet" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
|
||||
<div class="printer-card">
|
||||
<span class="csf">CSF09</span>
|
||||
<h3>2022 HP LaserJetPro</h3>
|
||||
<div class="location">📍 2022</div>
|
||||
<div class="model">HP LaserJet Pro M607</div>
|
||||
<a href="install_printer.asp?printer=CSF09-2022-HPLaserJetPro" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Office Printers</h2>
|
||||
<div class="printer-grid">
|
||||
<div class="printer-card">
|
||||
<h3>Coaching 112 HP ColorLaserJet</h3>
|
||||
<div class="location">📍 Coaching 112</div>
|
||||
<div class="model">HP Color LaserJet M254dw</div>
|
||||
<a href="install_printer.asp?printer=Coaching112-HPColorLaserJet" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
|
||||
<div class="printer-card">
|
||||
<h3>Office Administration Xerox Versalink</h3>
|
||||
<div class="location">📍 Office Administration</div>
|
||||
<div class="model">Xerox Versalink C7125</div>
|
||||
<a href="install_printer.asp?printer=OfficeAdministration-XeroxVersalink" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
|
||||
<div class="printer-card">
|
||||
<h3>PE Room Xerox Altalink</h3>
|
||||
<div class="location">📍 PE Room</div>
|
||||
<div class="model">Xerox Altalink C8135</div>
|
||||
<a href="install_printer.asp?printer=PERoom-XeroxAltalink" class="install-btn">Install Printer</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Implementation Guide</h2>
|
||||
|
||||
<h3>1. One-Click Installation via ASP Launcher (Recommended)</h3>
|
||||
<p>The example above uses <code>install_printer.asp</code> which generates a batch file that:</p>
|
||||
<ol>
|
||||
<li>Downloads PrinterInstaller.exe from your network/web server</li>
|
||||
<li>Runs it with the correct /PRINTER parameter automatically</li>
|
||||
<li>Cleans up after itself</li>
|
||||
</ol>
|
||||
<div class="code-example">
|
||||
<code><!-- User-friendly link that downloads a pre-configured launcher -->
|
||||
<a href="install_printer.asp?printer=CSF01-Materials-XeroxEC">Install Materials Printer</a></code>
|
||||
</div>
|
||||
<p><strong>User Experience:</strong> Click link → Download .bat file → Run .bat file → Printer installs automatically</p>
|
||||
|
||||
<h3>2. How install_printer.asp Works</h3>
|
||||
<div class="code-example">
|
||||
<code><%@ Language=VBScript %>
|
||||
<%
|
||||
' Get printer name from query string
|
||||
Dim printerName
|
||||
printerName = Request.QueryString("printer")
|
||||
|
||||
' Sanitize input
|
||||
printerName = Replace(printerName, """", "")
|
||||
|
||||
' Set headers to download as batch file
|
||||
Response.ContentType = "application/octet-stream"
|
||||
Response.AddHeader "Content-Disposition", "attachment; filename=Install_" & printerName & ".bat"
|
||||
|
||||
' Generate batch file that downloads and runs installer
|
||||
Response.Write("@echo off" & vbCrLf)
|
||||
Response.Write("powershell -Command ""Invoke-WebRequest -Uri 'https://yourserver/PrinterInstaller.exe' -OutFile '%TEMP%\PrinterInstaller.exe'""" & vbCrLf)
|
||||
Response.Write("""%TEMP%\PrinterInstaller.exe"" /PRINTER=" & printerName & vbCrLf)
|
||||
%></code>
|
||||
</div>
|
||||
|
||||
<h3>3. Dynamic Link Generation (ASP Example)</h3>
|
||||
<div class="code-example">
|
||||
<code><%
|
||||
' Loop through printers from api_printers.asp
|
||||
Dim url, response, printers, printer
|
||||
url = "https://tsgwp00525.rd.ds.ge.com/shopdb/api_printers.asp"
|
||||
|
||||
' Fetch and parse JSON (requires JSON parser or manual parsing)
|
||||
' Then generate links:
|
||||
For Each printer In printers
|
||||
Response.Write "<a href=""install_printer.asp?printer=" & printer.printerwindowsname & """>"
|
||||
Response.Write "Install " & printer.printerwindowsname
|
||||
Response.Write "</a><br>"
|
||||
Next
|
||||
%></code>
|
||||
</div>
|
||||
<p><strong>Naming format:</strong> <code>CSFName-Location-VendorModel</code><br>
|
||||
Examples: <code>CSF01-Materials-XeroxEC</code>, <code>CSF04-WJWT05-HPColorLaserJet</code></p>
|
||||
|
||||
<h3>4. QR Code Integration</h3>
|
||||
<p>Generate QR codes that point to the ASP launcher:</p>
|
||||
<div class="code-example">
|
||||
<code>https://tsgwp00525.rd.ds.ge.com/shopdb/install_printer.asp?printer=CSF04-WJWT05-HPColorLaserJet</code>
|
||||
</div>
|
||||
<p>Place QR code stickers on physical printers. Users scan → download .bat file → run → printer installs!</p>
|
||||
|
||||
<h3>5. Department-Specific Pages</h3>
|
||||
<div class="code-example">
|
||||
<code><!-- Engineering Department Page -->
|
||||
<a href="install_printer.asp?printer=CSF04">Install Engineering Printer</a>
|
||||
|
||||
<!-- Materials Department Page -->
|
||||
<a href="install_printer.asp?printer=CSF01">Install Materials Printer</a>
|
||||
|
||||
<!-- Show all Coaching printers (partial match) -->
|
||||
<a href="install_printer.asp?printer=Coaching">Install Coaching Area Printers</a></code>
|
||||
</div>
|
||||
|
||||
<h3>6. Browse All Printers</h3>
|
||||
<div class="code-example">
|
||||
<code><!-- Download installer to browse all available printers -->
|
||||
<a href="PrinterInstaller.exe" download>Download Full Printer Installer</a></code>
|
||||
</div>
|
||||
|
||||
<div class="note">
|
||||
<strong>💡 Pro Tips:</strong>
|
||||
<ul>
|
||||
<li>Use partial matching to auto-select multiple related printers (e.g., /PRINTER=Coaching)</li>
|
||||
<li>Combine with /VERYSILENT for fully automated installation</li>
|
||||
<li>Host the installer on an internal web server for easy access</li>
|
||||
<li>Keep the API endpoint (api_printers.asp) updated for dynamic printer list</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h2>Testing Links</h2>
|
||||
<p>Before deploying, test your links:</p>
|
||||
<ol>
|
||||
<li>Download the installer to a test location</li>
|
||||
<li>Click each link to verify the correct printer is auto-selected</li>
|
||||
<li>Confirm the installation completes successfully</li>
|
||||
</ol>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user