Skip to content
⌘ NSIS Forum Archive

Editing (removing) the classpath

3 posts

jairainbow#

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