If you mark your package with the packa...@shortnames='yes' you will set the
"short file names" bit in the so-called Word Count summary information
stream. http://msdn.microsoft.com/library/aa372870.aspx. You can also force
use of the 8.3 names by setting the SHORTFILENAMES property. Otherwise, SFNs
are used as the fallback in the unlikely case that the directory being
installed onto doesn't support LFNs.

You could try placing an action right after CostFinalize that checks for
each key in your directory table and checks the filesystem on the volume
used by each directory to see if it supports LFNs. However, a quick look
didn't turn up which APIs would deliver that info.

NTFS can have LFNs turned off as well. However, I believe that .NET will not
work in that case, so if you are deploying .NET 3.5 (I believe you
mentioned) it is unlikely that you will find yourself in that state.

-----Original Message-----
From: Brant Gurganus [mailto:br...@gurganus.name] 
Sent: Tuesday, October 13, 2009 12:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Are short names even useful anymore?

There are still filesystems that Windows can use that are short name only.

Brant Gurganus
http://gurganus.name/brant



On Tue, Oct 13, 2009 at 2:37 PM, Dave Kolb <d...@dotnetcodeslingers.com>
wrote:
> Thanks Chad. In spite of calling it a shortcut, I know what a SFN is since
> working on PCs from the very first version of DOS 1.0, but am wondering
why
> I might want to have anything meaningful for a short name nowadays. Since
> these names would be for my program files I'd really rather not any
"legacy"
> program showed anything meaningful to the user though I can't even think
of
> what such a program would even be. Is there anything in XP forward in the
OS
> itself that is important in practice that would attempt to show a short
name
> to the user? I can't think of anything so am inclined to not specify any
> short names that would clutter up my .wxs files. Thanks, Dave
>
> -----Original Message-----
> From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
> Sent: Tuesday, October 13, 2009 1:44 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Are shortcut names even useful anymore?
>
> An 8.3 filename (also called a short filename or SFN) is a filename
> convention used by old versions of DOS and versions of Microsoft Windows
> prior to Windows 95 and Windows NT 3.51. It is also used in modern
> Microsoft operating systems as an alternate filename to the long
> filename for compatibility with legacy programs.
>
>
>
----------------------------------------------------------------------------
--
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to