From: stansmith Date: Wed, 1 Aug 2007 17:11:43 +0000 (+0000) Subject: [WinOF] delete OpenSM file from %SystemRoot%\temp instead of %TEMP%. X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=25995be53162f8a7ca7b3b8960b05d81a5f3abaa;p=~shefty%2Frdma-win.git [WinOF] delete OpenSM file from %SystemRoot%\temp instead of %TEMP%. git-svn-id: svn://openib.tc.cornell.edu/gen1@747 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/branches/WinOF/InstallShield/CustomActions.vbs b/branches/WinOF/InstallShield/CustomActions.vbs index ff373bc1..18f56c48 100644 --- a/branches/WinOF/InstallShield/CustomActions.vbs +++ b/branches/WinOF/InstallShield/CustomActions.vbs @@ -182,7 +182,8 @@ Function RemoveDriverFiles() Dim fso Dim sTemp Set fso = CreateObject("Scripting.FileSystemObject") - sTemp = fso.GetSpecialFolder(2) + sTemp = fso.GetSpecialFolder(0) & "\temp\" + ' remove files from %SystemRoot%\temp FileDelete(sTemp & "guid2lid") FileDelete(sTemp & "opensm-sa.dump") FileDelete(sTemp & "osm.log")