Command line options for padcheck.exe
-a:<Application
name>
-v:<Current version or executable with version information>
-p:<Padfile URL on the web>
Instead of version information you can also supply a program path to a
executable that contains version information.
When your parameters contain spaces, you should enclose the parameter between
quotes. If the executable file doesn't contain a full path, PadCheck will look
for the executable file in it's own directory.
Example:
padcheck.exe -a:QuickStart -v:"c:\program files\quickstart\quickstart.exe"
-p:http://www.digiarch.org/quickstart/quickstart.xml
or
padcheck.exe -a:QuickStart -v:2.0.1
-p:http://www.digiarch.org/quickstart/quickstart.xml
Other options:
-f:<ini file>
Another way to provide information to PadCheck is by an ini file. If PadCheck
finds a padcheck.ini in its directory it will take information from that ini
file by default. If you want to use another ini file you should specify the file
with the
-f:<ini file>
parameter. The ini file should contain information in the following format.
[padcheck]
appname=QuickStart
version=quickstart.exe
padfile=http://www.digiarch.org/quickstart/quickstart.xml
Example:
padcheck.exe -f:padcheck.ini
-q (quiet mode)
The quiet mode is typically used when you schedule PadCheck with the Windows
scheduler for example. When PadCheck runs in the quiet mode, it will only pop-up
the download wizard when there is new download available. PadCheck will close
with the exit code 0, when there is no new version available. Any other exit
code will indicate an error, when there is no Internet connection for example.
-r:<Special installation remarks that should be displayed at the end>
If you have special installation or update instructions you can provide
these with the
-r: parameter.
The remarks will displayed instead of the default instructions. You can format
your text with the <b>, <i>, <p> and <br> tags. If you have a url link you can
use the <link> tag.
Example:
-r:"<b>Important information for registered users</b><p>Registered users need a
new registration key when installing this update.<br>Please contact
<link>mailto:sales@mycompany.com</link> or request a new key at:
<link>http://www.mycompany.com/registration.cgi</link>".
|