Ok, so it seems like that is how the installer functions when running as the SYSTEM account unfortunately.
I also checked if you can overwrite the temp folder path for MSIs, and it looks like that isn't allowed either...
https://learn.microsoft.com/en-us/windows/win32/msi/tempfolder
I also checked if you can overwrite the temp folder path for MSIs, and it looks like that isn't allowed either...
QuoteAuthors should not need to set the TempFolder property. Windows Installer uses the GetTempPath function to retrieve the path of the directory designated for temporary files and to set this property.
https://learn.microsoft.com/en-us/windows/win32/msi/tempfolder