Help - Search - Members - Calendar
Full Version: combining autoit file to exe
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
xpmagician
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
Nologic
browse the help file for "FileInstall' which should do the trick.
ev0_05
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.gif
any1 else have this problem?

I'd take a screen dump but ... i can't be botherd restarting the computer after it's executed
Nologic
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
ev0_05
This is what i get when i Compile the au3 script with an installer

lol

any1 know where am goin wrong?
CODE
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
ev0_05
bump woot.gif

does this withall my compiled exe btw
IcemanND
what's the filename of your compiled script?
Nologic
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. newwink.gif
ev0_05
[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
IcemanND
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.
Nologic
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. newwink.gif 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 newwink.gif
ev0_05
gr8 stuff it worked thanks dudes biggrin.gif

ur stars lol




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.