Florian_Eigsi wrote:
Here mine.
Difference it's ForceUpgrade="TRUE"
<Configuration ID="67860a51-8a1c-4530-a878-51e2b2515413">
<Info Description="Office Project 2019" />
<Add OfficeClientEdition="64" Channel="PerpetualVL2019" SourcePath="\\deploy\DefaultPackageShare$\Base\Ms_Office\Office_2019" AllowCdnFallback="TRUE">
<Product ID="ProjectPro2019Volume" PIDKEY="B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B">
<Language ID="fr-fr" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="OneDrive" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<Property Name="SCLCacheOverride" Value="0" />
<Property Name="AUTOACTIVATE" Value="1" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Updates Enabled="TRUE" UpdatePath="\\deploy\DefaultPackageShare$\Base\Ms_Office\Office_2019" />
<AppSettings>
<Setup Name="Company" Value="EIGSI" />
<User Key="software\microsoft\office\16.0\excel\options" Name="defaultformat" Value="51" Type="REG_DWORD" App="excel16" Id="L_SaveExcelfilesas" />
<User Key="software\microsoft\office\16.0\powerpoint\options" Name="defaultformat" Value="27" Type="REG_DWORD" App="ppt16" Id="L_SavePowerPointfilesas" />
<User Key="software\microsoft\office\16.0\word\options" Name="defaultformat" Value="" Type="REG_SZ" App="word16" Id="L_SaveWordfilesas" />
</AppSettings>
<Display Level="None" AcceptEULA="TRUE" />
<Logging Level="Standard" Path="\\deploy\DefaultPackageShare$\Base\Ms_Office\Office_2019\logs" />
</Configuration>
Play your script with <Display Level="FULL" AcceptEULA="TRUE" /> to see what happen
A small note, if I manually run the installation from the command line on behalf of the lansweeper account with the Display Level = "None" and Property Name = "FORCEAPPSHUTDOWN" parameters, everything works fine, but an elevated request appears
I run Display Level="FULL" AcceptEULA="TRUE" lansweeper task as you say, the result is the same, the graphical shell of the installer does not appear, the installation ends with the same error 17002 and something else interesting from the Office installation logs
07/12/2021 09:25:14.010 OFFICECL (0x1bec) 0x22ac Click-To-Run cip3w Medium ProcessKiller::InvokeProcessKiller: ForceAppShutdown enforced.
07/12/2021 09:25:14.385 OFFICECL (0x1bec) 0x22ac Click-To-Run bf2sc Medium ProcessKiller::FilterProcessList: WINWORD.EXE : Application: WINWORD.EXE [PID:8956, Name: Type:1000, Status:1, Session:1, Restartable:False]
07/12/2021 09:25:14.385 OFFICECL (0x1bec) 0x22ac Click-To-Run bf2sc Medium ProcessKiller::FilterProcessList: OUTLOOK.EXE : Application: OUTLOOK.EXE [PID:1456, Name: Type:1000, Status:1, Session:1, Restartable:False]
07/12/2021 09:25:14.385 OFFICECL (0x1bec) 0x22ac Click-To-Run aobiw Medium ProcessKiller::ShutdownProcesses: No Processes to Shutdown.
07/12/2021 09:25:14.589 OFFICECL (0x1bec) 0x11d8 Click-To-Run apfr5 Medium ExecutionContext::TryWaitOnExecutingScenarioCompletionOrCustomEvent - Failure event set.
07/12/2021 09:25:14.589 OFFICECL (0x1bec) 0x11d8 Click-To-Run ap11d Medium StandaloneStartupBehavior::Start - Exit with error code 17002
07/12/2021 09:25:14.589 OFFICECL (0x1bec) 0x11d8 Click-To-Run ap3jf Medium ProcessPool::Shutdown - Shutting down process pool.
07/12/2021 09:25:14.589 OFFICECL (0x1bec) 0x11d8 Click-To-Run aqtpj Medium Main: returned: 17002