Help - Search - Members - Calendar
Full Version: compiled exe eror, or my script eror
MSFN Forums > Member Contributed Projects > nLite > Application Add-Ons

   


Google Internet Forums Unattended CD/DVD Guide
xardas93s
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) blink.gif
- 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 :
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'm new to this script language and used to work with C++, so take me easy unsure.gif

oh and sory for bad english blushing.gif
gamehead200
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
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
sorry for the issue with the title blushing.gif
as for the script, i did as radix said but still the same thing happens blink.gif
Im still looking for help, but i will try miself to do some changes in the script
oh 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

CODE
;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?
radix
QUOTE (xardas93s @ Jul 29 2009, 10:27 PM) *
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 install
SciTE4AutoIt3.

Edit: Try ControlClick function instead of Send (probably Send interfere with something).
xardas93s
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
Compiled script from your first post
MD5: 924104FDC88C60C91CCEF877F2B5ED
xardas93s
same thing happens, i will reinstall windows and i will try with another version of xp, oh and for u did worked?
radix
QUOTE (xardas93s @ Aug 1 2009, 01:12 PM) *
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.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.