Please nominate your Qt Champions for 2021!

How to run batch file with addoperation?

  • This post is deleted!

  • @narae
    Start by checking how each of these two commands behave if you invoke them from a Command prompt:

    cmd.exe /C C:\Program Files\Folder\remove.bat
    cmd.exe /C "C:\Program Files\Folder\remove.bat"

    Find out whether it is the invocation of remove.bat which is causing the error, or whether it is the invocation of the certmgr.exe ... line within it.

    If the uninstaller requires the command to return exit code 0 --- I do not know whether it does --- but it is returning 1 you may have to deal with that.

  • This post is deleted!

Log in to reply