Method WithSetupFiles
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
WithSetupFiles(string)
Adds installer setup files to the package.
public IAppPackageBuilder WithSetupFiles(string directoryPath)
Parameters
directoryPath
stringDirectory path where the files are located.
Returns
- IAppPackageBuilder
A reference to this instance after this operation has completed.
Remarks
This will add the specified files to the C:\Skyline DataMiner\AppPackages\Installed<PackageName><PackageVersion>\AppInstallContent\SetupContent folder. This allows adding files that are only relevant for the installer script. In the install script, you can obtain the path to this folder by using the installer.GetSetupContentDirectory(); method.
Exceptions
- ArgumentException
In case
directoryPath
is null or white-space.