Help - Search - Members - Calendar
Full Version: AutoIT Plugin?
The CD Forum > Bart's PE Builder > Plugins
ACalcutt
Does anyone already have and AutoIT plugin?

I saw AutoIT mention in someones post...tried it...and have come to like it a lot..i think it would be good to be able to run the au3 files (as well as the compiled files that i know will work)


most likely i just need a registry key to assosiate the au3 file with autoit.exe right?
frodo
QUOTE (ACalcutt @ Jul 29 2005, 05:02 AM)
Does anyone already have and AutoIT plugin?

I saw AutoIT mention in someones post...tried it...and have come to like it a lot..i think it would be good to be able to run the au3 files (as well as the compiled files that i know will work)
most likely i just need a registry key to assosiate the au3 file with autoit.exe right?
*



I had a plugin up on my old site, ill make a new one and post it early next week.
ACalcutt
QUOTE (frodo @ Jul 29 2005, 08:49 PM)
I had a plugin up on my old site, ill make a new one and post it early next week.
*


cool biggrin.gif cant wait
ACalcutt
any progress?
ka3qyk
@frodo

any luck? if not can you send the "old" plugin and i will try to update it

Thanks
ACalcutt
bump...waiting is tourtue tongue.gif ...lol
frodo
@All

Sorry, but i have been ultra busy in the real world (earning money to keep a roof over my head and food in my mouth) and have had to put PE stuff on the backburner for the past week, this will continue for a few more days this week.

Im surprised you havent tried yourself (we like people who are into self help here), all you need to do is:

1. Boot into PE (with Paragliders Regshot utility on your CD)

2. Take a regshot

3. Install AutoIt (and Scite4AutoIt if you like(i do)) to b:\Programs\AutoIt

4. Do another regshot and save the result

5. Copy the files you installed to a real HDD

6. Reboot into normal XP

7. Use ConvRegToInf to convert the reg to inf, save it (to a folder called say AutoIt)

8. Add the necessary lines to the inf like {WinnDirectories], [SourceDisksFiles] or more likely[SourcedisksFolders] and shortcuts etc. Change files paths in registry keys in the inf (like from b:\Programs\AutoIt to X:\Programs\AutoIt or even %SystemDrive%\Programs\AutoIt) if needed

9. Put the files you copied earlier into a files subdirectory under your autoit plugin folder

10. Build it and test

Thats a simple overview, but its not rocket science people, unlike Ghost v9, it doenst have that many reg entries and its not hard..................

For those who want to wait, it will be mid/end of week before i get back on the net.
nitro001
Was looking for AutoIT plugin myself and couldn't find one, so I took frodo's advice and tried to make my own. It is for the latest AutoIt V3.1.1. I haven't tested completely yet, making image soon for testing, but, here is the inf I came up with:

CODE
; AutoIT3.inf
; PE Builder v3 plug-in INF file
; Created by Nitro001
; AutoIT3: http://www.autoitscript.com/autoit3/
; Plugin Includes AutoIT, Aut2Exe, AutoITx

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="AutoIT 3.1.1"
Enable=1
Help="adawarese.htm"

[WinntDirectories]
a="Programs\AutoIT3",2

[SourceDisksFolders]
files=a,,1

[Software.AddReg]
0x0, "Classes\AppID\AutoItX3.DLL"
0x1, "Classes\AppID\AutoItX3.DLL", "AppID", "{6E8109C4-F369-415D-AF9A-2AEEFF313234}"

0x0, "Classes\AppID\{6E8109C4-F369-415D-AF9A-2AEEFF313234}"
0x1, "Classes\AppID\{6E8109C4-F369-415D-AF9A-2AEEFF313234}", "", "AutoItX3"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\InprocServer32"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\ProgID"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\Programmable"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\TypeLib"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\VersionIndependentProgID"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\VersionIndependentProgID", "", "AutoItX3.Control"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\TypeLib"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\TypeLib", "", "{F8937E53-D444-4E71-9275-35B64210CC3B}"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\ProgID"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\ProgID", "", "AutoItX3.Control.1"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\InprocServer32"
0x2, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\InprocServer32", "", "%SystemDrive%\Programs\AutoIt3\AutoItX\AutoItX3.dll"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}\InprocServer32", "ThreadingModel", "Apartment"

0x0, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}", "", "AutoItX3 Class"
0x1, "Classes\CLSID\{1A671297-FA74-4422-80FA-6C5D8CE4DE04}", "AppID", "{6E8109C4-F369-415D-AF9A-2AEEFF313234}"

0x0, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}"

0x0, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\InProcServer32"
0x2, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\InProcServer32", "", "%SystemDrive%\Programs\AutoIt3\AutoItX\AutoItX3.dll"
0x1, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\InProcServer32", "ThreadingModel", "Both"

