次の方法で共有


ICE57

ICE57 は、個々のコンポーネントがマシンごとのデータとユーザーごとのデータを混在させないことを検証します。 この ICE カスタム アクションは、レジストリ エントリ、ファイル、ディレクトリ キー パス、およびアドバタイズされていないショートカットをチェックします。

ユーザーごとのデータとマシンごとのデータを同じコンポーネントに混在すると、マルチユーザー環境の一部のユーザーに対してコンポーネントが部分的にインストールされる可能性があります。

ALLUSERS プロパティを参照してください。

結果

ICE57 は、マシンごとおよびユーザーごとのレジストリ エントリ、ファイル、ディレクトリ キー パス、またはアドバタイズされていないショートカットの両方を含むコンポーネントが見つかると、エラーを投稿します。

ICE57 は、次の例のエラーを報告します。

Component 'Component1' has both per-user and per-machine 
    data with a per-machine KeyPath. 
 
WARNING: Component 'Component2' has both per-user and 
    per-machine data with an HKCU Registry KeyPath. 
 
Component 'Component3' has a registry entry that 
    can be either per-user or per-machine and a per-machine KeyPath. 
 
Component 'Component4' has both per-user data and 
    a keypath that can be either per-user or per-machine.

コンポーネント テーブルの (部分)

コンポーネント ディレクトリ 属性 KeyPath
Component1 DirectoryA 0 FileA
Component2 DirectoryA 4 RegKeyB
Component3 DirectoryA 0 FileC
Component4 DirectoryA 4 RegKeyD

 

レジストリ テーブルの (一部)

記帳 コンポーネント_
RegKeyA 1 Component1
RegKeyB 1 Component2
RegKeyC -1 Component3
RegKeyD -1 Component4

 

ファイル テーブルの (部分)

ファイル コンポーネント_
FileA Component1
FileB Component2
FileC Component3
提出 Component4

 

ディレクトリ テーブルの

ディレクトリ Directory_Parent DefaultDir
TARGETDIR SourceDir
DirectoryA TARGETDIR DirectoryA

 

エラーを修正するには、各コンポーネントにユーザーごとまたはマシンごとのリソースのみが含まれるようアプリケーションを再構成し、両方を含めないようにします。

Component1 には FileA (マシンごと) と HKCU レジストリ キー RegKeyA (ユーザーごと) が含まれているため、最初のエラー メッセージが投稿されます。

ICE リファレンス