Archive: Editing (removing) the classpath


Editing (removing) the classpath
Hi,
When installing the product i am updating the classpath
i.e. i am appending to the existing classpath like this

ReadRegStr $0 HKCU "Environment" \
"CLASSPATH"
Strcpy $0 "$0;$INSTDIR\MYFOLDER\aa.dll;"
WriteRegStr HKCU "Environment" \
"CLASSPATH" $0

While uninstalling i want to remove the classpath which i added during the installation. How i can achieve this?

Thanks,
jai


You can use WordReplace from WordFunc.nsh to do that.


Thanks ! it is working