xardas93s Posted July 29, 2009 Posted July 29, 2009 (edited) i tryed to make a script, and so far i did it BUT , when i runed the script normaly it whent well, beter than i espected, but after i compiled the .au3 to .exe ,it hapened this: - the original exe's size was around 3 M but after compile is 284 KB (291,161 bytes) - when i try to run the new exe it just goes to status bar like this "2" and the number of those things is just increasing- this is the code :;This will install Setup - IsoBuster Run ("acala3gp.exe");WelcomeWinWaitActive ( "Setup - Acala 3GP Movies Free" , "Welcome" )ControlClick ( "Setup - Acala 3GP Movies Free" , "" , "TButton1" );LicenseWinWaitActive ( "Setup - Acala 3GP Movies Free" , "License" )ControlClick ( "Setup - Acala 3GP Movies Free" , "" , "TRadioButton1" )Sleep ( 50 ) ControlClick ( "Setup - Acala 3GP Movies Free" , "" , "TButton2" );Destination Location WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Select Destination Location" )send ( @ProgramFilesDir & "\Acala 3GP")send ( "{TAB}" )send ( "{TAB}" )send ( "{TAB}" )send ( "{SPACE}" ); Start Menu LocationWinWaitActive ( "Setup - Acala 3GP Movies Free" , "Select Start Menu Folder" )send ( "{TAB}" )send ( "{TAB}" )send ( "{TAB}" )send ( "{SPACE}" );Additional TasksWinWaitActive ( "Setup - Acala 3GP Movies Free" , "Select Additional Tasks" )send ( "{SPACE}" )send ( "{TAB}" )send ( "{SPACE}" )send ( "{TAB}" )send ( "{TAB}" )send ( "{SPACE}" );Ready to InstallWinWaitActive ( "Setup - Acala 3GP Movies Free" , "Ready to Install" )send ( "{SPACE}" );Installation CompletedWinWaitActive ( "Setup - Acala 3GP Movies Free" , "Completing the Acala 3GP Movies Free Setup Wizard" )send ( "{SPACE}" )send ( "{TAB}" )send ( "{SPACE}" )i'm new to this script language and used to work with C++, so take me easy oh and sory for bad english Edited July 29, 2009 by xardas93s
gamehead200 Posted July 29, 2009 Posted July 29, 2009 Hi xardas93s,Welcome to MSFN! Since you are new here, I suggest you take a look at the forum rules, rule 12 in particular. Once you have done so, please change your topic title by editing your post.Cheers,
radix Posted July 29, 2009 Posted July 29, 2009 Try uninstall AutoIt, clean a bit the registry with ccleaner and reinstall again the last stable version of AutoIt. Your script is OK. It install Acala 3GP Movies Free 100% unattended.
xardas93s Posted July 29, 2009 Author Posted July 29, 2009 (edited) sorry for the issue with the title as for the script, i did as radix said but still the same thing happens Im still looking for help, but i will try miself to do some changes in the scriptoh and what is the command to copy a file, like a crack, if is possible?i did another script to see if maybe i did something wrong or the program hab some issue ;This will install Setup - MV2Player Run ("mv2p.exe");LicenseWinWaitActive ( "MV2Player Setup: License Agreement" , "I Agree" )send ( "{SPACE}" );Additional TasksWinWaitActive ( "MV2Player Setup: Installation Options" , "Next" )send ( "{TAB}" )send ( "{TAB}" )send ( "{TAB}" )send ( "{TAB}" )send ( "{SPACE}" );Destination Location WinWaitActive ( "MV2Player Setup: Installation Directory" , "Install" )send ( @ProgramFilesDir & "\Mv2Player")send ( "{SPACE}" );ending the instalationWinWaitActive ( "MV2Player Setup: Completed" , "Close" )send ( "{SPACE}" );Delete Desktop shorcutsFileDelete ( @DesktopDir & "\MV2Player.lnk")after compile the same thing happens, oh and to compile i right click on the script file and select " Compile script " , maybe that is wrong, or can u tell me anoher way to make addon with this script without compile? Edited July 30, 2009 by xardas93s
radix Posted July 30, 2009 Posted July 30, 2009 (edited) after compile the same thing happens, oh and to compile i right click on the script file and select " Compile script " , maybe that is wrong, or can u tell me anoher way to make addon with this script without compile?As I already written, the first script you have posted works fine (compiled or not).Try to compile and test on to another computer. Probably you need to test again after a fresh Windows installation.You can compile with right click, or use C:\Program Files\AutoIt3\Aut2Exe for more options, or installSciTE4AutoIt3.Edit: Try ControlClick function instead of Send (probably Send interfere with something). Edited July 30, 2009 by radix
xardas93s Posted July 30, 2009 Author Posted July 30, 2009 and i did change send with controlclick, but still nothing. can u guis use one of the scripts and compile in your pc and post the new exe to see if the problem is my windows/pc, if is then i will look for another windows cd to install.Tnx anyway for ur help, till now, keep it up
radix Posted July 31, 2009 Posted July 31, 2009 Compiled script from your first post MD5: 924104FDC88C60C91CCEF877F2B5ED
xardas93s Posted August 1, 2009 Author Posted August 1, 2009 same thing happens, i will reinstall windows and i will try with another version of xp, oh and for u did worked?
radix Posted August 1, 2009 Posted August 1, 2009 same thing happens, i will reinstall windows and i will try with another version of xp, oh and for u did worked?Try in a clean VMware first. Worked for me.
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