[wix-users] Issue in migration from wix3.0 to wix4

Bob Arnson bob at firegiant.com
Wed Aug 17 06:02:29 PDT 2022


That's a very old build of WiX v4. For the current preview, see https://robmensching.com/blog/posts/2021/5/17/wix-toolset-v4-preview.0/ and https://www.joyofsetup.com/2021/05/19/wix-v4-random-facts-nos.-1-and-2/.

> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of raj
> pandit via wix-users
> Sent: Wednesday, 17 August, 2022 07:03
> To: wix-users at lists.wixtoolset.org
> Cc: raj pandit <rajeev.pandit84 at gmail.com>
> Subject: [wix-users] Issue in migration from wix3.0 to wix4
> 
> Hi,
> I am getting this error when migration from wix v3 to v4.
> 
> steps i followed:
> 1. Install wix v4 from  https://wixtoolset.org/releases/v4-0-0-5205/
> 2. created WixCopSetting.xml file in wix folder
>    <?xml version="1.0"?>
> <Settings>
>   <IgnoreErrors>
>     <Test Id="WhitespacePrecedingEndElementWrong"/>
>   </IgnoreErrors>
> </Settings>
> 3. executed this command :
>       WixCop.exe -f sourceFile C:\Product.wxs -set1WixCopSetting.xml
> 
> Namespace in product.wxs files has been got updated.
> 
> Problem: When i am trying to build visual studio 2019, it gives following error
> :
> *The Wix element has an incorrect namespace of
> 'http://wixtoolset.org/schemas/v4/wxs
> <http://wixtoolset.org/schemas/v4/wxs>'.  Please make the Wix element
> look like the following: <Wix
> xmlns="http://schemas.microsoft.com/wix/2006/wi
> <http://schemas.microsoft.com/wix/2006/wi>">*
> 
> Please let me know if i am missing something to resolve this issue.
> 
> Thanks,
> Rajeev Pandit
> 
> ________________________________________________________________
> ____
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/


More information about the wix-users mailing list