Sign in to follow this  
Followers 0
DarkXardas

compiled exe error, or my script error?

4 posts in this topic

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 rising

Posted Image

- this is the code :

;This will install Setup - IsoBuster 
Run      ("acala3gp.exe")
 
;Welcome
WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Welcome" )
ControlClick ( "Setup - Acala 3GP Movies Free" , "" , "TButton1" )

;License
WinWaitActive ( "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 Location
WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Select Start Menu Folder" )
send ( "{TAB}" )
send ( "{TAB}" )
send ( "{TAB}" )
send ( "{SPACE}" )

;Additional Tasks
WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Select Additional Tasks" )
send ( "{SPACE}" )
send ( "{TAB}" )
send ( "{SPACE}" )
send ( "{TAB}" )
send ( "{TAB}" )
send ( "{SPACE}" )

;Ready to Install
WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Ready to Install" )
send ( "{SPACE}" )

;Installation Completed
WinWaitActive ( "Setup - Acala 3GP Movies Free" , "Completing the Acala 3GP Movies Free Setup Wizard" )
send ( "{SPACE}" )
send ( "{TAB}" )
send ( "{SPACE}" )

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")
 
;License
WinWaitActive ( "MV2Player Setup: License Agreement" , "I Agree" )
send ( "{SPACE}" )

;Additional Tasks
WinWaitActive ( "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 instalation
WinWaitActive ( "MV2Player Setup: Completed" , "Close" )
send  (  "{SPACE}" )
 
;Delete Desktop shorcuts
FileDelete (  @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?

I reinstaled autoIt and same thing happens >_< ;)

oh and what is the command to copy a file, like a crack, if is possible? (hope this post is not agenst rules :( , if so i'm sorry)

i'm new to this script language and used to work with C++, so take me easy, and sory for bad english :D

Share this post


Link to post
Share on other sites



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) >_<

For any chances the name of you AutoIt script is acala3gp.au3. If it's then every time you compiled your script you are overwritting Acala 3GP Movies exe file.

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

For any chances the name of you AutoIt script is acala3gp.au3. If it's then every time you compiled your script you are overwritting Acala 3GP Movies exe file.

then what should i done?

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 >_< :(

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
Sign in to follow this  
Followers 0