11
Tôi muốn tạo thư mục con trong menu bắt đầu, trong trường hợp của tôi PMFCompanyFolder
đã tồn tại và chứa liên kết và tôi không muốn xóa khi gỡ cài đặt sản phẩm của mình .Wix - Thư mục nằm trong hồ sơ người dùng nhưng không được liệt kê trong bảng RemoveFile
Vì vậy, tôi không đẩy RemoveFolder
tuệ và tôi nhận được:
ICE64: The directory PMFCompanyFolder is in the user profile but is not listed in the RemoveFile table.
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramMenuFolder">
<Directory Id="PMFCompanyFolder" Name="MyCompany">
<Directory Id="PMFProductFolder" Name="MyProduct"/>
</Directory>
</Directory>
</Directory>
<DirectoryRef Id="PMFProductFolder">
<Component Id="PMFProductFolderComponent" Guid="A13A7784-4C82-4CBE-9018-CEC6F266743B">
<RemoveFolder Id="null" On="uninstall"/>
<RegistryValue Root="HKCU" Key="Software\Microsoft\MyCompany\MyProduct" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
</Component>
</DirectoryRef>
<Feature Id="ProductFeature" Title="" Level="1">
<ComponentRef Id="PMFProductFolderComponent"/>
</Feature>