Preface

This document describes the functionality provided by the Windows plugin.

Refer to Deployit Reference Manual for background information on Deployit and deployment concepts.

Overview

The Windows plugin is a Deployit plugin that adds the capability to perform common Windows configuration and deployment tasks.

Features

  • Installs and uninstalls MSI files.
  • Imports Windows registry files.
  • Creates and destroys Windows services.
  • Creates and destroys Windows shares.

Requirements

  • Deployit requirements:
    • Deployit version 3.8.4 or higher.
  • Infrastructural requirements:
    • Administrative access to the target Windows machine.
    • PowerShell 2.0 must be installed on the target machine.

Release Notes

3.9.0

  • Added support for importing Windows registry files.
  • Removed support for windows.ServiceMsi.
  • Improvements made/bugs fixed:
    • Changed default of stopStartOnNoop on windows.Service to true.
    • DEPLOYITPB-4398 - Don't start or stop services that have startupType set to Disabled.

3.8.1

  • Improvements made/bugs fixed:
    • DEPLOYITPB-4260/DEPLOYITPB-4268 - Now uninstalling MSI's by running them with the /x flag (instead of invoking the uninstall method on the application object retrieved with Get-WmiObject).

3.8.0

  • Added support for Windows services and shares.
  • Renamed to Windows plugin.

3.7.0

  • Initial release of the MSI plugin.

Usage in deployment packages

The plugin works with the standard deployment package DAR format. Please see the Packaging Manual for more details about the DAR format and the ways to compose one. The following is a sample deployit-manifest.xml file that includes a few of the deployables provided by the Windows plugin:

<?xml version="1.0" encoding="UTF-8"?>
<udm.DeploymentPackage application="Windows" version="1.0">
  <deployables>
    <windows.Msi name="Apache HTTPD" file="httpd-2.2.22-win32-x86-no_ssl.msi" />
    <windows.RegFile name="My service registry key" file="myservice.reg" />
    <windows.ServiceSpec name="My service">
      <binaryPathName>C:\Program Files\Common Services\myservice.exe</binaryPathName>
      <dependsOn>
        <value>tcpip</value>
      </dependsOn>
    </windows.ServiceSpec>
    <windows.ShareSpec name="My share">
      <targetPath>C:\Users\deployit\Public</targetPath>
    </windows.ShareSpec>
  </deployables>
</udm.DeploymentPackage>

Caveats

  • Windows registry files are imported when a package containing them is deployed or updated. However, no specific logic for removal of the registry keys is included. Ensure that your registry file removes the complete key used by your application before adding the values. See Microsoft Knowledge Base article #310516 for how to do this in a Windows registry file.
  • Ensure services.msc is not open when services are being deployed.
    • Otherwise the deployment may hang and/or the machine might need to be rebooted for the changes to take effect.
  • Ensure regedit.exe is not open when registry files are being imported.
    • Otherwise the deployment may hang and/or the machine might need to be rebooted for the changes to take effect.

Using the deployables and deployeds

Deployable vs. Container table

The following table describes which deployable/container combinations are possible:

Deployable Container Generated deployed
windows.Msi overthere.Host windows.InstalledMsi
windows.RegFile overthere.Host windows.ImportedRegFile
windows.ServiceSpec overthere.Host windows.Service
windows.ShareSpec overthere.Host windows.Share

Deployed Actions Table

The following table describes the effect a deployed has on its container:

Deployed Actions performed for operations
  Create Destroy Modify Noop
windows.InstalledMsi
  1. Install MSI (with the /i option)
  1. Uninstall MSI (with the /x option)
  1. Uninstall MSI (with the /x option)
  2. Install MSI (with the /i option)
 
windows.ImportedRegFile
  1. Import registry file
  1. Import registry file
Nothing  
windows.Service
  1. Install service
  2. Start service
  1. Stop service
  2. Uninstall service
  1. Stop service
  2. Uninstall service
  3. Install service
  4. Start service
  1. Stop service (unless stopStartOnNoop equals false)
  2. Start service (unless stopStartOnNoop equals false)
windows.Share
  1. Create share
  1. Remove share
  1. Remove share
  2. Create share
 

Extending the Windows plugin

The Windows plugin has been written upon the foundations provided by the PowerShell plugin, which is a standard part of the Deployit server distribution. Please refer to the documentation of the PowerShell plugin for details on how to extend PowerShell-based plugins.

CI Reference

Configuration Item Overview

Deployables

CI Description
windows.Msi MSI file
windows.RegFile Windows
windows.ServiceSpec Specification of a Windows service
windows.ShareSpec Specification of a Windows share

