I'm trying to make a wix installer. for a web application.
the following is my wsx file
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Product Id="Guid" Name="TestInstaller" Language="1033" Version="1.0.0.0" Manufacturer="Companyname" UpgradeCode="Guid1">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<PropertyRef Id="WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED"/>
<Condition Message='This setup requires the .NET Framework 4.7 client profile installed.'>
<![CDATA[Installed OR WIX_IS_NETFRAMEWORK_462_OR_LATER_INSTALLED]]>
</Condition>
<Feature Id="Complete" Title="TestInstaller" Description="TestInstaller" Level="1" ConfigurableDirectory='INSTALLFOLDER'>
<ComponentGroupRef Id="ProductComponents" />
<ComponentGroupRef Id="ProductBinComponents" />
</Feature>
<UIRef Id="WixUI_Mondo" />
<UIRef Id="WixUI_ErrorProgressText" />
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="INSTALLFOLDER" Name="Test Installer" >
<Directory Id="INSTALLBINFOLDER" Name="bin">
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="ProductComponent" Win64="yes" Guid="*">
<File Source="C:\Temp\Publish\Web.config" />
<File Source="C:\Temp\Publish\NLog.config"/>
<File Source="C:\Temp\Publish\Global.asax"/>
</Component>
</ComponentGroup>
<ComponentGroup Id="ProductBinComponents" Directory="INSTALLBINFOLDER">
<Component Id="ProductBinComponent" Win64="yes" Guid="*">
<File Source="C:\Temp\Publish\bin\Antlr3.Runtime.dll"/>
<File Source="C:\Temp\Publish\bin\Antlr3.Runtime.pdb"/>
</Component>
</ComponentGroup>
</Fragment>
</Wix>
However everytime I try to build it I get this message
'.', hexadecimal value 0x00, is an invalid character.
And I really do not know why because all files I can edit with notepad++ seems to have correct endings. so I am at a loss at even finding the place it is complaining about let alone trying to fix it. Anyone that could either point me in the right direction or know a good workaround ?
I know that there have been a similar bug in Wix as I can see there are quite a few out there asking about something similar however the ones I could find didn't apply to my problem or if it does I don't know where I can fix it because they where in a different version of Wix than I am.
I can add if I do the following in my wsx file it builds just fine. However that removes the user interface I would had liked to start working with.
<!--<UIRef Id="WixUI_Mondo" />
<UIRef Id="WixUI_ErrorProgressText" />-->