Even with all this I'm not really sure what I need to do to make this
work.

I have multiple wix files that need to know PATH/temp.

But the user only enters PATH.

Not sure how I'm going to make a Dir element out of PATH.

-Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Saturday, October 20, 2007 8:29 AM
To: WiX Users
Subject: Re: [WiX-users] Problems with copy file


In article <[EMAIL PROTECTED]>,
    "Jeremy Farrell" <[EMAIL PROTECTED]>  writes:

> > In article 
> > <[EMAIL PROTECTED]>,
> >     "Jeremy Farrell" <[EMAIL PROTECTED]>  writes:
> > 
> > > Then, assuming the documentation's correct, it needs to be 
> > > set to a property which contains the required path as the
> > > doc says. In
> > > 
> > >     DestinationProperty="PATH"
> > > 
> > > which works, you've set it to the name of the property 
> > > called PATH which contains a pathname. You need to create
> > > a property which contains a string giving the required
> > > path, and give the name of that property to 
> > > DestinationProperty.
> > 
> > Its not a property he needs to create, its a row in the Directory
> > table (primary keys in the directory table are also mirrored as
> > properties containing the resolved path, but just creating a
property
> > is not sufficient).
> 
> That means the WiX help file is as wrong as it could be about
> this then, despite being clear and explicit - and how come
> 
>     DestinationProperty="PATH"
> 
> works? Are you sure you aren't thinking of DestinationDirectory
> rather than DestinationProperty?

Windows Installer uses a property to identify the destination.  Every
entry in the Directory table gets a property to go with it.  So by
defining an entry in the Directory table you also get a property.  You
could just use a property separate from the Directory table as well.
But either way you can't specy DestinationProperty or
DestinationDirectory as formatted text that will resolve to the
desired path.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to