Skip to content
⌘ NSIS Forum Archive

execute file in uninstaller-section

4 posts

Anselmus#

execute file in uninstaller-section

hi there,

i try to execute a batch to remove a service before deleting the folder...

i tried this:

Section "Uninstall"
SetOutPath "$INSTDIR\AgroKONNEKTOR\bin"
ExecWait "$INSTDIR\AgroKONNEKTOR\bin\remove_service.bat"

but it wont work. any ideas?

thanks
anselmus
kichik#
What exactly happens when it doesn't work? What exactly does remove_service.bat do? Why not use any of the service functions to remove a service?