This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to Run cmd Command in package
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 28, 2018
04:37 AM
How to Run cmd Command in package
Hi
How to run cmd command in this package afther instalation
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 01, 2018
12:02 AM
Hi,
what kind of installation ?
MSI-Basic or InstallScript ?
what kind of installation ?
MSI-Basic or InstallScript ?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)