-
I have upgraded an installation from WiX3 to Wix4.0.1. It contains 3 MsiPackage installer databases. If I install all three in a row, no restart is requested. But with the bundle I get the message "You must restart your computer before you can use the software" in the custom THM dialog. How can I avoid this message? It is wrong, because the software can be used: all files are in place all registration values allow to use the .NET components with exposed COM interfaces. The message "you can use..." makes no sense at all after the uninstall operation. Here is the bundle source code:
Some log files contain the word restart:
ProductManagementX86.msi
Bundle.exe
The log shows me no reason for the "restart necessary" message. How can I identify the reason of this message and suppress it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Did you ever figure this mystery out? |
Beta Was this translation helpful? Give feedback.
-
As the log shows there is no restart required. The reason for the message was a changed behavior in the API interface to THM files. The bundle doesn't come with a custom bootstrapper application. Only a the HyperlinkTheme.xml defines the UI. I assume that the 3.x framework had set the localized SuccessRestartText to an empty string. The 4.x framework requires that the VisibleCondition in the THM must be used. This change was necessary in the UI theme: From The |
Beta Was this translation helpful? Give feedback.
As the log shows there is no restart required. The reason for the message was a changed behavior in the API interface to THM files.
The bundle doesn't come with a custom bootstrapper application. Only a the HyperlinkTheme.xml defines the UI. I assume that the 3.x framework had set the localized SuccessRestartText to an empty string. The 4.x framework requires that the VisibleCondition in the THM must be used.
This change was necessary in the UI theme:
From
<Text Name="SuccessRestartText" X="-11" Y="-51" Width="400" Height="34" FontId="3" HideWhenDisabled="yes" DisablePrefix="yes">#(loc.SuccessRestartText)</Text>
To
<Label Name="SuccessRestartText" X="-11" Y="-51" Width="400" Height="34" F…