Opened 16 years ago
Closed 16 years ago
#864 closed defect (fixed)
Temporary Files Location not Reflecting Env Vars
Reported by: | crispinatime | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Installer | Version: | 2.0.2 |
Severity: | minor | Keywords: | |
Cc: | jng | External ID: |
Description
I am not sure if this is MapGuide or Maestro but something is putting a whole load of config-like files (identified by their resourceId) into C:\Windows\Temp when running MG2.0.2 / XP / IIS / Maestro.
Whilst temp files need to go somewhere I have the System TMP and TEMP variables pointing to other drives so it seems that the C:\Windows\Temp may be fixed? This amounts to a lot of file build-up on some of our servers!
Crispin
Change History (6)
comment:1 by , 16 years ago
Component: | General → Installer |
---|
follow-up: 3 comment:2 by , 16 years ago
Cc: | added |
---|
comment:3 by , 16 years ago
Replying to jbirch:
Maybe this is more generic than just changing the installer?
1) Something should be cleaning up the files?
2) Just setting a fixedpath in the installer will set the TEMP to the TEMP location at install time... do the INI files support variables? If we could put %TEMP% in the INIfiles then changes to the Operating System vars would be supported by MapGuide
comment:4 by , 16 years ago
Is there are way in wix to use the system %TEMP% as opposed to the user %TEMP% ?
Because currently if I use %TEMP%, it does not use the system %TEMP% var.
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r3763. Server and Web Extensions now use their own defined temp directories. It should be dumping temp files in there now.
There are a couple places you could look for this setting:
It may be useful for the installer to either detect the env vars or allow the user to set these values.