Insert copyright symbol / registered in the installer using Wix

I want to know if any specific dialog I want to insert a copyright symbol, how would I do this, I insert the symbol into the text parameters in the xml file, as this leads to an error compiling the .wxs file.

thanks

+7
source share
2 answers

You must make sure that you save the WiX XML in UTF-8 encoding. The easiest way is to open the XML in Notepad, click File , and then click Save As . Select UTF-8 in the Encoding list. And overwrite your current XML file.

Another way is to use character codes: © for copyright and ® for registered characters.


The fact is that ordinary English letters or ASCII are valid UTF-8 characters, since they fit into 7 bits. Characters protected by copyright and registered characters are not allowed, because in UTF-8 they must be encoded as two bytes, not one.

+22
source

Here is the solution:

  • Copy the text of the notepad ++ file by specifying "index.html" in a regular old notepad

  • Close the notepad ++ file.

  • Enter the text where you want the Copyright symbol, holding down the Fn + alt key, typing 0169 on the keyboard

  • Save the regular notepad file as (all files) index.html to the folder that index.html is in when asked to overwrite it. Click

  • Now open the file with notepad ++, and this file will be saved after any other changes do not produce accented A next to the copyright symbol.

I don’t know why the saved version in notepad ++ works after "cleansing" in a regular notepad, but I had no other problems using the method to date.

0
source

All Articles