Creating a New Project solely to run IWS and configure its privileges to fit the needs of your project. For more about this, see "Configuring User Privileges" below. Password box The password for the specified user account. This is an optional setting; it's not needed if no user is specified or if the specified user doesn't have a password. Startup Type pane How the Windows service will start. The following options are available: • Automatic : The service will start automatically when the computer boots. • Manual : The service can be started manually in the Computer Management console or by clicking Start , as described below. • Disabled : The service will be created and then disabled.
It cannot run until an administrative user enables it in the Computer Management console. Action pane Start or stop the service. Please note that these buttons are not enabled until the service is actually created. Creating a New Service To create a new service: 1. Next to the Project box, click … to open a standard Windows file browser. Use the browser to find and select your project file. 2. In the User and Password boxes, type the username and password (if any) for the Windows user account under which the service will run. 3. Select a Startup Type . 4. Click Apply . The service is created with the specified settings.
After the service has been created, it will appear in the Services console ( Start > Control Panel > Administrative Tools > Services ) under the name "InduSoft Web Studio". You can use that console to quickly stop and restart the service, if you don't want to run the IWS development environment. Command-line Utility You can also configure the service by using the command-line utility StdSvcInst.exe . It offers a few more options than the Service Configuration tool described above — such as specifying a name and description for the service — and it can be used without launching the IWS development environment. The utility is located in the \Bin folder of your IWS program directory.
To run the utility, open a command prompt, navigate to the \Bin folder, and enter the command with the desired options. The utility has the following command syntax: StdSvcInst { -create -app filepath -startup { auto | manual | disabled } - user username -password password -name displayname -descr description | -start | -stop | -delete } -create Creates the Windows service. -app filepath Specifies which project file ( project_name .app ) the service will load and run when it is started. (This is the same as the Project box in the Service Configuration dialog.) You must include the complete file path, and it must be enclosed in quotes.
-startup { auto | manual | disabled } This switch is required when you create a new service. Specifies how the service will start. (This is the same as the Startup Type in the Service Configuration box.) This switch is optional; if it's not used, then the default behavior for a new service is manual . -user username InduSoft Web Studio Page 99