Never mind.. got it all sorted.

<Directory Id="WIX_DIR_COMMON_DOCUMENTS">

it is.   I gather Directory Ids are properties of sorts and property
expansion in the directory name doesn't happen.

Sorry for the noise.

On Jan 23, 2008 9:35 AM, Scott Palmer <[EMAIL PROTECTED]> wrote:

> Err. of course I meant
>
>  <Directory Id="whatEverIWant" Name="[WIX_DIR_COMMON_DOCUMENTS]">
>
>
>   On Jan 23, 2008 9:31 AM, Scott Palmer <[EMAIL PROTECTED]> wrote:
>
> > Ah, WiX to the rescue.. thanks for that.
> >
> > Now, it seems these are just standard properties.. so I don't use them
> > like Directory Ids, right?
> > The docs don't seem to have an example of using the WixQueryOsDirs
> > properties.
> >
> > I.e. do I use:
> >
> > <Directory Id="whatEverIWant" Name="%WIX_DIR_COMMON_DOCUMENTS%">
> >
> > or
> >
> > <Directory Id="WIX_DIR_COMMON_DOCUMENTS">
> >
> > Thanks,
> >
> > Scott
> >
> >   On Jan 22, 2008 5:07 PM, Mike Dimmick <[EMAIL PROTECTED]>
> > wrote:
> >
> > >  If you link with the WixUtilExtension in WiX v3.0, you can use the
> > > WIX_DIR_COMMON_DOCUMENTS property. See the topic "OSInfo custom actions" 
> > > in
> > > WiX.chm.
> > >
> > >
> > >
> > > --
> > >
> > > Mike Dimmick
> > >
> > >
> > >  ------------------------------
> > >
> > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > ] *On Behalf Of *Scott Palmer
> > > *Sent:* 22 January 2008 21:32
> > > *To:* wix-users@lists.sourceforge.net
> > > *Subject:* [WiX-users] Is there a directory property
> > > forCSIDL_COMMON_DOCUMENTS ?
> > >
> > >
> > >
> > > I'm trying to make some changes to play nice on Vista...  Currently
> > > our product has several folders that it places under Program Files,
> > > e.g.:
> > >
> > > C:\Program Files\Company\Product\Data_A
> > >
> > > C:\Program Files\Company\Product\Data_B
> > >
> > > C:\Program Files\Company\Product\Data_C
> > >
> > >
> > >
> > > The purpose of these folders was to store documents that the user
> > > would load and possibly modify, as well as saving new doucments that they
> > > create.. such that they are shared for all users of "Product"
> > >
> > > In some cases the files in these folders are made available via the
> > > application UI by choosing them from a combo box.  In other cases they are
> > > selected with a Open File dialog.
> > >
> > >
> > >
> > > Vista isn't happy about putting files under the Program Files folder
> > > though. (Which isn't going to serve the purpose MS thinks it will - but
> > > whatever.)
> > >
> > >
> > >
> > > So I was going to relocate all of the file to *CSIDL_COMMON_APPDATA *
> > > \Company\Product\Data*
> > >
> > > It seemed like the right place for the files - and I still think it is
> > > the right place for *some* of the files, but sadly *
> > > CSIDL_COMMON_APPDATA* is a hidden folder and so the open file dialogs
> > > aren't going to show it and the users won't be able to browse to there - 
> > > if
> > > they happen to broswe out of the default folder.
> > >
> > >
> > >
> > > That lead me to think that the right place for some of those data
> > > folder was under the folder for CSIDL_COMMON_DOCUMENTS .. but I can't see 
> > > a
> > > way to install any files there via MSI.
> > >
> > >
> > >
> > > The some of the data will be machine specifc, so I don't want it to
> > > "roam".  Most of the data will be shared amoung all users of the
> > > application, so I want to avoid having things end up in "My Documents".
> > >
> > >
> > >
> > > What are my options?  Have I overlooked the correct location?
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > Scott
> > >
> >
> >
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to