SHORTFILENAMES Property

Windows Installer

SHORTFILENAMES Property

Setting the SHORTFILENAMES property causes short file names to be used for the names of target files, rather than long file names. It does not affect the file names the installer looks for at the source.

Default Value

Long names are used by the installer if the SHORTFILENAMES property is not set and the target volume supports long names. Short names are used by the installer if the target volume does not support long names.

Remarks

When the SHORTFILENAMES property is set, the installer creates folders and installs files using short file names from any short|long pairs listed in the File table or Directory table.

Applications can use the GetShortPathName function to retrieve the short path form of a specified file path.

Requirements

VersionWindows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See Also

Properties

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.