How to only use given foldernames during updates by TWebUpdate?

Hi,

I'm currently debugging some issues with the TWebUpdate component, and I suspect they may be related to certain IT policies in our environment.

All of my in-house users have the necessary permissions to install software under:

C:\[My DepartmentName]\[My ProductName]

To ensure compatibility, I want TWebUpdate to restrict all update-related activity—including temporary files—to folders strictly within that path. For example:

C:\[My DepartmentName]\[My ProductName]\Temp

I’ve found two possibly relevant properties: TempDirectory and UseWinTempDir, but the documentation isn't very clear on how to configure them properly.

Question:
How can I configure TWebUpdate to ensure it only uses folders within

C:\[My DepartmentName]\[My ProductName] (including subfolders like Temp)

throughout the entire update process?

Reagrds,
Leif Eirik

Try to set UseWinTempDir to false and set TempDirectory to C:[My DepartmentName][My ProductName] \Temp