Steps
Make sure a Dynamics 365 Microsoft Dynamics 365 Business Central installation is up and running, including a database. The example below shows how to create a CRONUS demo environment.
For example: Download Update 21.5 for Dynamics 365 Business Central 2022 Release Wave 2 from Official Microsoft Download Center
Install your partner license, replacing the standard Cronus.bclicense.
Download the latest Industrial Equipment Manufacturing apps package from:
Open PowerShell ISE and run as Administrator.
Import the Industrial Equipment Manufacturing script in PowerShell and run the following sections.
Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\220\Service\Microsoft.Dynamics.Nav.Management.psm1" Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\220\Service\NavAdminTool.ps1"Update the variables (replace parts as required):
$apps = "TI-Common,IEM-Advanced Projects Management,IEM-Resource Management,IEM-Manufacturing and Service Integration" (When only installing APM, remove RM from this list) $serverInstance = 'BC215' $buildArtifactFolder = "C:\IEMOnPrem\24.0.101221.0" $appsSplit = $apps.Split(',') $i = $appsSplit.CountWhen updating an existing installation, first uninstall the extensions:
Do{ $i-- Write-Host "Uninstall & Unpublish $($appsSplit[$i])" $installedAppVersion = Get-NAVAppInfo -ServerInstance $serverInstance | Where-Object { $_.Name -eq $appsSplit[$i] } | %{"$($_.Version.Major).$($_.Version.Minor).$($_.Version.Build).$($_.Version.Revision)"} Uninstall-NAVApp -Name $appsSplit[$i] -ServerInstance $serverInstance -Version $installedAppVersion Unpublish-NAVApp -Name $appsSplit[$i] -ServerInstance $serverInstance -Version $installedAppVersion } Until($i -eq 0)Install or update the extensions:
$apps.Split(',') | ForEach-Object { $appName = $_ $AllAppFiles = Get-ChildItem -Path $buildArtifactFolder -Filter "*.app" -Recurse foreach ($AllAppFile in $AllAppFiles) { if ((Get-NAVAppInfo -Path $AllAppFile.FullName | Select-Object -Expand Name) -eq $appName) { $appFileName = $AllAppFile.FullName } } Write-Host "Install $_ ($appFileName)" $newAppVersion = Get-NAVAppInfo -Path $appFileName | %{"$($_.Version.Major).$($_.Version.Minor).$($_.Version.Build).$($_.Version.Revision)"} Publish-NAVApp -Path $appFileName -ServerInstance $serverInstance Sync-NAVApp -Name $appName -ServerInstance $serverInstance -Version $newAppVersion Install-NAVApp -Name $appName -ServerInstance $serverInstance -Version $newAppVersion }
Result:
Once completed, the following entries appear in Extension Management:
Name | Publisher | Version | Is Installed | Published As |
|---|---|---|---|---|
STAEDEAN-Common | STAEDEAN | v.19.0.100729.0 | v | Global |
Industrial Equipment Manufacturing-Project Control Suite | STAEDEAN | v.24.0.101221.0 | v | Global |
Industrial Equipment Manufacturing-Manufacturing and Service Integration | STAEDEAN | v.24.0.101221.0 | v | Global |
Industrial Equipment Manufacturing-Resource Management | STAEDEAN | v.24.0.101221.0 | v | Global |
To access the Industrial Equipment Manufacturing functionality, change to the APM-Project Manager role center.
To extend the Cronus demo data for APM/RM/MFG, import and install the configuration packages from: RapidStart-W1.ENU.TI-JMS-CRONUS.zip.