Open marcopornic opened 2 days ago
Thank you for reporting. The problem is caused by the changes in the WiX4 API. Now the cache
field is no longer boolean.
I have fixed the problem and from the next release you will be able to set the field like this: Cache = PackageCacheAction.remove
But until the release is available please use this workaround:
new ExePackage(msi_exe)
{
Name = "ManagedProduct",
InstallArguments = "/i",
UninstallArguments = "/x",
AttributesDefinition = "Cache=remove",
. . .
Hello,
I'm trying to remove Cache for an ExePackage of a bundle:
` new ExePackage(@".\cm\CM.exe")
`
The 'false' value is interpreted as a "no" String for KeepRemoveForceType type (https://wixtoolset.org/docs/schema/wxs/keepremoveforcetype/)
When I try to generate the bundle, have the following error:
error WIX0021: The ExePackage/@Cache attribute's value, 'no', is not on e of the legal options: 'force,keep,remove'.
Thanks for your help !