I marked the following โHiddenโ dialog box on WiX, but still it shows up on deletion when the files are in use:
<Dialog Id="FilesInUse" X="50" Y="50" Width="361" Height="177" Title="[ProductName] Files in Use" Hidden="yes">
<Control Id="RetryButton" Type="PushButton" X="99" Y="150" Width="81" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Try Again" TabSkip="no" Default="yes">
<Publish Event="EndDialog" Value="Retry" />
</Control>
<Control Id="ContinueButton" Type="PushButton" X="186" Y="150" Width="81" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}&Continue" TabSkip="no">
<Publish Event="EndDialog" Value="Ignore" />
</Control>
<Control Id="ExitButton" Type="PushButton" X="273" Y="150" Width="81" Height="18" Text="{\VSI_MS_Sans_Serif13.0_0_0}E&xit Installation" TabSkip="no" Cancel="yes">
<Publish Event="EndDialog" Value="Exit" />
</Control>
<Control Id="ListFilesInUse" Type="ListBox" X="8" Y="64" Width="348" Height="62" Property="FileInUseProcess" Text="{\VSI_MS_Sans_Serif13.0_0_0}MsiFilesInUse" TabSkip="no" Sunken="yes" Sorted="yes" />
<Control Id="InstallBodyText" Type="Text" X="6" Y="9" Width="345" Height="43" Text="{\VSI_MS_Sans_Serif13.0_0_0}The following applications are using files which the installer must update. You can either close the applications and click "Try Again", or click "Continue" so that the installer continues the installation (a reboot may be required to replace these files on a restart)." TabSkip="yes" NoPrefix="yes">
<Condition Action="show"><![CDATA[REMOVE=""]]></Condition>
<Condition Action="hide"><![CDATA[REMOVE<>""]]></Condition>
</Control>
<Control Id="RemoveBodyText" Type="Text" X="6" Y="9" Width="345" Height="36" Text="{\VSI_MS_Sans_Serif13.0_0_0}The following applications are using files which the installer must remove. You can either close the applications and click "Try Again", or click "Continue" so that the installer continues the installation (a reboot may be required to replace these files on a restart)." TabSkip="yes" NoPrefix="yes">
<Condition Action="show"><![CDATA[REMOVE<>""]]></Condition>
<Condition Action="hide"><![CDATA[REMOVE=""]]></Condition>
</Control>
</Dialog>
How can I suppress this dialogue?
Note. This dialog box should be present, and the installer will quit error 2803: dialog view did not find a record for the dialog. I just need to somehow not display it for the user or (if possible) choose a choice for them.
source
share