Jump to content
MattHiggs

(Solved) Possible to configure Autoit Silent installation?

Recommended Posts

MattHiggs

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

Share this post


Link to post
Share on other sites
TheDcoder

I don't think that silent installation gives you much options though :unsure:...


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

If I have hurt or offended you in anyway, Please accept my apologies, I never (regardless of the situation) mean to do that to anybody!!!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites
orbs

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.

Share this post


Link to post
Share on other sites
AdamUL

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
  • Like 1

Share this post


Link to post
Share on other sites
MattHiggs
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.

Share this post


Link to post
Share on other sites
AdamUL

@MattHiggs Your welcome, glad I could help.  

 

Adam

 

Share this post


Link to post
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

×