MattHiggs

(Solved) Possible to configure Autoit Silent installation?

6 posts in this topic

#1 ·  Posted (edited)

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



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


Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

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

Share this post


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

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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
1 person likes this

Share this post


Link to post
Share on other sites

#5 ·  Posted

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

#6 ·  Posted

@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