This commit is contained in:
2025-09-26 21:56:06 +03:00
parent c17812a0c1
commit 2216f21c47
17 changed files with 3361 additions and 631 deletions

View File

@@ -109,13 +109,20 @@
<div class="card h-100 border-primary">
<div class="card-header bg-primary text-white text-center">
<h4 class="mb-0">🔧 Windows Print Service</h4>
<small>Enterprise-grade silent printing</small>
<small>Enterprise-grade silent printing with Error 1053 fixes</small>
</div>
<div class="card-body d-flex flex-column">
<div class="alert alert-primary">
<strong>🏢 ENTERPRISE:</strong> Silent printing with no user interaction!
</div>
<div class="alert alert-success" style="background-color: #d1f2eb; border-color: #a3e4d7; color: #0e6b49;">
<strong>🆕 NEW: Error 1053 FIXED!</strong><br>
<small>✅ Multiple installation methods with automatic fallback<br>
✅ Enhanced Windows Service Communication<br>
✅ Comprehensive diagnostic and troubleshooting tools</small>
</div>
<h5>🎯 Key Features:</h5>
<ul>
<li>⚡ Silent printing - no print dialogs</li>
@@ -124,29 +131,28 @@
<li>🛡️ Windows service with auto-recovery</li>
<li>📦 Self-contained - zero dependencies</li>
<li>🏢 Perfect for production environments</li>
<li><strong style="color: #dc3545;">🔧 Error 1053 fixes included</strong></li>
</ul>
<h5>🚀 Quick Install (3 steps):</h5>
<ol>
<li>Download and extract the service package</li>
<li>Run <code>install_service_complete.bat</code> as Administrator</li>
<li>Download and extract the enhanced service package</li>
<li>Run <code>install_service_ENHANCED.bat</code> as Administrator</li>
<li>Install Chrome extension (included in package)</li>
</ol>
<div class="text-center mt-auto">
<div class="btn-group-vertical mb-3" role="group">
<button class="btn btn-primary btn-lg" id="download-service-btn">
📥 Download Windows Service
</button>
<button class="btn btn-success btn-lg" id="download-zero-deps-btn">
🚀 Download ZERO Dependencies Package
📥 Download Enhanced Windows Service
</button>
<small class="text-muted mb-2">🆕 Includes Error 1053 fixes & multiple installation methods</small>
</div>
<div class="alert alert-info">
<small>
<strong>📦 Standard Package (~50KB):</strong> Requires Python 3.7+ installed<br>
<strong>🚀 Zero Dependencies (~15MB):</strong> Includes everything - no Python needed!
<strong>🆕 Enhanced Package (~11MB):</strong> Embedded Python 3.11.9 + Error 1053 fixes<br>
<strong>✅ Features:</strong> 4 installation methods, diagnostic tools, zero dependencies
</small>
</div>
@@ -329,7 +335,7 @@ document.getElementById('download-service-btn').addEventListener('click', functi
// Show loading state
const originalText = this.innerHTML;
this.innerHTML = '⏳ Preparing Windows Service Package...';
this.innerHTML = '⏳ Preparing Enhanced Service Package...';
this.disabled = true;
// Create the service package
@@ -340,16 +346,22 @@ document.getElementById('download-service-btn').addEventListener('click', functi
// Start download
window.location.href = data.download_url;
// Show success message
// Show enhanced success message with features
const features = data.features ? data.features.join('\n• ') : 'Error 1053 fixes and enhanced installation';
setTimeout(() => {
this.innerHTML = '✅ Download Started!';
this.innerHTML = '✅ Enhanced Package Downloaded!';
// Show feature alert
if (data.package_type) {
alert(`${data.package_type} Downloaded!\n\n🆕 Features included:\n${features}\n\n📦 Size: ${(data.zip_size / 1024 / 1024).toFixed(1)} MB\n🔧 Installation methods: ${data.installation_methods || 'Multiple'}\n\n📋 Next: Extract and run install_service_ENHANCED.bat as Administrator`);
}
}, 500);
// Reset button
setTimeout(() => {
this.innerHTML = originalText;
this.disabled = false;
}, 3000);
}, 5000);
} else {
alert('Error creating service package: ' + data.error);
this.innerHTML = originalText;