Commit 16b6340f authored by Adriano da Luz's avatar Adriano da Luz

installer.nsi: Added code to uninstall the collect agent files

Signed-off-by: default avatarAdriano da Luz <al08@c3sl.ufpr.br>
Acked-by: default avatarDanilo Kiyoshi Simizu Yorinori <danilok@c3sl.ufpr.br>
parent 94f72b76
......@@ -362,6 +362,35 @@ FunctionEnd
Section Uninstall
Delete "$INSTDIR\${PRODUCT_UNINST_NAME}.exe"
Delete "$INSTDIR\COPYING"
Delete "$INSTDIR\bin\client.exe"
Delete "$INSTDIR\bin\agent\API-MS-Win-Core-LocalRegistry-L1-1-0.dll"
Delete "$INSTDIR\bin\agent\API-MS-Win-Core-ProcessThreads-L1-1-0.dll"
Delete "$INSTDIR\bin\agent\API-MS-Win-Security-Base-L1-1-0.dll"
Delete "$INSTDIR\bin\agent\bz2.pyd"
Delete "$INSTDIR\bin\agent\KERNELBASE.dll"
Delete "$INSTDIR\bin\agent\library.zip"
Delete "$INSTDIR\bin\agent\POWRPROF.dll"
Delete "$INSTDIR\bin\agent\proinfodataAgent.exe"
Delete "$INSTDIR\bin\agent\pyexpat.pyd"
Delete "$INSTDIR\bin\agent\python27.dll"
Delete "$INSTDIR\bin\agent\pythoncom27.dll"
Delete "$INSTDIR\bin\agent\pywintypes27.dll"
Delete "$INSTDIR\bin\agent\select.pyd"
Delete "$INSTDIR\bin\agent\unicodedata.pyd"
Delete "$INSTDIR\bin\agent\w9xpopen.exe"
Delete "$INSTDIR\bin\agent\win32api.pyd"
Delete "$INSTDIR\bin\agent\win32ui.pyd"
Delete "$INSTDIR\bin\agent\_ctypes.pyd"
Delete "$INSTDIR\bin\agent\_hashlib.pyd"
Delete "$INSTDIR\bin\agent\_socket.pyd"
Delete "$INSTDIR\bin\agent\_ssl.pyd"
Delete "$INSTDIR\bin\agent\_win32sysloader.pyd"
RMDir "$INSTDIR\bin"
RMDir "$INSTDIR\conf"
RMDir "$INSTDIR\data"
RMDir "$INSTDIR\log"
RMDir "$INSTDIR\update"
RMDir "$INSTDIR\..\data"
RMDir "$INSTDIR"
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment