I am new to installers. I am building something which has a prerequisite to my example. This code is throwing the two errors above.
- This is NICE DCV as a prerequisite and Notepad (named as example).
- I am using WIX installers and installing through command line. using Light and candle.
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Bundle Name="Bootstrapper" Version="1.0.0.0" Manufacturer="rapy" UpgradeCode="12345678-1234-1234-1234-111111111111">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />
<Chain>
<PackageGroupRef Id="NICEDCV" />
</Chain>
</Bundle>
<Fragment>
<PackageGroup Id="NICEDCV">
<MsiPackage
Visible="yes"
Cache="no"
Compressed="no"
ForcePerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile=".\prerequisites\nice-dcv-client-Release-2021.0-7643.msi" />
<MsiPackage
Visible="yes"
Cache="no"
Compressed="no"
ForcePerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile=".\prerequisites\nice-dcv-client-Release-2021.0-7643.msi" />
</PackageGroup>
<Product Id="*" UpgradeCode="12345678-1234-1234-1234-111111111111" Name="Example Product Name" Version="0.0.1" Manufacturer="Example Company Name" Language="1033">
<Package InstallerVersion="200" Compressed="yes" Comments="Windows Installer Package" />
<!--Media ='1' Cabinet='product.cab' EmbedCab='yes'/-->
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="Example">
<Component Id="ApplicationFiles" Guid="12345678-1234-1234-1234-222222222222">
<File Id="ApplicationFile1" Source="example.exe" />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="ApplicationFiles" />
</Feature>
</Product>
<!-- /PackageGroup -->
</Fragment>
</Wix>