Scripts/Install-BcApp-Simple.ps1

# Specify the name of the Business Central Server Instance to use for the installation.
$ServerInstance = ''   # E.g. 'BC150' or 'NST150Test'

# Import PowerShell module
Join-Path $PSScriptRoot '\PowerShell\FpsALDeployment\FpsBcDeployment.psd1' | Import-Module -Global -DisableNameChecking -Force 

# Start installation script
Install-BcApp `
    -ServerInstance $ServerInstance `
    -LicensePath  (Join-Path $PSScriptRoot 'CustomerLicense.flf') `
    -SoftwarePath (Join-Path $PSScriptRoot 'Extensions') `
    -ModulePath   (Join-Path $PSScriptRoot 'PowerShell') `
    -BaseAppId @('d809cdc6-44fd-485c-b9ed-2841276bbf32', # NL, W1, BE, UK
                 'a5fcb2f3-fce3-47a5-976a-e837599ae46d',
                 'd179a7a3-819c-48fd-860d-5b9983836f6d',
                 '3df31549-a7b5-4a12-9a01-8453e8819d4c') `
    -SkipMemoryCheck:$false `
    -ErrorAction Continue

# Replacement for Nav .Net Components (NNC)
Publish-BcAddin `
    -Path (Get-ChildItem (Join-Path $PSScriptRoot 'DotNet')).FullName `
    -ServerInstance $ServerInstance