FAQ(08): Does SDM support any type of automation? (2426 Views)
Reply
Neighborhood Moderator
louy
Posts: 212
Registered: ‎01-12-2009
Message 1 of 4 (2,426 Views)
Accepted Solution

FAQ(08): Does SDM support any type of automation?

[ Edited ]

Is it possible to run SDM from the command line in an unattended mode?

Neighborhood Moderator
Matt___H
Posts: 34
Registered: ‎01-12-2009
Message 2 of 4 (2,401 Views)

Re: FAQ(08): Does SDM support any type of automation?

[ Edited ]

Yes, you can launch SDM from a command line to download and even install SoftPaqs automatically. Below is the list of supported command line switches:

/AUTO or /AUTOMYPC
Launches SDM in "Personal" mode to download and install latest SoftPaqs in auto mode.

/AUTOPROD
Launches SDM in "All Products" mode to download relevant SoftPaqs from the default configuration in auto mode.

/FILE
Loads the specified Product Configuration File and launches SDM to download relevant SoftPaqs in auto mode. Remember to surround the filename with double quotes ("). Remove the square brackets () from the filename. Note: this switch only works with "All Products" mode.

/DOWNONLY
Overrides the auto mode download action to download only in "Personal" mode. This is the default download mode in "All Products" mode.

/DOWNUNPACK
Overrides the auto mode download action to download and unpack for either "All Products" and "Personal" modes.

/DOWNINSTALL
Overrides the auto mode download action to download and install. This switch is ignored if "All Products" mode is being used.

Sample command lines (using default installeation location):

To run SDM in "Personal" mode and download and install the latest SoftPaqs for your model:
"C:\Program Files\Hewlett-Packard\HP SoftPaq Download Manager\SoftPaqDownloadManager.exe" /auto

To run SDM in "Personal" mode and download (but not install) the latest SoftPaqs for your model:
"C:\Program Files\Hewlett-Packard\HP SoftPaq Download Manager\SoftPaqDownloadManager.exe" /automypc /downonly

To run SDM and download all SoftPaqs using the last (default) product configuration:
"C:\Program Files\Hewlett-Packard\HP SoftPaq Download Manager\SoftPaqDownloadManager.exe" /autoprod

To run SDM and download and unpack all SoftPaqs using a product configuration:
"C:\Program Files\Hewlett-Packard\HP SoftPaq Download Manager\SoftPaqDownloadManager.exe" /autoprod /downunpack /file"C:\Documents and Settings\All Users\Documents\dc5800.sdm"

You can use SDM auto mode and create a Windows Scheduled Task or a batch file.

Mk
Occasional Visitor
Mk
Posts: 1
Registered: ‎01-28-2010
Message 3 of 4 (2,400 Views)

Re: FAQ(08): Does SDM support any type of automation?

[ Edited ]

I am interested in more details on automation.

1 Is it possible to specify the proxy server to use on the comand line and how do you do this? The alternative being to change IE settings from the command line, but I want to use a specific caching proxy server to improve download times.

2 Can you provide more details about the config file format or location of a copy held on the client which can be used as a template?

Thanks,

Mk

Neighborhood Moderator
louy
Posts: 212
Registered: ‎01-12-2009
Message 4 of 4 (2,205 Views)

Re: FAQ(08): Does SDM support any type of automation?

[ Edited ]

Unfortunately, no; it is not possible to specify the proxy server on the command line.

The config file format can be saved if you select File and then Save from the main menu (in All Products mode only). The file is an XML file.

Note: the proxy information is not saved in that file.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.