MSFN Forum: compiled exe eror, or my script eror - MSFN Forum

Jump to content



Last warning

1. This is not a warez site! Links/Requests to warez and/or illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated. Any offenders of this rule may be banned on first violation. We take issues like this very seriously here at MSFN.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

compiled exe eror, or my script eror compiled exe gone crazy Rate Topic: -----

#1 User is offline   xardas93s 

  • Group: Members
  • Posts: 4
  • Joined: 28-July 09

  Posted 29 July 2009 - 12:09 PM

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:
- when i try to run the new exe it just goes to status bar like this "2" Posted Image and the number of those things is just increasing

- 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'm new to this script language and used to work with C++, so take me easy :unsure:

oh and sory for bad english :blushing:

Attached File(s)

  • Attached File  2.JPG (2.88K)
    Number of downloads: 0
  • Attached File  1.JPG (8.25K)
    Number of downloads: 0

This post has been edited by xardas93s: 29 July 2009 - 01:13 PM



#2 User is offline   gamehead200 

  • SEARCH!!! SEARCH!!!
  • Group: Super Moderator
  • Posts: 7,019
  • Joined: 02-September 02
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 July 2009 - 12:28 PM

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,

#3 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 29 July 2009 - 01:13 PM

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.

#4 User is offline   xardas93s 

  • Group: Members
  • Posts: 4
  • Joined: 28-July 09

Posted 29 July 2009 - 01:27 PM

sorry for the issue with the title :blushing:
as for the script, i did as radix said but still the same thing happens :blink:
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

;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?

This post has been edited by xardas93s: 29 July 2009 - 11:56 PM


#5 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 30 July 2009 - 05:45 AM

View Postxardas93s, on Jul 29 2009, 10:27 PM, said:

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

This post has been edited by radix: 30 July 2009 - 05:49 AM


#6 User is offline   xardas93s 

  • Group: Members
  • Posts: 4
  • Joined: 28-July 09

Posted 30 July 2009 - 11:40 AM

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

#7 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 31 July 2009 - 02:03 PM

Compiled script from your first post
MD5: 924104FDC88C60C91CCEF877F2B5ED

#8 User is offline   xardas93s 

  • Group: Members
  • Posts: 4
  • Joined: 28-July 09

Posted 01 August 2009 - 04:12 AM

same thing happens, i will reinstall windows and i will try with another version of xp, oh and for u did worked?

#9 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 702
  • Joined: 08-February 07

Posted 01 August 2009 - 05:05 AM

View Postxardas93s, on Aug 1 2009, 01:12 PM, said:

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy