Windows Installer line execution message headers "[1]" are not replaced

We have a Wix-based installer that worked until recently. When we install it in Windows Creator Update, the progress messages do not replace the actual values ​​for the placeholders. Messages to be formatted are now simply shown literally. Examples:

Copying new files File: [1], Directory: [9], Size: [6]
Starting services Service: [1]
Writing system registry values Key: [1], Name: [2], Value: [3]

      

Why aren't the parentheses being replaced with actual values?

Other facts: The same kit works great on other versions of Windows. We are building for .NET 4.0. Windows Creators Update uses NET Framework 4.7. We're going to do more tests to see if our recent upgrade to .NET 4.0 might be to blame (not a problem on other Windows versions).

Adding Another set prior to our conversion to .NET 4.0 also has this opt-out mode for authors.

I'm going to rewrite this to the wix user list and post a final answer if I get one.

+3


source to share


1 answer


I found a solution here on Stack Overflow :

Add <UIRef Id="WixUI_ErrorProgressText" />

inside the product tag of your .wxs file to display messages correctly.



It looks like this sets the installer to use its own messages instead of the standard Windows messages that seem to have disappeared in the authors update. If someone finds a source that explains this, that would be great!

+1


source







All Articles