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 jbirch, 16 years ago

Component: GeneralInstaller

There are a couple places you could look for this setting:

  • The webconfig.ini TempPath (most likely candidate)
  • The php.ini session save path
  • The serverconfig.ini TempPath

It may be useful for the installer to either detect the env vars or allow the user to set these values.

comment:2 by jbirch, 16 years ago

Cc: jng added

in reply to:  2 comment:3 by crispinatime, 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 jng, 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:5 by jbirch, 16 years ago

See also #929

comment:6 by jng, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r3763. Server and Web Extensions now use their own defined temp directories. It should be dumping temp files in there now.

Note: See TracTickets for help on using tickets.