This can be done with custom action 51:

<CustomAction Id="SetMyProperty" Property="MY_PROPERTY" 
Value="[ProgramMenuFolder]\AAAA\BBBB\" />

<InstallExecuteSequence>
  <Custom Action="SetMyProperty" After"..." />
</InstallExecuteSequence>



Alex Shevchuk



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas
Sent: Wednesday, July 16, 2008 8:59 AM
To: WiX-users
Subject: [WiX-users] How to set property value by directory path

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
-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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