Force all printers through universal installer
- Removed specific installer logic - all printers now use PrinterInstaller.exe - Fixed /PRINTER= parameter quoting: /PRINTER="Name1,Name2" (quotes around value) - Single call with comma-separated printer names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -204,17 +204,15 @@ Else
|
||||
Set universalPrinters = Server.CreateObject("Scripting.Dictionary")
|
||||
universalNames = ""
|
||||
|
||||
' Force ALL printers through universal installer (ignore specific installers)
|
||||
For Each printerKey In printers.Keys
|
||||
Set printer = printers(printerKey)
|
||||
If printer("installpath") <> "" Then
|
||||
specificInstallers.Add printerKey, printer
|
||||
Else
|
||||
universalPrinters.Add printerKey, printer
|
||||
If universalNames <> "" Then universalNames = universalNames & ","
|
||||
universalNames = universalNames & printer("standardname")
|
||||
End If
|
||||
Next
|
||||
|
||||
' Skip specific installers - all printers use universal installer now
|
||||
' Process printers with specific installers first (silent mode)
|
||||
For Each printerKey In specificInstallers.Keys
|
||||
Set printer = specificInstallers(printerKey)
|
||||
|
||||
Reference in New Issue
Block a user