[wix-users] Enabling text control during install and repair

Matsumura Risa (AA-AS/EOS32) Risa.Matsumura at uk.bosch.com
Thu Jul 14 07:42:24 PDT 2016


Hi all,

I've created a custom dialog which contains:
<Control Id="OptionalText" Type="Text" X="135" Y="110" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="[WIXUI_EXITDIALOGOPTIONALTEXT]">
     <Condition Action="show">NOT Installed</Condition>
</Control>

With the code above, the text is shown only during install but I want to display the text during repair as well. I've been trying several conditions (I looked at http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi/731700#731700), but whenever repair option started working the text also appears at the end of uninstall too and I don't want the text to appear during uninstall. Does anyone know a condition that works only for repair (or a condition that works for install and repair only)?

Thanks,
Risa


More information about the wix-users mailing list