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

2007-05-02 Thread Chris.Rowland
sourceforge.net Subject: Re: [WiX-users] How to get 8.3 path for INSTALLDIR 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 u

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 fol

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 process

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

2007-04-25 Thread Chris.Rowland
when the Environment element 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

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

2007-04-24 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > As far as I understand, I cannot install a component after > InstallFinalize, and I had to run my CA after InstallFinalize so that > the directory has been created. You don't have to run a CA after InstallFinalize -- in fact, you shouldn't, because it can't be rolled

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

2007-04-24 Thread Chris.Rowland
ng in the Windows API doc. 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++,

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

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

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