Environment variables haven´t been removed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

projectmaster
Posts: 11
Joined: Wed Jan 06, 2010 12:56 pm

Environment variables haven´t been removed

Dear support team,

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])
Would be great, if you could help.
Last edited by projectmaster on Wed Feb 17, 2010 11:07 am, edited 1 time in total.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Environment variables haven´t been removed

Hi,

Please send your .aip project file to support at advancedinstaller dot com so we can investigate the issue.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
projectmaster
Posts: 11
Joined: Wed Jan 06, 2010 12:56 pm

Re: Environment variables haven´t been removed

Has been send to you

Return to “Common Problems”