Alpha Posted May 22, 2010 Share Posted May 22, 2010 Hello, I am interested in solving one problem with AutoIt. Is it possible to create installation of program without click next button, and to avoid spamming toolbars that usually goes with installations ? Can somebody give me some advices or show me one example with one free program lets say Winamp ? I would be very happy if I could solve my problem. Link to comment Share on other sites More sharing options...
storme Posted May 22, 2010 Share Posted May 22, 2010 Hello, I am interested in solving one problem with AutoIt. Is it possible to create installation of program without click next button, and to avoid spamming toolbars that usually goes with installations ? Can somebody give me some advices or show me one example with one free program lets say Winamp ? I would be very happy if I could solve my problem. Install AutoITInstall the Full version of SciTECreate a new AU3 ScriptStart the installerIn SciTE select Tools -> AutoitMacroGenertorClick Record button (red ball)click the buttons you want to record on the installer.Click STOP on the AutoitMacroGenertorExit AutoitMacroGenertorSave the new scriptYou now have a GOOD start for an installer for that program. I usually isn't perfect and will need fine tuning but it saves a lot of grunt work.Have funJohn MorrisonakaStorm-E Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Alpha Posted May 22, 2010 Author Share Posted May 22, 2010 (edited) Woow, that was fast Can you please tell me is it possible for user to choose destination folder of these programs or they can only be installed by default at C:\Program Files ? Edited May 22, 2010 by Alpha Link to comment Share on other sites More sharing options...
storme Posted May 22, 2010 Share Posted May 22, 2010 Woow, that was fast Can you please tell me is it possible for user to choose destination folder of these programs or they can only be installed by default at C:\Program Files ?Record the macro first. It will contian all the button presses but not the text.You'll have to work out where the text is entred and use SEND to enter the text. Just work out what text (tabs, etc) you would normaly type.It's not that hard. The best thing is to try it and see what it does and doesn't do.Good Luck! Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Alpha Posted May 22, 2010 Author Share Posted May 22, 2010 I have tried it now but I am getting error: "Missing separator character after keyword" when I want to run my script. So, when I create that, I just need to run that script and it will install program with settings that I have recorded ? Link to comment Share on other sites More sharing options...
Alpha Posted May 22, 2010 Author Share Posted May 22, 2010 I have tried it few times but always the same, am I doing something wrong ? I have recorded everything and when I want to run script I always get that error. Link to comment Share on other sites More sharing options...
Yoriz Posted May 22, 2010 Share Posted May 22, 2010 i think you'll have to post the code that causes the error, just from error: "Missing separator character after keyword" i dont think anyone is going to guess what keyword it is your using. GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
storme Posted May 23, 2010 Share Posted May 23, 2010 I have tried it now but I am getting error: "Missing separator character after keyword" when I want to run my script. So, when I create that, I just need to run that script and it will install program with settings that I have recorded ?Not a lot of help without seeing the code. As "Yoriz" siad post-the-code.This is what I siad about "The code isn't perfect" and will need some tweeking.Before you post the code run it in SciTE! It will give you the line where the error occured (you can even click on the error to take you directly to it) have a look at the line then try and work out what is wrong with the syntax. It could be something simple.<A Bit of advice>This forum helps people that help themselves!If you can show that you've made an effort (ie show the code you are working on, NOT just the generated code) then you will get a much better response.So if you still can't work it out after having a good-go-at it, post the code, the error message from SciTE and what you have already tried.Good Luck Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Alpha Posted July 17, 2010 Author Share Posted July 17, 2010 Can somebody help me with one example ? 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