-
Edit: I am upgrading from WiX v3 to WiX v5 and I can't figure what I am doing wrong / missing. I tried to make the problem reproducible as simple as possible: FilesPackage.wxs<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package
ProductCode="{C3ED44EA-76A6-4EEB-A3B6-674100C32B59}"
Version="$(var.Version)"
Name="Test"
Manufacturer="Tester"
UpgradeCode="{C3ED44EA-76A6-4EEB-A3B6-674100C32B59}"
Language="1033" Codepage="1252"
>
<Feature Id="Test" AllowAbsent="no" InstallDefault="local">
<Component Id="Test" Guid="{87F3F499-DC20-4079-ADFB-BD0C718D9DDB}" Directory="INSTALLFOLDER" NeverOverwrite="yes" KeyPath="yes">
<CreateFolder />
<CreateFolder Directory="_003A8A70_121B_4771_B213_4829EFA3DEDB_ffmpeg" />
<File Id="_FB021288_3A4C_4AAB_8CC8_725321F2A58E_keep" Name=".keep" Source="$(sys.SOURCEFILEDIR).keep" />
</Component>
</Feature>
</Package>
<Fragment>
<StandardDirectory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="HLAE FFMPEG">
<Directory Id="_003A8A70_121B_4771_B213_4829EFA3DEDB_ffmpeg" Name="ffmpeg" />
</Directory>
</StandardDirectory>
</Fragment>
</Wix> .keep
Commands
Logslog-1.1.0.txt
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If I remove the _003A8A70_121B_4771_B213_4829EFA3DEDB_ffmpeg directory everything starts working. Is it not possible to create sub-folders for a component if I want minor upgrades to work, if I remember correctly this used to work in v3? |
Beta Was this translation helpful? Give feedback.
Mayhaps, MSIENFORCEUPGRADECOMPONENTRULES (see https://robmensching.com/blog/posts/2007/1/4/doing-a-small-update-or-minor-upgrade-in-msi-use/)?