Deployeds

CI Description
windows.ImportedRegFile Imported Windows
windows.InstalledMsi Installed MSI
windows.Service Windows service
windows.Share Windows share

Other Configuration Items

CI Description
windows.ImportedRegFile Imported Windows
windows.InstalledMsi Installed MSI
windows.Msi MSI file
windows.RegFile Windows
windows.Service Windows service
windows.ServiceSpec Specification of a Windows service
windows.Share Windows share
windows.ShareSpec Specification of a Windows share

Configuration Item Details

windows.ImportedRegFile

Type Hierarchy powershell.ExtensiblePowerShellDeployedArtifact >> powershell.BaseExtensiblePowerShellDeployed >> powershell.BasePowerShellDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfaces udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

Imported Windows .reg file

Parent
 
 
container : CI<udm.Container>
The container on which this deployed runs.
Public Properties
 
 
deployable : CI<udm.Deployable>
The deployable that this deployed is derived from.
 
 
placeholders : MAP_STRING_STRING
A Map containing all the placeholders mapped to their values. Special values are or
Hidden Properties
 
 
createOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the create step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
createOrder : INTEGER  = 72
Order at which the create step will be executed.
 
 
createScript : STRING  = windows/import-reg-file.ps1
PowerShell script invoked to create a resource (or deploy an artifact) on Windows.
 
 
createVerb : STRING  = Import
Verb that is used to prefix the description for the create step.
 
 
destroyOptions : SET_OF_STRING  = [none]
Options for the destroy step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
destroyOrder : INTEGER  = 40
Order at which the destroy step will be executed.
 
 
destroyVerb : STRING  = Destroy
Verb that is used to prefix the description for the destroy step.
 
 
discoverOrder : INTEGER  = 50
Order at which the discover step will be executed.
 
 
modifyOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the modify step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
modifyOrder : INTEGER  = 72
Order at which the modify step will be executed.
 
 
modifyScript : STRING  = windows/import-reg-file.ps1
PowerShell script invoked to modify a resource (or an artifact) on Windows.
 
 
modifyVerb : STRING  = Import
Verb that is used to prefix the description for the modify step.
 
 
noopOptions : SET_OF_STRING  = [none]
Options for the noop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
noopOrder : INTEGER  = 50
Order at which the noop step will be executed.
 
 
noopVerb : STRING  = Noop
Verb that is used to prefix the description for the noop step.
 
 
startOptions : SET_OF_STRING  = [none]
Options for the start step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
startOrder : INTEGER  = 90
Order at which the start step will be executed.
 
 
startVerb : STRING  = Start
Verb that is used to prefix the description for the start step.
 
 
stopOptions : SET_OF_STRING  = [none]
Options for the stop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
stopOrder : INTEGER  = 10
Order at which the stop script will be executed.
 
 
stopVerb : STRING  = Stop
Verb that is used to prefix the description for the stop step.
 
 
destroyScript : STRING
PowerShell script invoked to destroy a resource (or undeploy an artifact) on Windows.
 
 
discoverScript : STRING
Script invoked to discover and inspect deployeds of this type.
 
 
libraryScripts : LIST_OF_STRING
List of scripts to append to the the step script.
 
 
noopScript : STRING
PowerShell script invoked to noop a resource or an artifact on Windows.
 
 
startScript : STRING
PowerShell script invoked to start a resource of an artifact on Windows.
 
 
stopScript : STRING
PowerShell script invoked to stop a resource or an artifact on Windows.
 
 
stopStartOnNoop : BOOLEAN  = false
If set to true, the stop and start scripts will be executed even if this deployable was not changed.

windows.InstalledMsi

Type Hierarchy powershell.ExtensiblePowerShellDeployedArtifact >> powershell.BaseExtensiblePowerShellDeployed >> powershell.BasePowerShellDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfaces udm.EmbeddedDeployedContainer, udm.Artifact, udm.Deployed, udm.ConfigurationItem, udm.DerivedArtifact

Installed MSI

