Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-25 Thread Chris.Rowland
was processed. Is there even a way to acomplish this? -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 12:24 AM To: Rowland, Chris Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to get 8.3 path

Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-25 Thread Bob Arnson
[EMAIL PROTECTED] wrote: I need my Environment element to use the 8.3 path for INSTALLDIR, and my CA was trying to set Property with this value. I'm not sure it would even be possible to order the sequence in a way that the property would ever exist when the Environment element was processed.

Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-25 Thread Chris.Rowland
So try this: An immediate CA after CostFinalize uses [!fileId] to get the short path, chops off the filename, and sets another property to just the directory, which you then use in an Environment element. Worth a shot. I think I've found an acceptable solution by creating the INSTALL dir folder

Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-24 Thread Chris.Rowland
. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Tuesday, April 03, 2007 12:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to get 8.3 path for INSTALLDIR If you do this with code, C++, the GetShortPathName API

[WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-03 Thread Chris.Rowland
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

Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-03 Thread Stefan Pavlik
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

Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-03 Thread Wilson, Phil
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