Hi,  
   
   
Actually I was able to add a custom dialog to the UI which looks like a form.  
  
In the dialog I got two control elements one for Label and other for field 
value.  
  
The controls elements are  
  
   
  

<Control Id="LblInterval" Type="Text" X="40" Y="111" Width="51"  

Height="17" TabSkip="yes">  

<Text>Interval:</Text>  

</Control>  

   

<Control Id="EditInterval" Type="Edit" X="95" Y="109" Width="150"  

Height="15" TabSkip="no" Property="_edtInterval">  

<!--<Text>sec</Text>-->  

</Control>  

   

I am using XMLFile element and it is   

<util:XmlFile  

Id="EditXML"  

Action="setValue"  

ElementPath="/PureCMOnTime/Interval"  

File="[INSTALLLOCATION2]PureCMOnTimeSync.xml"  

Name="ServiceInterval"  

Value="[_edtInterval]"/>  

   

I got a problem, during the installation I give value to the Interval field in 
the custom dialog and after installation when I check the xml file it shows 
that   

ServiceInterval=""  

It seems that the node is found in XML but I can't hold the value that was 
given through the custom dialog during the installation.  

After research on internet I found that I need to get value from custom dialog 
field through custom action and then set that value to a property through 
another custom action. Just for your information I haven't set up 
Property="_edtInterval". I am not sure wether this is the correct way for it.  

I tried on it but I haven't succeeded so far I get the same result.  

I am quite new to wix can someone please reply me with custom actions for this 
scenario or any other alternative to custom actions. Or any other way of doing 
it. All I need is the values given in the custom dialog should be replace in 
the XML file.  

   

thanks



--------------------------------------------------------------------------------------------------------------------
This e-mail is intended only for the above addressee. It may contain privileged
information. If you are not the addressee you must not copy, distribute, 
disclose
or use any of the information in it. If you have received it in error please 
delete
it and immediately notify the sender.

PureCM.com Limited. Registered in England and Wales.
Company Number : 0505 3024

Registered Office : Charter House, Charter Way, Hurdsfield,  Macclesfield, 
Cheshire. SK10 2NG
--------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to