I’ve noticed that if I reference the $appName or $appVendor variables within the Deploy-Application.ps1 script, that if those variables have spaces, they spaces get removed. For example, trying to deploy Adobe’s After Effects. I set $appName to ‘After Effects’, but when I use "Execute-MSI -Path “$appName.msi” in the script file, the script runs “msiexec.exe /i AfterEffects.msi”, which breaks the deployment if the msi is named “After Effects.msi”.
Is this is known issue or limitation within Powershell? Obviously, a easy workaround is to remove spaces from file/folder names, but just wondering if there is a fix for this.