Page 1 of 2

Temp folder location

PostPosted: 16.01.2013, 16:15
by Pilate
Hello!
Here is fragment from installation log:
Code: Select all
6.05.2012 18:58:04,23 - Info: Starting WSUS Offline Update (v. 7.3.1) on HOMECOMP (user: Matias)
06.05.2012 18:58:04,23 - Info: Option /instie8 detected
06.05.2012 18:58:04,29 - Info: Option /updatercerts detected
06.05.2012 18:58:04,35 - Info: Option /updatecpp detected
06.05.2012 18:58:04,42 - Info: Option /updatedx detected
06.05.2012 18:58:04,48 - Info: Option /updatetsc detected
06.05.2012 18:58:04,54 - Info: Option /instdotnet4 detected
06.05.2012 18:58:04,60 - Info: Option /instofc detected
06.05.2012 18:58:04,67 - Info: Option /instofv detected
06.05.2012 18:58:04,71 - Info: Option /verify detected
06.05.2012 18:58:04,78 - Info: Option /autoreboot detected
06.05.2012 18:58:04,84 - Info: Option /showlog detected
06.05.2012 18:58:24,71 - Info: Found OS caption 'Microsoft Windows XP Professional'
06.05.2012 18:58:24,71 - Info: Found Microsoft Windows version 5.1.2600 (wxp x86 rus sp3)
06.05.2012 18:58:24,71 - Info: Found Windows Update Agent version 5.4.3790.5512
06.05.2012 18:58:24,73 - Info: Found Windows Installer version 3.1.4001.5512
06.05.2012 18:58:24,73 - Info: Found Windows Script Host version 5.7.0.16599
06.05.2012 18:58:24,73 - Info: Found Internet Explorer version 6.0.2900.5512
06.05.2012 18:58:24,73 - Info: Found Root Certificates' version 0.0.0.0
06.05.2012 18:58:24,73 - Info: Found Microsoft Data Access Components version 2.81.1132.0
06.05.2012 18:58:24,73 - Info: Found Microsoft DirectX main version 9.0c (4.09.0000.0904)
06.05.2012 18:58:24,75 - Info: Found Microsoft DirectX core version 9.0c (4.09.00.0904)
06.05.2012 18:58:24,75 - Info: Found Windows Media Player version 9.0.0.4503
06.05.2012 18:58:24,75 - Info: Found Terminal Services Client version 6.0.6001.18000
06.05.2012 18:58:24,75 - Info: Found Microsoft .NET Framework 3.5 version 3.5.30729.01
06.05.2012 18:58:24,75 - Info: Found Microsoft .NET Framework 4 version 0.0.0
06.05.2012 18:58:24,75 - Info: Found Microsoft Security Essentials definitions version 0.0.0.0
06.05.2012 18:58:24,75 - Info: Found Windows Defender definitions version 0.0.0.0
06.05.2012 18:58:24,76 - Info: Found Windows PowerShell version 0.0
06.05.2012 18:58:24,76 - Info: Found Microsoft Office 2003 Word version 11.0.8169.0 (o2k3 rus sp3)
06.05.2012 18:58:24,78 - Info: Medium build date: 25.04.2012
06.05.2012 18:58:24,79 - Info: Medium supports Microsoft Windows (wxp x86 rus)
06.05.2012 18:58:24,81 - Info: Medium supports Microsoft Office (o2k3 rus)
06.05.2012 18:58:25,06 - Error: Directory "C:/Temp" not found
06.05.2012 18:58:25,09 - Error: Installation failed
06.05.2012 18:58:25,14 - Info: Ending WSUS Offline Update

Why the script couldn't find this folder? When I changed the corresponding variable to %windir%/Temp and ran the UpdateInstaller again, the installation was completed successfully.

Re: Temp folder location

PostPosted: 16.01.2013, 17:43
by aker
You need to set %temp% to "C:\Temp" instead of "C:/Temp"

Are the users allowed to write to this directory?

Re: Temp folder location

PostPosted: 17.01.2013, 14:25
by Pilate
I set this variable to %systemdrive%/Temp immediately after installation of Windows. But the script couldn't find the folder. Then I change it to %windir%/Temp and installation of updates was finished succesfully.

Re: Temp folder location

PostPosted: 17.01.2013, 14:42
by Markus
Pilate wrote:I set this variable to %systemdrive%/Temp immediately after installation of Windows. But the script couldn't find the folder. Then I change it to %windir%/Temp and installation of updates was finished succesfully.

First: Did you notice the difference between \ and / ?
Second Did you create the directory c:\temp ? It won't be created automatically and when you reference it you have to create the directory before first use.

Re: Temp folder location

PostPosted: 17.01.2013, 15:54
by Pilate
Markus wrote:Did you create the directory c:\temp ?

Yes. Before installing the drivers I have made it, then changed the variable. All drivers have been successfully installed. Then I ran the UpdateInstaller and got the aformentioned error.

Re: Temp folder location

PostPosted: 17.01.2013, 23:19
by boco
Use the backslash in Windows!

C:\TEMP is correct while C:/TEMP is not.

Re: Temp folder location

PostPosted: 18.01.2013, 10:23
by Pilate
boco wrote:C:\TEMP is correct while C:/TEMP is not.

As I already explained, I set this variable properly.
I used this path
Code: Select all
%systemdrive%/Temp

instead of
Code: Select all
C:\Temp

When I change the variable, I used this path
Code: Select all
%windir%/Temp

instead of
Code: Select all
C:\Windows/Temp

Re: Temp folder location

PostPosted: 18.01.2013, 11:25
by Markus
Once again: You use the slash (/) but Windows needs the Backslash (\) within directory names.
please set your temp to
%systemdrive%\Temp

Re: Temp folder location

PostPosted: 19.01.2013, 09:42
by Pilate
Please, see this screenshot. I absolutely sure that I set the variable properly. these updates There is no difference between / and \. You can check this yourself.

Re: Temp folder location

PostPosted: 19.01.2013, 09:57
by aker
wsusou doesn't recognize the slash (/) as a path seperator. You need to use the backslash (\). The wsusou will work correct.
Also please don't use the Windows Temp folder because that might cause permission problems.