Parent
 
 
container : CI<udm.Container>
The container on which this deployed runs.
Public Properties
 
 
additionalInstallProperties : STRING
Additional install properties for this MSI
 
 
additionalUninstallProperties : STRING
Additional uninstall properties for this MSI
 
 
deployable : CI<udm.Deployable>
The deployable that this deployed is derived from.
 
 
logOptions : STRING
Options for the /L command line option, see http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx
 
 
placeholders : MAP_STRING_STRING
A Map containing all the placeholders mapped to their values. Special values are or
Hidden Properties
 
 
createOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the create step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
createOrder : INTEGER  = 60
Order at which the create step will be executed.
 
 
createScript : STRING  = windows/install-msi.ps1
PowerShell script invoked to create a resource (or deploy an artifact) on Windows.
 
 
createVerb : STRING  = Install
Verb that is used to prefix the description for the create step.
 
 
destroyOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the destroy step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
destroyOrder : INTEGER  = 40
Order at which the destroy step will be executed.
 
 
destroyScript : STRING  = windows/uninstall-msi.ps1
PowerShell script invoked to destroy a resource (or undeploy an artifact) on Windows.
 
 
destroyVerb : STRING  = Uninstall
Verb that is used to prefix the description for the destroy step.
 
 
discoverOrder : INTEGER  = 50
Order at which the discover step will be executed.
 
 
modifyOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the modify step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
modifyOrder : INTEGER  = 60
Order at which the modify step will be executed.
 
 
modifyVerb : STRING  = Modify
Verb that is used to prefix the description for the modify step.
 
 
noopOptions : SET_OF_STRING  = [none]
Options for the noop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
noopOrder : INTEGER  = 50
Order at which the noop step will be executed.
 
 
noopVerb : STRING  = Noop
Verb that is used to prefix the description for the noop step.
 
 
startOptions : SET_OF_STRING  = [none]
Options for the start step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
startOrder : INTEGER  = 90
Order at which the start step will be executed.
 
 
startVerb : STRING  = Start
Verb that is used to prefix the description for the start step.
 
 
stopOptions : SET_OF_STRING  = [none]
Options for the stop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
stopOrder : INTEGER  = 10
Order at which the stop script will be executed.
 
 
stopVerb : STRING  = Stop
Verb that is used to prefix the description for the stop step.
 
 
discoverScript : STRING
Script invoked to discover and inspect deployeds of this type.
 
 
libraryScripts : LIST_OF_STRING
List of scripts to append to the the step script.
 
 
modifyScript : STRING
PowerShell script invoked to modify a resource (or an artifact) on Windows.
 
 
noopScript : STRING
PowerShell script invoked to noop a resource or an artifact on Windows.
 
 
startScript : STRING
PowerShell script invoked to start a resource of an artifact on Windows.
 
 
stopScript : STRING
PowerShell script invoked to stop a resource or an artifact on Windows.
 
 
stopStartOnNoop : BOOLEAN  = false
If set to true, the stop and start scripts will be executed even if this deployable was not changed.

windows.Msi

Type Hierarchy powershell.BasePowerShellDeployableFileArtifact >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfaces udm.Taggable, udm.Deployable, udm.SourceArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

MSI file

Public Properties
 
 
additionalInstallProperties : STRING
Additional install properties for this MSI (string)
 
 
additionalUninstallProperties : STRING
Additional uninstall properties for this MSI (string)
 
 
checksum : STRING
The checksum used to detect differences on the artifact. If not provided, it will be calculated by Deployit.
 
 
excludeFileNamesRegex : STRING
Regular expression that matches file names that must be excluded from scanning
 
 
logOptions : STRING
Options for the /L command line option, see http://technet.microsoft.com/en-us/library/cc759262(v=ws.10).aspx (string)
 
 
placeholders : SET_OF_STRING
Placeholders detected in this artifact
 
 
scanPlaceholders : BOOLEAN  = true
Whether to scan this artifact for placeholders when it is imported
 
 
tags : SET_OF_STRING
If set, this deployable will only be mapped automatically to containers with the same tag.
Hidden Properties
 
 
textFileNamesRegex : STRING  = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
Regular expression that matches file names of text files
 
 
delimiters : STRING  = {{ }}
The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter

windows.RegFile

Type Hierarchy powershell.BasePowerShellDeployableFileArtifact >> udm.BaseDeployableFileArtifact >> udm.BaseDeployableArtifact >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfaces udm.Taggable, udm.Deployable, udm.SourceArtifact, udm.Artifact, udm.DeployableArtifact, udm.ConfigurationItem, udm.FileArtifact

Windows .reg file

Public Properties
 
 
checksum : STRING
The checksum used to detect differences on the artifact. If not provided, it will be calculated by Deployit.
 
 
excludeFileNamesRegex : STRING
Regular expression that matches file names that must be excluded from scanning
 
 
placeholders : SET_OF_STRING
Placeholders detected in this artifact
 
 
scanPlaceholders : BOOLEAN  = true
Whether to scan this artifact for placeholders when it is imported
 
 
tags : SET_OF_STRING
If set, this deployable will only be mapped automatically to containers with the same tag.
Hidden Properties
 
 
textFileNamesRegex : STRING  = .+\.(cfg | conf | config | ini | properties | props | txt | asp | aspx | htm | html | jsf | jsp | xht | xhtml | sql | xml | xsd | xsl | xslt)
Regular expression that matches file names of text files
 
 
delimiters : STRING  = {{ }}
The delimiters used indicate placeholders, defaults to '{{ }}'. This is a 5 character string with a space in the middle, the first two are the leading delimiter, the last two are the closing delimiter

