3

レジストリ値の設定を追加しましたが。次の警告が表示されます

warning LGHT1076 : ICE91: The file 'doc_code_file1' will be installed to the per user directory 'code_Simple' that doesn't vary based on ALLUSERS value
. This file won't be copied to each user's profile even if a per machine installation is desired

マイコード

<Component Id='doc_code_copy' Guid='DA95057C-9866-4422-B00B-105BBF862C92' Directory='code_Simple'>
      <RegistryKey Root='HKCU' Key='Software\SimpleToolkit_2012\uninstall\Codesnipet'>
            <RegistryValue Value='Installed code snipet in Document' Type='string' KeyPath='yes'></RegistryValue>
        </RegistryKey>

      <File Id='doc_code_file1' Name='doc_code_file1' DiskId='1'
            Source='Personalfolder\Visual Studio 2012\Code Snippets\Visual C#\My Code Snippets\command.snippet' />
   </Component>
</Directory>

この警告を抑制するにはどうすればよいですか?

4

1 に答える 1

7

警告を抑制したいだけの場合は-sice:ICE91、コマンドラインに追加して、light.exeその特定の ICE が実行されないようにすることができます。または、次のようなプロパティを .wixproj に追加できます。

<PropertyGroup>
  <SuppressIces>ICE91</SuppressIces>
</PropertyGroup>

Visual Studio を使用して .wixproj ファイルを開く場合はProject PropertiesTool Settingsタブの に移動してそのプロパティを設定し、そこに追加できますICE91

于 2013-04-22T12:55:56.600 に答える