Run script during uninstall

Answered

Comments

3 comments

  • Avatar
    juanjo

    Are you defining the installdir as a parameter (directoryParameter)? Are there any other actions before the script is called? Does the file exist?

  • Avatar
    juanjo

    The installer expects the installdir to be defined (the location where the application is installed). This is also the place where the uninstaller is created by default. How are you defining the location in which the files are unpacked? If possible, I would recommend you renaming your parameter to installdir. You could aso define it based on your current variable name but it would involve some more work.

  • Avatar
    A Jefferiss

    The problem with this was that a previous preuninstall action was failing; I've cleaned that up and it's now running as expected.

Please sign in to leave a comment.