So I keep getting multiple errors thrown in trying to use wixV4 as a stand-alone command line tool.
I’m coming at this having written a .exe in something OTHER than Visual Studio and for the life of me I can’t see why folders don’t show up. Can v4 even use a single .wxs to create a project?
Dead simple example, I want to make an .msi out of the following:
C:\program files\TestApp\TestSubDir\testfile.exe
Can a single .wxs even do this?
<Wix xmlns='http://wixtoolset.org/schemas/v4/wxs'>
<Package Name="TestApp" Manufacturer="TestManufacturer" UpgradeCode="A2145143-CC15-4F74-B282-1E7346A6550A"
Version="1.0.0" >
<MajorUpgrade DowngradeErrorMessage="A newer version is installed" AllowSameVersionUpgrades="yes"/>
<StandardDirectory Id="ProgramFilesFolder">
<Directory Id="InstallFolder" Name="TestApp"/>
</StandardDirectory>
<Directory Id="ContentFolder" FileSource="C:\source\MSIbuilds\Content" Name="Content" />
<Directory Id="AnotherFolder" Name="AnotherTestFolder" />
<Feature Id="Main">
<Component Directory="InstallFolder">
<File Source="TestApp32.txt" />
</Component>
<Component Directory="AnotherFolder" Guid="3C4A9718-A55A-4539-B16C-4DB82D8C3AC0" >
<File Source="Testfile.txt" />
</Component>
</Feature>
</Package>
</Wix>