Problem:
When deploying the Print Scout MSI file for Pharos Cloud using Intune the deployment of the Print Scout fails.
Products:
Pharos Cloud Print Scout MSI installer.
Technical Details:
The newer Print Scout MSI will first run the Cleaner.exe to remove the old Print Scout and all of its associated files first during the upgrade process. When that is completed it then begins the installation which performs several checks and finally performs certain actions to install the new version.
Error seen in the MSI logging:
~~RunApp~~ stderr: ERROR: The system cannot find the file specified.
ERROR: The system cannot find the file specified.
~~RenameFile~~ Renaming file from 'C:\Program Files (x86)\PharosSystems\PrintScout\Cleaner.exe' to 'C:\Program Files (x86)\PharosSystems\PrintScout\Cleaner-1.exe'
~~RemoveFile~~ Removing file(s) matching 'C:\Program Files (x86)\PharosSystems\PrintScout\Cleaner-1.exe'
~~RemoveFile~~ Deleting file 'C:\Program Files (x86)\PharosSystems\PrintScout\Cleaner-1.exe'
~~RunApp~~ Running C:\Program Files (x86)\PharosSystems\PrintScout\SpoolerService\WinSpoolerService.exe /uninstall in
~~TryAction~~ Exception: The system cannot find the file specified
~~RemoveFile~~ Removing file(s) matching 'C:\ProgramData\PharosSystems\PrintScout\Deployment\PrintScout*.msi'
1. This command seen above will fail as the file was just removed by the Cleaner.exe during the removal process.
C:\Program Files (x86)\PharosSystems\PrintScout\SpoolerService\WinSpoolerService.exe /uninstall
2. In the Cleaner.exe portion of the MSI log file we see here it gets deleted by the Cleaner.exe.
Deleting file 'C:\Program Files (x86)\PharosSystems\PrintScout\SpoolerService\WinSpoolerService.exe'
3. At the very end of the MSI logging there is a success line below.
MSI (c) (BC:F4) [06:03:59:907]: Windows Installer installed the product. Product Name: Print Scout. Product Version: 8.1.14.100. Product Language: 1033. Manufacturer: PharosSystems. Installation success or error status: 0.