Jump to content

(Solved) Possible to configure Autoit Silent installation?


MattHiggs
 Share

Recommended Posts

So for a while now, I have been silently installing autoit silently using the silent install switch, but there is one tiny little setback which kind of makes the whole thing pointless.  During the installation, I like to set the default behavior when double clicking a script file to open it, which is not the default during the installation or the silent installation.  Is there some switch I don't know about which allows me to configure this setting during a silent installation, or am I just SOL?  

Edited by MattHiggs
Link to comment
Share on other sites

even if no switch for that, you can apply the relevant registry settings after the silent installation is done. i can't tell you which is it, but it should not be hard to find.

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Link to comment
Share on other sites

Use the SciTeConfig -> Other Tool tab -> Run AutoIt3/SciTE Check.  I have open set for mine.  Here is what is returned. 

Quote

******************************************************************************************************************************************
* HKCR\.au3 Default       :AutoIt3Script
* HKCR\.au3 ShellNew      :C:\Windows\SHELLNEW\Template.au3 (File Exists)
******************************************************************************************************************************************
* Explorer shell options:
* HKCR\AutoIt3Script\shell: 
*  => Default Action:Open
*     Compile                => Command:"C:\Program Files\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l"
*     Compile with Options   => Command:"C:\Program Files\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /in "%l"
*     Edit                   => Command:"C:\Program Files\AutoIt3\SciTE\SciTE.exe" "%1"
*     Open                   => Command:"C:\Program Files\AutoIt3\SciTE\SciTE.exe" "%1"
*     Run                    => Command:"C:\Program Files\AutoIt3\AutoIt3.exe" "%1" %*
*     Tidy                   => Command:"C:\Program Files\AutoIt3\SciTE\Tidy\Tidy.exe" "%1"
******************************************************************************************************************************************

Here is the RegWrite call to set it to open.  

RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open")

 

Adam

 

Edited by AdamUL
Link to comment
Share on other sites

On ‎9‎/‎29‎/‎2016 at 0:40 PM, AdamUL said:

Use the SciTeConfig -> Other Tool tab -> Run AutoIt3/SciTE Check.  I have open set for mine.  Here is what is returned. 

Here is the RegWrite call to set it to open.  

RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open")

 

Adam

 

A gentleman and a scholar.  Thank you sir.  +1 from me.  Also showed me that as far as the scite editor is concerned, I haven't explored its many features nearly enough.  Thanks again.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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