cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
honestvip
Level 2

How to Run cmd Command in package

Hi
How to run cmd command in this package afther instalation
REM Create Port
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prnport.vbs" -a -r CRM-Printer -h 192.168.202.52 -o raw -n 9100

REM Install Driver
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\Prndrvr.vbs" -a -m "HP LaserJet 500 color M551 PCL6" -i "\\sccm2016\Source\APP\Script\Printers\Driver\hpcm500u.inf"

REM Create Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -a -p "CRM-Printer1" -m "HP LaserJet 500 color M551 PCL6" -r CRM-Printer

Set Default Printer
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prnmngr.vbs" -t -p "CRM-Printer1"



Exit
Labels (1)
0 Kudos
(1) Reply
Roman1
Level 9

Hi,
what kind of installation ?

MSI-Basic or InstallScript ?
0 Kudos