Search Results for

    Show / Hide Table of Contents

    AppShell Packages

    AppShell Config Package

    Create a package to deploy a configuration file for AppShell (Windows) to the auto-update location (C:\LS Retail\AppShell\AppShellConfig.xml) on the client device.

    Prepare an XML file with the configuration settings for the AppShell. The file should be named AppShellConfig.xml and contain the configuration settings. On the package execution, the file is copied to the auto-update location on the client device.

    This package relies on the AppShell's auto-update feature, which automatically updates the configuration from an XML file located at C:\LS Retail\AppShell\AppShellConfig.xml. The AppShell checks for the file's existence and imports the configuration when it's first opened. To allow future configuration updates, ensure the auto-update feature is enabled in the AppShell configuration file. For more information, see AppShell.

    $ErrorActionPreference = 'stop'
    
    Import-Module LsPackageTools\AppShell
    
    $PackageArgs = @{
        PackageId = "cronus-appshell-config-file"
        Name = "Cronus AppShell config file"
        Path = 'c:\path\to\AppShellConfig.xml'
        Version = '1.0.0'
        OutputDir = 'c:\path\to\output'
    }
    
    New-AppShellConfigFilePackage @PackageArgs | Import-UssPackage
    

    This example creates an AppShell config package containing the AppShellConfig.xml from the location c:\path\to\AppShellConfig.xml. The package is created in the output directory c:\path\to\output.

    In This Article
    Back to top Generated by DocFX