1

Resolved

Tools.Windows.Shell.GetEnvironmentVariables fails on x64

description

Vestris.VMWareLib.Tools.Windows.Shell.GetEnvironmentVariables fails on 64-bit guest operating systems.
 
integration-tests [ exec ] 3: ERROR: A file was not found
integration-tests [ exec ] 3: Exception: Vestris.VMWareLib.VMWareException
integration-tests [ exec ] 3: at Vestris.VMWareLib.VMWareInterop.Check(UInt64 errCode)
integration-tests [ exec ] at Vestris.VMWareLib.VMWareJob.Wait(Int32 timeoutInSeconds)
integration-tests [ exec ] at Vestris.VMWareLib.VMWareVirtualMachine.DeleteFileFromGuest(String guestPathName, Int32 timeoutInSeconds)
integration-tests [ exec ] at Vestris.VMWareLib.VMWareVirtualMachine.DeleteFileFromGuest(String guestPathName)
integration-tests [ exec ] at Vestris.VMWareLib.Tools.Windows.Shell.RunCommandInGuest(String guestCommandLine)
integration-tests [ exec ] at Vestris.VMWareLib.Tools.Windows.Shell.GetEnvironmentVariables()
integration-tests [ exec ] at RemoteInstall.VMWareMappedVirtualMachine.GetGuestEnvironmentVariable(String name, String& result)
integration-tests [ exec ] at RemoteInstall.VMWareMappedVirtualMachine.Rewrite(Match m)
integration-tests [ exec ] at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
integration-tests [ exec ] at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat)
integration-tests [ exec ] at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
integration-tests [ exec ] at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options)
integration-tests [ exec ] at RemoteInstall.VMWareMappedVirtualMachine.Rewrite(String value)
integration-tests [ exec ] at RemoteInstall.CopyFilesDriver.CopyFile(CopyFileConfig copyFileConfig)
integration-tests [ exec ] at RemoteInstall.CopyFilesDriver.ExecuteSequence(SequenceWhen when)
integration-tests [ exec ] at RemoteInstall.SequenceDrivers.ExecuteSequence(SequenceWhen when)
integration-tests [ exec ] at RemoteInstall.Instance.InstallUninstall(InstanceOptions options)
integration-tests [ exec ] at RemoteInstall.DriverTasks.DriverTaskInstance.InstallUninstall(InstallerConfig installerConfig, DriverTaskInstanceOptions options)

comments

dblock wrote Jan 21, 2010 at 5:11 PM

This happens on some operating systems that have "tmp" pointing to a local roaming user profile.

dblock wrote Jan 21, 2010 at 5:23 PM

Command: Commit
Modified: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareComTools\WindowsShell.cs
Modified: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareLibUnitTests\App.config
Modified: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareTools\WindowsShell.cs
Sending content: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareLibUnitTests\App.config
Sending content: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareComTools\WindowsShell.cs
Sending content: D:\source\codeplex\vmwaretasks\trunk\Source\VMWareTools\WindowsShell.cs
Completed: At revision: 38955