The Value attribute of the Property element is not a "formatted" value (it
is string literal). You instead need to schedule a custom action to create
the value at an appropriate point in your sequence.

See the SetProperty element from the Wix schema in the help file/online
help. That will do what you need.

-----Original Message-----
From: Sunkesula, Srivardhan [mailto:srivardhan.sunkes...@netapp.com] 
Sent: Wednesday, February 10, 2010 11:32 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] temp folder in wix

Hi,

 I have a dialog in my installer where I have the browse option.
The way I am trying to access the desktop folder is as shown below:

 <Property Id="BACKUP_DIR" Value="[DesktopFolder]" />

But this is giving the value as [DesktopFolder] instead of the actual
path.
Please let me know whats wrong in the above syntax.


Thanks & Regards,
Srivardhan.

----------------------------------------------------------------------------
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to