Search code examples
wix

Wix v3 od VS project convert to Wix v4 problems


Hi i have old VS Wix v3 project InstallerWix.wixproj.

And I need to upgrade it to wersion 4 And then for wersion 5 Wix

My project looks like that(https://i.sstatic.net/yk62wbr0.png)

I tryed upgrade it using HeatWave(https://i.sstatic.net/9QpF6DIK.png) but i gat this errors (https://i.sstatic.net/2Ak6E0M6.png)

In the project file there are such references, how to replace them ?(https://i.sstatic.net/xD3svBiI.png) (https://i.sstatic.net/IYTY0RrW.png)

i will gratefull for help Paul


Solution

  • Try replacing the $(ProjectDir)Components.xslt in your .wixproj to the actual filename on disk. Based on the images you attached (why not put the text in the question to make it more searchable?) I think the value would be InstallerWixComponents.xslt.

    The root issue is that HeatWave is not evaluating the $(ProjectDir) variable and that is why it can't find the file. HeatWave could be updated to handle that case... but this is the first time I've seen anyone do this.