windows.Service

Type Hierarchy powershell.ExtensiblePowerShellDeployed >> powershell.BaseExtensiblePowerShellDeployed >> powershell.BasePowerShellDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfaces udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem

Windows service

Parent
 
 
container : CI<udm.Container>
The container on which this deployed runs.
Public Properties
 
 
binaryPathName : STRING
Path of the service binary
 
 
startTimeout : INTEGER  = 30
Amount of seconds to wait for the service to start
 
 
startupType : STRING  = Automatic
Startup type is this service. Defaults to Automatic
 
 
stopTimeout : INTEGER  = 30
Amount of seconds to wait for the service to start
 
 
dependsOn : LIST_OF_STRING
Services this service depends on
 
 
deployable : CI<udm.Deployable>
The deployable that this deployed is derived from.
 
 
password : STRING
Password of the account this service should log on as
 
 
serviceDescription : STRING
Description of this service
 
 
serviceDisplayName : STRING
Display name of this service
 
 
serviceName : STRING
Name of the service. Defaults to the name of the deployed if not specified
 
 
stopStartOnNoop : BOOLEAN  = true
If set to true, this service is stopped and started when another component in the same package is deployed
 
 
username : STRING
Username of the account this service should log on as
Hidden Properties
 
 
createOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the create step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
createOrder : INTEGER  = 60
Order at which the create step will be executed.
 
 
createScript : STRING  = windows/install-service.ps1
PowerShell script invoked to create a resource (or deploy an artifact) on Windows.
 
 
createVerb : STRING  = Install
Verb that is used to prefix the description for the create step.
 
 
destroyOptions : SET_OF_STRING  = [none]
Options for the destroy step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
destroyOrder : INTEGER  = 40
Order at which the destroy step will be executed.
 
 
destroyScript : STRING  = windows/uninstall-service.ps1
PowerShell script invoked to destroy a resource (or undeploy an artifact) on Windows.
 
 
destroyVerb : STRING  = Uninstall
Verb that is used to prefix the description for the destroy step.
 
 
discoverOrder : INTEGER  = 50
Order at which the discover step will be executed.
 
 
modifyOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the modify step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
modifyOrder : INTEGER  = 60
Order at which the modify step will be executed.
 
 
modifyVerb : STRING  = Modify
Verb that is used to prefix the description for the modify step.
 
 
noopOptions : SET_OF_STRING  = [none]
Options for the noop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
noopOrder : INTEGER  = 50
Order at which the noop step will be executed.
 
 
noopVerb : STRING  = Noop
Verb that is used to prefix the description for the noop step.
 
 
startOptions : SET_OF_STRING  = [none]
Options for the start step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
startOrder : INTEGER  = 90
Order at which the start step will be executed.
 
 
startScript : STRING  = windows/start-service.ps1
PowerShell script invoked to start a resource of an artifact on Windows.
 
 
startVerb : STRING  = Start
Verb that is used to prefix the description for the start step.
 
 
stopOptions : SET_OF_STRING  = [none]
Options for the stop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
stopOrder : INTEGER  = 10
Order at which the stop script will be executed.
 
 
stopScript : STRING  = windows/stop-service.ps1
PowerShell script invoked to stop a resource or an artifact on Windows.
 
 
stopVerb : STRING  = Stop
Verb that is used to prefix the description for the stop step.
 
 
discoverScript : STRING
Script invoked to discover and inspect deployeds of this type.
 
 
libraryScripts : LIST_OF_STRING
List of scripts to append to the the step script.
 
 
modifyScript : STRING
PowerShell script invoked to modify a resource (or an artifact) on Windows.
 
 
noopScript : STRING
PowerShell script invoked to noop a resource or an artifact on Windows.

windows.ServiceSpec

Type Hierarchy powershell.BasePowerShellDeployable >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfaces udm.Taggable, udm.Deployable, udm.ConfigurationItem

Specification of a Windows service