0x0, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}"
0x1, "Classes\CLSID\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}", "", "PSFactoryBuffer"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\NumMethods"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid32"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\TypeLib"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\TypeLib", "", "{F8937E53-D444-4E71-9275-35B64210CC3B}"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\TypeLib", "Version", "1.0"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid32"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid32", "", "{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\ProxyStubClsid", "", "{00020424-0000-0000-C000-000000000046}"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\NumMethods"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}\NumMethods", "", "114"

0x0, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}"
0x1, "Classes\Interface\{3D54C6B8-D283-40E0-8FAB-C97F05947EE8}", "", "IAutoItX3"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\0"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\0\win32"
0x2, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\0\win32", "", "%SystemDrive%\Programs\AutoIt3\AutoItX\AutoItX3.dll"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\FLAGS"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\HELPDIR"
0x2, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\HELPDIR", "", "%SystemDrive%\Programs\AutoIt3\AutoItX\"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\FLAGS"
0x1, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0\FLAGS", "", "0"

0x0, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0"
0x1, "Classes\TypeLib\{F8937E53-D444-4E71-9275-35B64210CC3B}\1.0", "", "AutoItX3 1.0 Type Library"

0x0, "Classes\.au3"

0x0, "Classes\.au3\ShellNew"
0x2, "Classes\.au3\ShellNew", "FileName", "%SystemDrive%\Programs\AutoIT3\Template.au3"

0x0, "Classes\.au3"
0x1, "Classes\.au3", "", "AutoIt3Script"

0x0, "Classes\AutoIt3Script"

0x0, "Classes\AutoIt3Script\DefaultIcon"

0x0, "Classes\AutoIt3Script\Shell"

0x0, "Classes\AutoIt3Script\Shell\Compile"

0x0, "Classes\AutoIt3Script\Shell\Compile\Command"
0x2, "Classes\AutoIt3Script\Shell\Compile\Command", "", "%SystemDrive%\Programs\AutoIt3\Aut2Exe\Aut2Exe.exe /in "%l""

0x0, "Classes\AutoIt3Script\Shell\Edit"

0x0, "Classes\AutoIt3Script\Shell\Edit\Command"
0x1, "Classes\AutoIt3Script\Shell\Edit\Command", "", "notepad.exe "%1""

0x0, "Classes\AutoIt3Script\Shell\Open"

0x0, "Classes\AutoIt3Script\Shell\Open\Command"
0x1, "Classes\AutoIt3Script\Shell\Open\Command", "", "notepad.exe "%1""

0x0, "Classes\AutoIt3Script\Shell\Run"

0x0, "Classes\AutoIt3Script\Shell\Run\Command"
0x2, "Classes\AutoIt3Script\Shell\Run\Command", "", "%SystemDrive%\Programs\AutoIt3\AutoIt3.exe "%1" %*"

0x0, "Classes\AutoIt3Script\Shell\Run"
0x1, "Classes\AutoIt3Script\Shell\Run", "", "Run Script"

0x0, "Classes\AutoIt3Script\Shell\Open"
0x1, "Classes\AutoIt3Script\Shell\Open", "", "Open"

0x0, "Classes\AutoIt3Script\Shell\Edit"
0x1, "Classes\AutoIt3Script\Shell\Edit", "", "Edit Script"

0x0, "Classes\AutoIt3Script\Shell\Compile"
0x1, "Classes\AutoIt3Script\Shell\Compile", "", "Compile Script"

0x0, "Classes\AutoIt3Script\Shell"
0x1, "Classes\AutoIt3Script\Shell", "", "Run"

0x0, "Classes\AutoIt3Script\DefaultIcon"
0x2, "Classes\AutoIt3Script\DefaultIcon", "", "%SystemDrive%\Programs\AutoIt3\Icons\filetype1.ico"

0x0, "Classes\AutoIt3Script"
0x1, "Classes\AutoIt3Script", "", "AutoIt v3 Script"

0x0, "Classes\AutoItX3.Control"
0x1, "Classes\AutoItX3.Control", "", "AutoItX3 Class"

0x0, "Classes\AutoItX3.Control\CLSID"
0x0, "Classes\AutoItX3.Control\CurVer"
0x1, "Classes\AutoItX3.Control\CurVer", "", "AutoItX3.Control.1"

0x0, "Classes\AutoItX3.Control\CLSID"
0x1, "Classes\AutoItX3.Control\CLSID", "", "{1A671297-FA74-4422-80FA-6C5D8CE4DE04}"

0x0, "Classes\AutoItX3.Control.1"

