We have a Wix-based installer that's been working fine until recently. When we install it on the Windows Creator Update, the progress bar messages do not substitute real values for placeholders. Messages that are supposed to be formatted are now just 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 bracketed placeholders being replaced with actual values?
Other facts: The same kit works fine on other versions of Windows. We build for .NET 4.0. Windows Creators Update uses NET Framework 4.7. We're going to do more testing to see if our recent upgrade to .NET 4.0 may be at fault (it isn't a problem on other versions of Windows).
Addendum Another kit predating our conversion to .NET 4.0 also has this failure mode on Creators Update.
I'm going to cross-post this to the wix-users list and will post a summary answer back here if I get one.
I found the solution here on Stack Overflow:
Add <UIRef Id="WixUI_ErrorProgressText" />
inside the product tag of your .wxs file to properly show the messages.
It seems that this sets the installer to use its own messages instead of the default Windows messages that seem to have disappeared in the Creators Update. If someone can find a source that explains this, that would be great!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With