Announcement

Collapse
No announcement yet.

How make Msiexec.exe /uninstall in the registery uninstall key and taskkill on AMS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How make Msiexec.exe /uninstall in the registery uninstall key and taskkill on AMS

    Dos Command file:

    taskkill /f /im java.exe /T
    taskkill /f /im javaw.exe /T
    taskkill /f /im javaws.exe /T
    taskkill /f /im jqs.exe /T
    taskkill /f /im jusched.exe /T
    taskkill /f /im iexplore.exe /T
    taskkill /f /im firefox.exe /T
    taskkill /f /im chrome.exe /T

    REM Java 2 Runtime Environment Standard Edition v1.3
    %systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3\Uninst.isu" -a

    REM JRE Runtime Environment 6.0
    MsiExec.exe /uninstall {3248F0A8-6813-11D6-A77B-00B0D0160000} /passive /norestart

    How make these commands on Autoplay Media Studio? File.Run or else commands. How?

  • #2
    Originally posted by ayhan View Post
    Dos Command file:

    taskkill /f /im java.exe /T
    taskkill /f /im javaw.exe /T
    taskkill /f /im javaws.exe /T
    taskkill /f /im jqs.exe /T
    taskkill /f /im jusched.exe /T
    taskkill /f /im iexplore.exe /T
    taskkill /f /im firefox.exe /T
    taskkill /f /im chrome.exe /T

    REM Java 2 Runtime Environment Standard Edition v1.3
    %systemroot%\IsUninst.exe -f"%SystemDrive%\Program Files\JavaSoft\JRE\1.3\Uninst.isu" -a

    REM JRE Runtime Environment 6.0
    MsiExec.exe /uninstall {3248F0A8-6813-11D6-A77B-00B0D0160000} /passive /norestart

    How make these commands on Autoplay Media Studio? File.Run or else commands. How?
    For the series "Kill me but I will never read the user manual"....
    We are slowly invading your planet to teach lazy humans to read the user manual.
    But don't be scared: we are here to help.

    Comment


    • #3
      Originally posted by Cybergraph View Post
      For the series "Kill me but I will never read the user manual"....
      I read the user manual but I could not.

      Comment


      • #4
        I don't want to do it with the bat file.

        Comment


        • #5
          Originally posted by ayhan View Post
          I read the user manual but I could not.
          System.TerminateProcess
          Shell.Execute

          Comment


          • #6
            Originally posted by Shrek View Post
            Working below command.

            Args1 = "taskkill /f /im javaw.exe /T"
            Args2 = "taskkill /f /im javaws.exe /T"
            Args3 = "taskkill /f /im jqs.exe /T"
            Args4 = "taskkill /f /im jusched.exe /T"
            Args5 = "taskkill /f /im iexplore.exe /T"
            Args6 = "taskkill /f /im firefox.exe /T"
            Args7 = "taskkill /f /im chrome.exe /T"
            Shell.Execute("cmd.exe", "open", "/C "..Args1, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args2, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args3, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args4, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args5, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args6, _SystemFolder, SW_HIDE, true);
            Shell.Execute("cmd.exe", "open", "/C "..Args7, _SystemFolder, SW_HIDE, true);

            But not working theese command.

            Args13 = "_ProgramFilesFolder\\JavaSoft\\JRE\\1.3\\Uninst.i su"
            Args131 = "_ProgramFilesFolder\\JavaSoft\\JRE\\1.3.1\\Uninst .isu"
            Shell.Execute("IsUninst.exe", "open", " -f", "C:\\Windows\\" ..Args13, SW_HIDE, true);
            Shell.Execute("IsUninst.exe", "open", " -f", "C:\\Windows\\" ..Args131, SW_HIDE, true);

            Comment


            • #7
              Code:
              Args13 = "_ProgramFilesFolder\\JavaSoft\\JRE\\1.3\\Uninst.i su"
              should be

              Code:
              Args13 = _ProgramFilesFolder .."\\JavaSoft\\JRE\\1.3\\Uninst.i su"

              Comment


              • #8
                [QUOTE=Shrek;190405]
                Code:
                Args13 = "_ProgramFilesFolder\\JavaSoft\\JRE\\1.3\\Uninst.isu"
                should be

                Code:
                Args13 = _ProgramFilesFolder .."\\JavaSoft\\JRE\\1.3\\Uninst.i su"
                [/QUOTE

                Comment


                • #9


                  That's not an error with AMS it is an error with IsUninst.exe so find the log it wants or find an argument to pass that means it wont need the log.

                  Comment


                  • #10
                    how to make autoplay media studio dos command msiexec.exe

                    Dos Command
                    REM JRE Runtime Environment 6.0
                    MsiExec.exe /uninstall {3248F0A8-6813-11D6-A77B-00B0D0160000} /passive /norestart

                    Autoplay Media Studio command
                    File.Run(_SystemFolder .. "\\msiexec.exe", " /x" .. {7148F0A8-6813-11D6-A77B-00B0D0142000}, "/passive /norestart", SW_SHOWNORMAL, true);

                    Not working this command. Where is the syntax error.

                    Comment


                    • #11
                      {7148F0A8-6813-11D6-A77B-00B0D0142000} <- that look wrong, if its to be a string then it needs "".

                      Comment

                      Working...
                      X