CommandLineAPI
Previous Topic  Next Topic 

::InstallAPI::CommandLineAPI


This API is used to manipulate and query command line options in an installer or uninstaller.



Supported Platforms

All



Returns

See options



Options


-do

Specifies the action the API should take.  Possible values are:


    check

Check to see if the option given by -option was passed on the command line.

Returns 1 if the option was passed or 0 if it was not.

    exists

Check to see if the option given by -option exists as a possible option.

Returns 1 if the option exists or 0 if it does not.


-option

The command line option to check.  Any - or / is stripped from the left side of the option before it is checked.