Archive: execute file in uninstaller-section


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


i tried

nsExec::Exec

as well. same result.


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?


thanks for the advice. the service functions work well. just didnt know there were any...