Jump to content

Recommended Posts

Posted

Hi.

Autoit3 and autoit3Beta can be uninstalled silently with the uninstallstring from the registry when started with " /S" as parameter.

What's the according switch for the uninstaller of the SciTE Editor?

$AIBeta_UI=RegRead("hklm\software\microsoft\windows\currentversion\uninstall\autoitv3beta","uninstallstring")
if (@error = 0) Then ; Beta *IST* installiert
    TrayTip("Alte Autoit Beta Version gefunden","Deinstalliere altes Autoit3 Beta.",3)
    $result=RunWait($AIBeta_UI & " /S") ; captial "/S" !!
    MsgBox(0,"AI-Beta Uninstall","Result=" & $result,2)
Else
    MsgBox(0,"Nicht erkannt","Autoit Beta",2)
EndIf

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Posted

Since they both use the NSI installer it's probably the same except that your reg key is

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SciTE4AutoIt3

Of course that doesn't mean that it will be the same. Jos may have prohibited Silent uninstalls in the script and I'm not about to uninstall to find out.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

  • 2 weeks later...
Posted

Hi Jos.

Thanks for your reply, I lost this thread, sorry ...

The SciTE4Autoit3 installer also supports the "/S" parameter.

I fail to call the UNinstaller in a way, that it will run silently. The SciTE uninstall string is stored in the registry at the usual location, but neither " /S" nor " /s" prevents the message "do you really...?" to pop up.

What do I miss? :P

Regards, Rudi.

Earth is flat, pigs can fly, and Nuclear Power is SAFE!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...