Jump to content

AutoIT silent installer changes AU3 association to "Run Script" instead of keeping the existing behaviour by default


Go to solution Solved by argumentum,

Recommended Posts

Posted

I recently started using an updater based in Winget and, when it updates AutoIT, AutoIT's associations are being changed to "Run Script" instead of keeping my "Edit Script" preference.

It might be a good idea to detect if it's already associated, and keep the existing preference in the installer when doing a silent install/update :)

  • Solution
Posted

If anyone ask me that their installation is not working, I'd tell them to reinstall and that would reset it to "factory" settings, that in turn would fix whatever didn't work before.
If the installer did what you say, it would not fix the registry entries. Now, it takes a degree of "know how" to do the edits that you did so, do them again ? Because otherwise ( changing the installer ) would not help those less knowledgeable users.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted

pls let me point out, that "run script" is the default behavior. If you prefer edit, all you need to do is to modify the value of this registry value:

 

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AutoIt3Script\Shell]
@="Open"

the default value a silent install will define is "Run"

 

 

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