Hi,
I am using wix-3.0.4318.0 together with SharpDevelop 3 and have successfully
created an installer source file. Now I would like the user to be able to
change the virtual directory name (as well as the location of the referenced
directory, but let's focus on the first problem...). So I defined a property
"TARGETVDIR", added a custom dialog and succeeded in letting the user edit the
property. My problem is that the property's value does not get used for the
virtual directory name. I tried:
<p>
...
<Property Id="TARGETVDIR" Value="MyApp"/>
...
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WWW_ROOT" Name=".">
<Directory Id="MyWebSiteDir" Name="TARGETVDIR" />
</Directory>
</Directory>
...
<p>
which does not work, the virtual directory name is "TARGETVDIR", not its value
"MyApp". I also tried with Name="[TARGETVDIR]", which resulted on the name
being "[TARGETVDIR]".<p>
Do I need to influence the processing order so that the property gets evaluated
earlier or how else can I solve this?
Thanks!
José
--
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users