MSFN Forum: combining autoit file to exe - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any 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.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

combining autoit file to exe Rate Topic: -----

#1 User is offline   xpmagician 

  • Group: Members
  • Posts: 3
  • Joined: 17-September 04

Posted 20 January 2005 - 01:48 AM

i created an autoit script to install a program. i was wondering if there is anyway to combine the exe file to the script to one file instead of two. The reason for this is i want the user to double click to one icon and silently the program will install and config without user's interactions. thanks


#2 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 20 January 2005 - 01:54 AM

browse the help file for "FileInstall' which should do the trick.

#3 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 21 January 2005 - 03:56 AM

lol if you are succesful when combined and tested give me a shout please..
i combined mine when i click the "install.exe" combined with the "Script.au3"
It sort of messed up
it flooded the taskbar with the icon it creates when executing :realmad:
any1 else have this problem?

I'd take a screen dump but ... i can't be botherd restarting the computer after it's executed

#4 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 21 January 2005 - 05:58 AM

I've never toyed with it my self....but if the problem is only the icon there is a setting to hide the icon(s) that AutoIt creates.

Opt ("TrayIconHide", 0) ; 0=show, 1=hide tray icon

#5 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 21 January 2005 - 03:01 PM

This is what i get when i Compile the au3 script with an installer
Posted Image
lol

any1 know where am goin wrong?
Run("CursorXp Plus 13a.exe")
Winwaitactive("Stardock CursorXP setup")
Send("{TAB}")
sleep(250)
Send("{TAB}")
Sleep(250)
Send("{+}")
Sleep(250)
Send("{TAB}")
Sleep(250)
Send("{ENTER}")
Sleep(750)
ControlClick("Stardock CursorXP setup" , "" , "Edit2" ) 
Send("**-******************-**********")
Controlclick("Stardock CursorXP setup" , "Next" , "Button2")
sleep(500)
Controlclick("Stardock CursorXP setup" , "Next" , "Button2")
Sleep(500)
Controlclick("Stardock CursorXP setup" , "Next" , "Button2")
Sleep(3000)
Send("{TAB}{-}{TAB}-{TAB}{ENTER}")


Sorry for hijacking the thread btw


RightClicck Au3 Script An compile Script

#6 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 24 January 2005 - 03:16 PM

bump :w00t:

does this withall my compiled exe btw

#7 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2005 - 03:19 PM

what's the filename of your compiled script?

#8 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 24 January 2005 - 04:40 PM

LMAO....I think I know where your going with that question...silly thing is that I did that once...don't recall off hand if the taskbar got massively populated or not...but I do recall having to reboot because of it.

Basically wondering if you got the script re-executing it self...hehe this would be a bad thing. If this is the case its a simple and mildly foolish thing to have done....hehe now to do it more than once after finding out about this simple mistake...then puts it into a totally different state of affairs. ;)

#9 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 24 January 2005 - 04:44 PM

[QUOTE]what's the filename of your compiled script?[/quote]
Same as the exe ther compiled into one
and it does the same when i compile them into 2 seperate .exe


[/QUOTE]Basically wondering if you got the script re-executing it self...[/quote]
how do i find that out ?>




the script does'nt even run lol just fills the taskbar :S

i just double click the exe as usual with autoit compiled into it and then it floods me

#10 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 January 2005 - 05:05 PM

rename your script to something different than the program you are running. i.e script: cursorxp intaller.exe app: CursorXp Plus 13a.exe

if both names are the same it may be executing itself instead of the desired app.

#11 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 24 January 2005 - 05:09 PM

Okay for grins make sure you have the original "CursorXp Plus 13a.exe" file...in other words if you click on it...the normal installer starts up.

Name your script "script.au3" compile it as "script.exe" run it while its next to the installer.

You see when I had made the mistake I was working on WindowBlinds I think...I named the installer "WindowBlinds_vXXX.exe" XXX was the version...any ways I named my script "WindowBlinds_vXXX.au3" hehe which ran just fine in script format....but....when I compiled it into a exe....hehe it replaced the installer...and it didn't strike me at first what had happened...or the fact I was now one exe short. ;) I launched the file...and before to long my system was crawling. reboot was required to stop the evil chain of events. After reboot I noticed all that had gone wrong....and I hung my head and felt qute the fool for a while. Honest short sighted mistake...live and learn. hehe


IcemanND -

Doh I'm getting slow ;)

#12 User is offline   ev0_05 

  • The Dumb one
  • Group: Members
  • Posts: 31
  • Joined: 18-January 05

Posted 24 January 2005 - 07:05 PM

gr8 stuff it worked thanks dudes :D

ur stars lol

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