Try the WIX element "SetProperty".

<SetProperty Id="MY_PROPERTY" Value="[[ProgramMenuFolder]]" ... />
I read the spec on the Property Table and it only takes the type of "Text".
So, what I sent before would not work. Sorry about that.

-- 
Brian Rogers
"Intelligence removes complexity." - Me
http://www.codeplex.com/wixml/
On Wed, Jul 16, 2008 at 9:32 AM, Benas <[EMAIL PROTECTED]> wrote:

> I have tried both of your solutions and both doesn't work if i hardcode the
> value into property everything is fine but if i try to use
> [ProgramMenuFolder] or *[[*ProgramMenuFolder*]]* it does not
>
>
> 2008/7/16 Brian Rogers <[EMAIL PROTECTED]>:
>
> > I'm not positive that this will work. However, try this syntax.
> >
> > <Property Id="MY_PROPERTY" Secure="yes"
> > Value="[ProgramMenuFolder]\AAAA\BBBB\"/>
> > <Property Id="MY_PROPERTY" Secure="yes" Value="*[[*ProgramMenuFolder*]]*
> > AAAA\BBBB\"/>
> >
> > http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx<
> http://msdn.microsoft.com/en-us/library/aa368609%28VS.85%29.aspx>
> > --
> > Brian Rogers
> > "Intelligence removes complexity." - Me
> > http://www.codeplex.com/wixml/
> > On Wed, Jul 16, 2008 at 8:58 AM, Benas <[EMAIL PROTECTED]> wrote:
> >
> > > Hello all,
> > >
> > > What i need is to set property value that would contain full path to
> > > ProgramMenuFolder directory.
> > >
> > > My directory is [ProgramMenuFolder]\AAAA\BBBB\
> > > Actualy C:\...\Start Menu\Programs\AAAA\BBBB
> > >
> > >
> > > I have tried
> > > <Property Id="MY_PROPERTY" Secure="yes"
> > > Value="[ProgramMenuFolder]\AAAA\BBBB\"/>
> > > But this doesn't set correct value.
> > >
> > >
> > >
> > > Tx for help,
> > > Benas
>
>
>
>
> --
> Pagarbiai,
> Benediktas Lipnickas
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to