Public Properties
 
 
binaryPathName : STRING
Path of the service binary (string)
 
 
dependsOn : LIST_OF_STRING
Services this service depends on (list_of_string)
 
 
password : STRING
Password of the account this service should log on as (string)
 
 
serviceDescription : STRING
Description of this service (string)
 
 
serviceDisplayName : STRING
Display name of this service (string)
 
 
serviceName : STRING
Name of the service. Defaults to the name of the deployed if not specified (string)
 
 
startTimeout : STRING
Amount of seconds to wait for the service to start (integer)
 
 
startupType : STRING
Startup type is this service. Defaults to Automatic (string)
 
 
stopStartOnNoop : STRING
If set to true, this service is stopped and started when another component in the same package is deployed (boolean)
 
 
stopTimeout : STRING
Amount of seconds to wait for the service to start (integer)
 
 
tags : SET_OF_STRING
If set, this deployable will only be mapped automatically to containers with the same tag.
 
 
username : STRING
Username of the account this service should log on as (string)

windows.Share

Type Hierarchy powershell.ExtensiblePowerShellDeployed >> powershell.BaseExtensiblePowerShellDeployed >> powershell.BasePowerShellDeployed >> udm.BaseDeployed >> udm.BaseConfigurationItem
Interfaces udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItem

Windows share

Parent
 
 
container : CI<udm.Container>
The container on which this deployed runs.
Public Properties
 
 
targetPath : STRING
Target path of the share
 
 
deployable : CI<udm.Deployable>
The deployable that this deployed is derived from.
 
 
shareName : STRING
Name of the share. Defaults to the name of the deployed if not specified
Hidden Properties
 
 
createOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the create step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
createOrder : INTEGER  = 60
Order at which the create step will be executed.
 
 
createScript : STRING  = windows/create-share.ps1
PowerShell script invoked to create a resource (or deploy an artifact) on Windows.
 
 
createVerb : STRING  = Create
Verb that is used to prefix the description for the create step.
 
 
destroyOptions : SET_OF_STRING  = [none]
Options for the destroy step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
destroyOrder : INTEGER  = 40
Order at which the destroy step will be executed.
 
 
destroyScript : STRING  = windows/delete-share.ps1
PowerShell script invoked to destroy a resource (or undeploy an artifact) on Windows.
 
 
destroyVerb : STRING  = Destroy
Verb that is used to prefix the description for the destroy step.
 
 
discoverOrder : INTEGER  = 50
Order at which the discover step will be executed.
 
 
modifyOptions : SET_OF_STRING  = [uploadArtifactData]
Options for the modify step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
modifyOrder : INTEGER  = 60
Order at which the modify step will be executed.
 
 
modifyVerb : STRING  = Modify
Verb that is used to prefix the description for the modify step.
 
 
noopOptions : SET_OF_STRING  = [none]
Options for the noop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
noopOrder : INTEGER  = 50
Order at which the noop step will be executed.
 
 
noopVerb : STRING  = Noop
Verb that is used to prefix the description for the noop step.
 
 
startOptions : SET_OF_STRING  = [none]
Options for the start step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
startOrder : INTEGER  = 90
Order at which the start step will be executed.
 
 
startVerb : STRING  = Start
Verb that is used to prefix the description for the start step.
 
 
stopOptions : SET_OF_STRING  = [none]
Options for the stop step (1 or more of: none,uploadArtifactData,exposePreviousDeployed,exposeDeployedApplication).
 
 
stopOrder : INTEGER  = 10
Order at which the stop script will be executed.
 
 
stopVerb : STRING  = Stop
Verb that is used to prefix the description for the stop step.
 
 
discoverScript : STRING
Script invoked to discover and inspect deployeds of this type.
 
 
libraryScripts : LIST_OF_STRING
List of scripts to append to the the step script.
 
 
modifyScript : STRING
PowerShell script invoked to modify a resource (or an artifact) on Windows.
 
 
noopScript : STRING
PowerShell script invoked to noop a resource or an artifact on Windows.
 
 
startScript : STRING
PowerShell script invoked to start a resource of an artifact on Windows.
 
 
stopScript : STRING
PowerShell script invoked to stop a resource or an artifact on Windows.
 
 
stopStartOnNoop : BOOLEAN  = false
If set to true, the stop and start scripts will be executed even if this deployable was not changed.

windows.ShareSpec

Type Hierarchy powershell.BasePowerShellDeployable >> udm.BaseDeployable >> udm.BaseConfigurationItem
Interfaces udm.Taggable, udm.Deployable, udm.ConfigurationItem

Specification of a Windows share

Public Properties
 
 
shareName : STRING
Name of the share. Defaults to the name of the deployed if not specified (string)
 
 
tags : SET_OF_STRING
If set, this deployable will only be mapped automatically to containers with the same tag.
 
 
targetPath : STRING
Target path of the share (string)