windows installer - Wix. Conditionally set text property of the control -


i have installed app (version 1.0) have change installer upgrade app 2.0 version. want set data specified user on previous installation.

how can conditionally fill text field in wizard if have data in properties.

something like:

<?if <![cdata[isupgrade]]> ?>       <property id="account" value="[account_from_registry]" />       <property id="password" value="******" /> <?endif?>  <control id="account" type="edit" text="[account]" /> <control id="password" type="edit" text="[password]" /> 

you need implement the wix toolset's "remember property" pattern.

however concern how plan on securing password. might best leave of out install , handle on application first run msi doesn't know it.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -