I am trying to set the target path based on previous input from the
user. In my case, I want to ask the user for a website name (eg.
MyWebsite) and set the default target path to C:\Program
Files\MyWebsite.

 

I built the dialog that asks for the website name, then I tried this,
but whatever I put in the value I get a DEBUG: Error 2872 error message:
The argument of the CheckPath control event on dialog WebsiteNameDlg is
invalid.

 

    <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">

     <Publish Event="SetTargetPath"
Value="[NEW_WEBSITENAME]">1</Publish>

    </Control>

 

Can this be done?

 

Thx

dB.

 

-dB.

dblock.org <http://www.dblock.org/>  / foodcandy.com
<http://www.foodcandy.com/> 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to