Condividi tramite


ICE57

ICE57 convalida che i singoli componenti non mixano i dati per computer e per utente. Questa azione personalizzata ICE controlla le voci del Registro di sistema, i file, i percorsi delle chiavi della directory e i collegamenti non annunciati.

La combinazione di dati per utente e per computer nello stesso componente può comportare solo l'installazione parziale del componente per alcuni utenti in un ambiente multiutente.

Vedere la proprietàALLUSERS.

Risultato

ICE57 invia un errore se trova un componente che contiene sia voci del Registro di sistema per computer che per utente, file, percorsi chiave directory o collegamenti non annunciati.

Esempio

ICE57report gli errori seguenti per l'esempio illustrato.

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.

tabella dei componenti (parziale)

Componente Directory Attributi KeyPath
Componente1 DirectoryA 0 FileA
Componente2 DirectoryA 4 RegKeyB
Componente3 DirectoryA 0 FileC
Componente4 DirectoryA 4 RegKeyD

 

tabella del Registro di sistema (parziale)

Registro Radice Componente_
RegKeyA 1 Componente1
RegKeyB 1 Componente2
RegKeyC -1 Componente3
RegKeyD -1 Componente4

 

tabella file (parziale)

File Componente_
FileA Componente1
FileB Componente2
FileC Componente3
Archiviato Componente4

 

tabella directory

Directory Directory_Parent DefaultDir
TARGETDIR SourceDir
DirectoryA TARGETDIR DirectoryA

 

Per correggere gli errori, riorganizzare l'applicazione in modo che ogni componente contenga solo risorse per utente o per computer e non entrambe.

Il primo messaggio di errore viene inviato perché Component1 contiene FileA (per computer) e la chiave del Registro di sistema HKCU RegKeyA (per utente).

di riferimento ICE