Command Line Arguments
Cadcorp SIS Desktop 9.1 recognises these command line arguments.
Cadcorp.SIS.exe - Cadcorp SIS Desktop 9.1 Installation
Use only one of the following:
—Product:DesktopExpress - Run Desktop Express product
--Country: [xxx]
Force country settings where xxx is one of the following countries:
- Australia: AUS
- Canada: CAN
- Czech Republic: CZE
- Denmark: DEN
- France: FRA
- Germany: DEU
- Great Britain: GBR
- Ireland: IRL
- Italy: ITA
- Japan: JPN
- Netherlands: NLD
- New Zealand: NZL
- Sweden: SWE
- Switzerland: CHE
- USA: USA
- Example: --Country:GBR
- All country specific plug-ins and NOLs: *
- Not country specific plug-ins and NOLs: -*
Note: If the --Country:-* argument is used then all country specific libraries, plugins and namers will be loaded, instead of those for one particular country. If the --Country:- argument is used then no country specific libraries, plugins and namers will be loaded. The USGS formats will still be loaded because they are used worldwide.
[Variable]
Load the named SIS Workspace Definition (SWD) at start up.
Example: C:\test.swd
Note: Enter the path and do not use quotes.
--profile:xxx
Load any programs which are contained in the custom subfolder with this name.
Note: Only enter the target folder name, do not include the folder path.
SIS Desktop 9.0 can search the following folder locations:
-
%APPDATA%\Cadcorp SIS\9.0\Desktop\Custom\
-
%APPDATA%\Cadcorp SIS\9.0\Desktop\Custom\<profile>
-
<SIS Desktop installation folder>\Custom\
-
<SIS Desktop installation folder>\Custom\<profile>
where <profile> is any specified --profile: command-line parameter
SIS Desktop 9.1 also allows searching of child folders of each location (not recursive), eg:
-
%APPDATA%\Cadcorp SIS\9.1\Desktop\Custom\MyGisLinkApplication
and country-specific folders in each location, eg:
-
%APPDATA%\Cadcorp SIS\9.1\Desktop\Custom\AUS
--EMBEDDED
Can be used by other OLE applications such as Word or Excel.
--options
Allows the default UI settings database path to be overridden.
Example: --options:C:\Users\Username\Desktop\OptionsTEST.db
Syntax note: The : after --options and no spaces.
It is possible to use system variables as part of the –options: command line argument.
For example, if a number of users share a common shortcut to start SIS Desktop 9.1 a method may be needed to allow each user to have their own UI settings database. To achieve this a SYSTEM variable can be used to set a location on the user personal drive:
--Country:GBR --SentinelRMSServerList:10.0.0.9 --options:%temp%\OptionsUser1.db
--SentinelRMSServerList:[Variable]
Machine name or ip address of network server.
SentinelRMSTimeoutInterval:[Variable]
Time out interval in minutes and seconds. Only to be added if the default value of 30 seconds is not used.
When a licensed application sends a request to a licence server and the licence server does not respond the application will resend the request a number of times.
SentinelRMSHoldTime:[Variable]
The hold time of licenses issued to the feature in minutes and seconds.
This function call will only be effective if the licence for the feature specifies that the hold time should be set by the application.
SentinelRMSServerPort:[Variable]
Port number. Only to be added if default value is not used.
Example command lines
"C:\Program Files\Cadcorp SIS Desktop 9.1\Cadcorp.SIS.Loader.exe" cadcorp.sis.exe --Country:GBR
"C:\Program Files\Cadcorp SIS Desktop 9.1\Cadcorp.SIS.Loader.exe" Cadcorp.SIS.exe --Product:Express --COUNTRY:-* --profile:xxx[MyProgramFolder]"--EMBEDDED
Loading a Project Folder from a command line
For details of creating and using a project folder see the Project Folder topic.
Example command line to open a project folder:
"C:\Program Files\Cadcorp SIS Desktop 9.1\Cadcorp.SIS.Loader.exe" Cadcorp.SIS.exe --Product:MapModeller C:\Data\MyProject
The above example will open the "MyProject" project folder located in the "Data" folder.