0x0, "Classes\AutoItX3.Control.1\CLSID"
0x1, "Classes\AutoItX3.Control.1\CLSID", "", "{1A671297-FA74-4422-80FA-6C5D8CE4DE04}"

0x0, "Classes\AutoItX3.Control.1"
0x1, "Classes\AutoItX3.Control.1", "", "AutoItX3 Class"

0x0, "Microsoft\Windows\CurrentVersion\App Paths\AU3Info.exe"
0x2, "Microsoft\Windows\CurrentVersion\App Paths\AU3Info.exe", "", "%SystemDrive%\Programs\AutoIt3\AU3Info.exe"
0x0, "Microsoft\Windows\CurrentVersion\App Paths\Aut2Exe.exe"
0x2, "Microsoft\Windows\CurrentVersion\App Paths\Aut2Exe.exe", "", "%SystemDrive%\Programs\AutoIt3\Aut2Exe\Aut2Exe.exe"
0x0, "Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe"
0x2, "Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe", "", "%SystemDrive%\Programs\AutoIt3\AutoIt3.exe"

0x0, "AutoIt v3"

0x0, "AutoIt v3\AutoIt"
0x1, "AutoIt v3\AutoIt", "InstallDir", "%SystemDrive%\Programs\AutoIt3"
0x1, "AutoIt v3\AutoIt", "Version", "v3.1.1"


[Append]
nu2menu.xml, autoit3_nu2menu.xml


and the autoit3_nu2menu.xml file
CODE
<!-- Nu2Menu entry for AutoIT v3 -->
<NU2MENU>
    <MENU ID="Programs">               
        <MITEM TYPE="POPUP" MENUID="AutoIT3">AutoIt v3</MITEM>
    </MENU>

    <MENU ID="AutoIT3">
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\Au3Info.exe">AutoIt Window Info</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\Aut2Exe\Aut2Exe.exe">Compile Script to .exe</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\AutoIT3.exe">Run Acript</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\AutoIT.chm">AutoIt Help File</MITEM>
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\Extras\Exe2Aut\Exe2Aut.exe">Decompile .exe to Script</MITEM>        
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Programs\AutoIT3\Extras\v2_to_v3_Converter\AutoItV2toV3.exe">v2 to v3 Converter</MITEM>        
    </MENU>
</NU2MENU>


I downloaded the install from http://www.autoitscript.com/autoit3 which installed AutoIT, Aut2Exe and AutoItX. I installed it on my local PC, outside of BartPE. Then I created a plugin directory, created the inf and xml, as well as a files directory. Copied everything, except examples directory, from c:\program files\AutoIT3 into the files folder. There is also a file called Template.au3 that gets put into the c:\windows\Newshell directory that I copied into files.

I am still testing and will report back when if it works.

-- Edit: Fixed Nu2Menu entries. Forgot closing "> on top level menu. --
nitro001
QUOTE (nitro001 @ Jan 19 2006, 02:41 PM) *
Was looking for AutoIT plugin myself and couldn't find one, so I took frodo's advice and tried to make my own. It is for the latest AutoIt V3.1.1. I haven't tested completely yet, making image soon for testing, but, here is the inf I came up with:
...


Since I am an id10t, I completely messed up the nu2menu.xml script, so here is the entire script again:
CODE
<!-- Nu2Menu entry for AutoIT v3 -->
<NU2MENU>
    <MENU ID="Programs">               
        <MITEM TYPE="POPUP" MENUID="AutoIT3">AutoIt v3</MITEM>
    </MENU>

    <MENU ID="AutoIT3">
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\Au3Info.exe">AutoIt Window Info</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\Aut2Exe\Aut2Exe.exe">Compile Script to .exe</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\AutoIT3.exe">Run AutoIt Script</MITEM>    
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\AutoIT.chm">AutoIt Help File</MITEM>
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\Extras\Exe2Aut\Exe2Aut.exe">Decompile .exe to Script</MITEM>        
        <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\AutoIT3\Extras\v2_to_v3_Converter\AutoItV2toV3.exe">v2 to v3 Converter</MITEM>        
    </MENU>
</NU2MENU>


since the menu was messed up I couldn't get info from it, however running the commands from a command shell in the directory did work.
nitro001
IT WORKS!!!! smile.gif

After my oops with the XML file, I made an ISO and tested in VMWare. Programs load so I would assume it works fine. I tested with the calculator example that comes with AutoIT install and it ran.

Is anyone else wants to test this and let me know.
fuwi
my AutoIT plugin is a little bit simpler, just for running .au3 scripts in BartPE
the plugin can be downloaded from my page http://www.fuwi.ethz.ch
yahoouk
Hi all,

AutoIt3 plugin (of mine) is no need any reg.
But you need to run it from RamDrive.
That's all.
It does work nicely.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.