clearguy Posted August 25, 2006 Share Posted August 25, 2006 Hi all, I would know if a compiler,like au2exe,exists already in AU3 script;if not,it is possible for someone to do that? It would be useful for compiled scripts that generates SFX(self-extracting) files(they need to be compiled to be SFX),I could use that compiler for my SOW project(in scripts and scraps). Thanx for infos and comments. I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
MHz Posted August 25, 2006 Share Posted August 25, 2006 I have Open Office etc which is a compiled AutoIt script and works well, is this what you are asking about? Done by rightclick by script. Link to comment Share on other sites More sharing options...
clearguy Posted August 25, 2006 Author Share Posted August 25, 2006 Sorry,I mean a compiler for making exe file:) I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
vim Posted August 26, 2006 Share Posted August 26, 2006 I have Open Office etc which is a compiled AutoIt script and works well, is this what you are asking about? Done by rightclick by script.MHz, I'm interested in "Open Office etc..", will you point me in the right direction?Thanks, ViM Link to comment Share on other sites More sharing options...
MHz Posted August 26, 2006 Share Posted August 26, 2006 Sorry,I mean a compiler for making exe file:)Ah, you want SFX creation ability. MakeCab is native to later Windows OSes. You would have to create a directive file first before making the cabinet file. Then you should be able to use the DOS copy command to intergrate expand.exe into it and thus creating a SFX file. CabArc is an alternative to MakeCab, but is not native to an OS.@VimAs AutoIt's FileInstall acts like a SFX, then I generate the script in my CMenu shell extension. Open Office is a MSI inside a NSIS installer, so I repacked it using an AutoIt script. When you run the NSIS installer, all the files are unpacked to a folder in @TempDir. Using "AutoIt Archive Script" in my shell extension generates the script for creating the archive\autoit script. Then just need to add code around it to make it into a installation script also. You can see the Open Office script here and some others that were generated by CMenu. Link to comment Share on other sites More sharing options...
vim Posted August 26, 2006 Share Posted August 26, 2006 Ah, you want SFX creation ability. MakeCab is native to later Windows OSes. You would have to create a directive file first before making the cabinet file. Then you should be able to use the DOS copy command to intergrate expand.exe into it and thus creating a SFX file. CabArc is an alternative to MakeCab, but is not native to an OS.@VimAs AutoIt's FileInstall acts like a SFX, then I generate the script in my CMenu shell extension. Open Office is a MSI inside a NSIS installer, so I repacked it using an AutoIt script. When you run the NSIS installer, all the files are unpacked to a folder in @TempDir. Using "AutoIt Archive Script" in my shell extension generates the script for creating the archive\autoit script. Then just need to add code around it to make it into a installation script also. You can see the Open Office script here and some others that were generated by CMenu.MHz, Thanks for that cmenu share. I'm still abit confused what clearguy wants, but I guess you helped him. Link to comment Share on other sites More sharing options...
Vivvic Posted August 26, 2006 Share Posted August 26, 2006 Believe he would like a script in auto it that brings up a GUI that he can copy+paste his source into and it will give him an .exe file. And no, I havnt seen anything like that. [quote name='DaleHohm']You have a strange habit of posting error messages that don't match your code.[/quote][quote name='SmOke_N']Forget the learning... straight to the scripting :lol: (laugh.gif)[/quote] Link to comment Share on other sites More sharing options...
sohfeyr Posted August 27, 2006 Share Posted August 27, 2006 Believe he would like a script in auto it that brings up a GUI that he can copy+paste his source into and it will give him an .exe file. And no, I havnt seen anything like that.Sure you have, FileInstall("au2exe.exe") to a temp folder, then run it with arguments.It isn't cheating if it works Mine:Time Functions - Manipulate the system clock! | WinControlList (WinGetClassList++) | .Net Setup Wrapper, Detect or install .Net | Writing and using a VB .NET COM object in AutoItNot mine, but highly recommended:AutoItTreeViewExtension plugin | Menu code | Callback helper dll | Auto3Lib - Control the uncontrollable | Creating COM objects in AutoIt | Using .Net framework classes in AutoIt Link to comment Share on other sites More sharing options...
clearguy Posted August 27, 2006 Author Share Posted August 27, 2006 Ah, you want SFX creation ability. MakeCab is native to later Windows OSes. You would have to create a directive file first before making the cabinet file. Then you should be able to use the DOS copy command to intergrate expand.exe into it and thus creating a SFX file. CabArc is an alternative to MakeCab, but is not native to an OS.@VimAs AutoIt's FileInstall acts like a SFX, then I generate the script in my CMenu shell extension. Open Office is a MSI inside a NSIS installer, so I repacked it using an AutoIt script. When you run the NSIS installer, all the files are unpacked to a folder in @TempDir. Using "AutoIt Archive Script" in my shell extension generates the script for creating the archive\autoit script. Then just need to add code around it to make it into a installation script also. You can see the Open Office script here and some others that were generated by CMenu.Thanx!I 'll look about this.Sure you have, FileInstall("au2exe.exe") to a temp folder, then run it with arguments.It isn't cheating if it works Very good idea,thanx,I think it would work. I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now