I'm building a WiX installer that bundles an MSI and EXE together. The MSI is a com assembly that I'm registering to work with a printer, the EXE is the silent installer for the printer drivers.
The chain is installing properly except during uninstall. It will not uninstall the EXE even though I have provided the UninstallCommnand and set the InstallCriteira.
I've done a lot of digging and have only found solutions that suggest doing things that I'm already doing like setting perminant to no, including InstallCriteira, etc.
I've also verified by looking at the logs that the detection section of burn is finding the printer drivers OK.
I'm really struggling here, any help would be greatly appreciated.
<Bundle Name="Name" Version="1.0.0.0" Manufacturer="Me" UpgradeCode="D5CB951E-1068-43B1-9313-E166527C021B" DisableRepair="yes">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
<bal:WixStandardBootstrapperApplication
ShowVersion="yes"
SuppressOptionsUI="yes"
SuppressRepair="yes"
LicenseUrl="http://www.stackoverflow.com"
/>
</BootstrapperApplicationRef>
<Chain>
<MsiPackage SourceFile="..\Assembly\bin\Release\Assembly Installer.msi" Id="AssemblyInstaller" Cache="no" Visible="no" Vital="yes" Permanent="no" />
<ExePackage Id="EpsonPrinterDriver" Cache="no" Compressed="yes" PerMachine="yes" Vital="yes" Permanent="no" SourceFile="..\Assembly\drivers\Apd4Silent.exe" DetectCondition="FindEpsonPrinterDriver" InstallCondition="NOT FindEpsonPrinterDriver" InstallCommand="/s /a" UninstallCommand="/s /uninstall" />
</Chain>
</Bundle>
<Fragment>
<util:RegistrySearch Id="FindEpsonPrinterDriver"
Variable="FindEpsonPrinterDriver"
Root="HKLM"
Key="SOFTWARE\Classes\Installer\Products\9DA28BB46FC041E4DB571CBA56C79241\ProductName" Result="exists" />
</Fragment>