For the past 2 days, I've been trying to deploy WebMatrix on 100+ pcs with Microsoft System Center Configuration Manager 2007 (SCCM).
When deploying a software with SCCM, it uses the System account. Here's what I am doing:
First, I install this: WebPlatformInstaller_amd64_en-US.msi (msiexec /i "%~dp0WebPlatformInstaller_amd64_en-US.msi" /qb)
Second, I call webpicmd.exe: "c:\program files\microsoft\web platform installer\webpicmd.exe" /Install /Products:WebMatrix /AcceptEula
This command works perfectly when executed as an admin (running directly in Windows command line), but it doesn't work when running with SCCM. Here are the errors (in french sorry):
Installation termin‚e (Failure) : 'Microsoft© SQL Server© Compact 4.0 Tools' SQLCEToolsRTW : Echec. Erreur lors de l'ouverture du fichier journal d'installation. V‚rifiez que l'emplacement sp‚cifi‚ pour le journal existe et qu'il est accessible en ‚criture.
It goes like that for the rest of the prerequises.
It looks like to me that the error comes from the fact that the installer cannot write logs to system account AppData folder?
A good way to reproduce the problem without SCCM is by using psexec -si cmd.exe --> this command will let you run things as System Account (run whoami.exe to validate this).
Thanks for your help.