properties - wix - fill edit-control with value from registry -


installer writting sql server's name registry during installing service. , created dialog window edit control user type servername . want fill control value registry in changemode. , if registry key empty fill default name. how possible resolve it? tried put registrysearch node control node. seems me it's not working.. appreciated

p.s. looked information here: link1. , tried code like:

<property id="servconnstr" value=".\sqlexpress">                     </property> <property id="connsearch"> <registrysearch id="servconstr" root="hklm"     key="software\$(var.manufacturer)\service" name="sql server" type="raw"></registrysearch> </property> <setproperty id="servconnstr" value="connsearch"      after="appsearch"><![cdata[connsearch , (!feature1=3 or !feature2=3 or !feature3=3)]]></setproperty> 

but i'm still getting .\sqlexpress in edit-control during modifying.

what i'm doing wrong?

put registrysearch property, , tie property control.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -