If you do this with code, C++, the GetShortPathName API works on
directories. You'd do this after the directory has in fact been created.


Phil Wilson 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, April 03, 2007 6:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to get 8.3 path for INSTALLDIR



I'm trying to set an environment variable to be the value of INSTALLDIR,
but I need it to be the 8.3 style path.


I saw an old mailing list thread about this topic that Rob responded to
with:

 
        >You could always just use "[!FileId]" to get the short name of
a file.

 

This thread was in the context of WiX 3.0, however.  When I try to do
this with WiX 2.0, my environment variable ends up unset.

 

Is this a WiX 3 specific feature?

 

--Chris



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to