PDA

View Full Version : When Windows temp location is missing



NewsArchive
08-19-2011, 01:12 AM
Hi Friedrich,

I just ran across an interesting situation.

The user reported he received the error that I have attached as a JPG.

He was a clever guy. He realized that his \Windows\Temp folder was not
there.
When he recreated it the software installed fine.

I am wondering if SetupBuilder queried Windows for the temp folder location
and started extracting
to it...however what Windows reported was not actually there so an error
occured?

What do you think?

Mike

NewsArchive
08-19-2011, 01:13 AM
Hi Mike,

> I am wondering if SetupBuilder queried Windows for the temp folder
> location and started extracting to it...however what Windows reported
> was not actually there so an error occured?
>
> What do you think?

There are different temporary Windows folders. The install does not
necessarily use the "\Windows\Temp" folder.

In most cases, the local temporary folder is used (Windows decides which
temporary folder to use). For example (on a typical XP machine):

C:\Documents and Settings\JoeUser\Local Settings\Temp

Friedrich

NewsArchive
08-20-2011, 01:03 AM
Hi Michael,

I wonder if this is because the default temporary folder is 'full'
It wont be Windows\Temp under XP anyway, but perhaps providing that folder
enabled XP to switch from the user specific one (which is full) to the
generic one.

I'd recommend a run of CCleaner or similar.

Graham

NewsArchive
08-23-2011, 03:07 AM
mmm not sure if this is related but I'm seeing a problem with the temp
folder on WinXP and Win7 64x machines which has only recently started
happening (this is in my code, and nothing to do with SB). I extract the
contents of a zip archive into the users temp folder, process the data,
and immediately afterwards (after closing the files) I'm not able to
clean up, remove the temp files from temp folder. It's like something
else has opened it (av?).

This link seems to be another case:
http://social.technet.microsoft.com/Forums/en-US/itproxpsp/thread/f84e6525-9d3b-4fa9-b1c6-51ff0ba9c66d/

John Taylor

NewsArchive
08-24-2011, 12:27 AM
IIRC, there are 4 temp folders in a single user system.

Jim