Hi,...

First of all - I do not know how to create short directory name (you
can try to write custom action).

But for [!FileId] - it is feature of MSI but it is related only to
files. It means that you cannot use it to create the 8.3 format of
directory.

I would use the Custom action which will read the property filled
with [!FileId] and then it will remove the filename from the end (
check the funciton splitpaht() ).

Regards

Stefan

[EMAIL PROTECTED] wrote:
> 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

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-------------------------------------------------------------------------
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