Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to run batch file with addoperation?
Forum Updated to NodeBB v4.3 + New Features

How to run batch file with addoperation?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 240 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    narae
    wrote on last edited by narae
    #1
    This post is deleted!
    JonBJ 1 Reply Last reply
    0
    • N narae

      This post is deleted!

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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.

      N 1 Reply Last reply
      0
      • JonBJ JonB

        @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.

        N Offline
        N Offline
        narae
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved