I created a project using environment variables serving as condition for serveral custom actions.
Unfortunately, a part of them weren´t removed on uninstall, although the msi-uninstall logs evidences the opposite. Suprisingly, two variables were removed correctly (NBO_VM and NBO_VMDLL), the other ones remain in system environment, also after restarting computer.However, by removing the condition the uninstall works fine.
Furthermore the two sucessfully removed variables are generated by a registry search, the remaining ones are definded by properties.
Code: Select all
Aktion 16:22:58: RemoveEnvironmentStrings. Umgebungsstrings werden aktualisiert
MSI (s) (C8:40) [16:22:58:166]: Executing op: ProgressTotal(Total=7,Type=1,ByteEquivalent=13200)
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBOROOT,Value=C:\Programme,Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBOROOT, Wert: C:\Programme, Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBO_VMDLL,Value=C:\Programme\Java\jre6\bin\client\jvm.dll,Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBO_VMDLL, Wert: C:\Programme\Java\jre6\bin\client\jvm.dll, Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=Path,Value=C:\Programme\bin\nt,Delimiter=;,Action=-1610612732,)
RemoveEnvironmentStrings: Name: Path, Wert: C:\Programme\bin\nt, Aktion -1610612732
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBO_DBTYPE,Value=(erforderlich),Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBO_DBTYPE, Wert: (erforderlich), Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBO_TYPE,Value=3,Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBO_TYPE, Wert: 3, Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBO_CLASSPATH,Value=C:\Programme\java;C:\Programme\java\lib\cashnetupd.zip;C:\Programme\java\lib\cashnet.zip;C:\Programme\java\lib\cashnetsrv.zip;C:\Programme\java\lib\cashnet1450-SAPClient.jar,Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBO_CLASSPATH, Wert: C:\Programme\java;C:\Programme\java\lib\cashnetupd.zip;C:\Programme\java\lib\cashnet.zip;C:\Programme\java\lib\cashnetsrv.zip;C:\Programme\java\lib\cashnet1450-SAPClient.jar, Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: UpdateEnvironmentStrings(Name=NBO_VM,Value=1.6,Delimiter=[~],Action=536870916,)
RemoveEnvironmentStrings: Name: NBO_VM, Wert: 1.6, Aktion 536870916
MSI (s) (C8:40) [16:22:58:166]: Executing op: ActionStart(Name=RemoveFiles,Description=Dateien werden entfernt,Template=Datei: [1], Ordner: [9])
FOLLOW US
Get the latest news in Application Packaging