Is there a way to change TempPath?

The portable installation uses this path as Temp path and performs cleanup on close — it's what the system returns via GetTempPath().