SMSINST: Get Temporary Filename Script Does Not Return Full Path (212797)



The information in this article applies to:

  • Microsoft Systems Management Server Installer 1.0
  • Microsoft Systems Management Server 1.2
  • Microsoft Systems Management Server 2.0

This article was previously published under Q212797

SYMPTOMS

When you use the Get Temporary Filename script item, the variable that is returned does not contain the full path, it contains only the file name.

WORKAROUND

To work around this issue, obtain the latest version of Microsoft Systems Management Server Installer from the following Microsoft Web site:

STATUS

Microsoft has confirmed this to be a problem in Systems Management Server Installer version 1.0.

MORE INFORMATION

The Get Temporary Filename script item is used to obtain a unique temporary file name used during installation. These file names are often used to provide names for support .dll files that are not needed after the installation is complete.

A script example and its results:
item: Get Temporary Filename
  Variable=TFILE
end
item: Display Message
  Title=tfile
  Text=%tfile%
  Flags=00000100
end
				

The above script may produce a file name, such as "GLF18A.TMP," rather than the expected full path and file name.

Modification Type:MinorLast Reviewed:6/14/2005
Keywords:kbBug KB212797