各ユーザーのPersonalFolderとLocalAppDataFolderでファイルとフォルダを作成できるperMachineインストーラを作成しようとしています。私は常に以下のような警告メッセージ "warning LGHT1076:ICE91:..."を得ています。管理者としてインストールすると、警告にもかかわらずファイルとフォルダが作成されますが、インストーラを標準のユーザーとしてファイルなしで実行しようとすると、ユーザープロファイルにフォルダが作成されません。解決策は何でしょうか?perMachineインストーラのICE91 Wix
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="PFInstallDir" Name="Example">
<Component Id="ApplicationFiles" Guid="12345678-1234-1234-1234-222222222222">
<File Id="ApplicationFile1" Source="notepad.exe"/>
</Component>
</Directory>
</Directory>
<Directory Id="CommonFilesFolder">
<Directory Id="CFInstallDir" Name="Example">
<Component Id="CommonApplicationFiles" Guid="12345678-1234-1234-1234-222222222223">
<File Id="ApplicationFile2" Source="notepad.exe"/>
</Component>
</Directory>
</Directory>
<Directory Id="CommonAppDataFolder">
<Directory Id="CAInstallDir" Name="Example">
<Component Id="CommonAppDataApplicationFiles" Guid="12345678-1234-1234-1234-222222222224">
<File Id="ApplicationFile3" Source="notepad.exe"/>
</Component>
</Directory>
</Directory>
<Directory Id="PersonalFolder">
<Directory Id="InstallDirPersonal" Name="ExampleDocs">
<Component Id="ApplicationPersonalFiles" Guid="12345678-1234-1234-1234-222222222225">
<CreateFolder />
<RemoveFolder Id="RemoveMyExampleDir1" On="uninstall" Directory="InstallDirPersonal"/>
<RegistryKey Root="HKCU" Key="Software\MyCompany\Documents">
<RegistryValue Name="MainExe" Value="1" KeyPath="yes" Type="integer" />
</RegistryKey>
<File Id="Notepad.MyExe"
Source="notepad.exe" DiskId="1" Checksum="yes">
</File>
</Component>
</Directory>
</Directory>
<Directory Id="LocalAppDataFolder" Name="AppData">
<Directory Id="InstallDirAppDataPersonal" Name="ExampleLocals">
<Component Id="ApplicationPersonalDataFiles" Guid="12345678-1234-1234-1234-222222222226">
<CreateFolder />
<RemoveFolder Id="RemoveMyExampleDir" On="uninstall" Directory="InstallDirAppDataPersonal"/>
<RegistryKey Root="HKCU" Key="Software\MyCompany\Example">
<RegistryValue Name="MainExe" Value="1" KeyPath="yes" Type="integer" />
</RegistryKey>
<File Id="Notepad.MyExe1"
Source="notepad.exe" DiskId="1" Checksum="yes">
</File>
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="ApplicationFiles"/>
<ComponentRef Id="CommonApplicationFiles"/>
<ComponentRef Id="CommonAppDataApplicationFiles"/>
<ComponentRef Id="ApplicationPersonalDataFiles"/>
<ComponentRef Id="ApplicationPersonalFiles"/>
</Feature>
</Product>
- 開始ビルド:プロジェクト:SetupProjectPerUsrMachine、構成:デバッグのx86 -
が警告LGHT1076:ICE91:ファイル「メモ帳を。 MyExe 'は、Aに基づいて変化しないユーザーディレクトリごとのInstallDirPersonalにインストールされますLLUSERS値。マシンごとのインストールが必要な場合でも、このファイルは各ユーザーのプロファイルにコピーされません。
警告LGHT1076:ICE91:ファイル 'Notepad.MyExe1'は、ALLUSERSの値に基づいて変化しないユーザー単位のディレクトリ 'InstallDirAppDataPersonal'にインストールされます。マシンごとのインストールが必要な場合でも、このファイルは各ユーザーのプロファイルにコピーされません。