xpmagician Posted January 20, 2005 Share Posted January 20, 2005 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 Link to comment Share on other sites More sharing options...
Nologic Posted January 20, 2005 Share Posted January 20, 2005 browse the help file for "FileInstall' which should do the trick. Link to comment Share on other sites More sharing options...
ev0_05 Posted January 21, 2005 Share Posted January 21, 2005 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 upit flooded the taskbar with the icon it creates when executing any1 else have this problem?I'd take a screen dump but ... i can't be botherd restarting the computer after it's executed Link to comment Share on other sites More sharing options...
Nologic Posted January 21, 2005 Share Posted January 21, 2005 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 Link to comment Share on other sites More sharing options...
ev0_05 Posted January 21, 2005 Share Posted January 21, 2005 This is what i get when i Compile the au3 script with an installerlolany1 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 Link to comment Share on other sites More sharing options...
ev0_05 Posted January 24, 2005 Share Posted January 24, 2005 bump does this withall my compiled exe btw Link to comment Share on other sites More sharing options...
IcemanND Posted January 24, 2005 Share Posted January 24, 2005 what's the filename of your compiled script? Link to comment Share on other sites More sharing options...
Nologic Posted January 24, 2005 Share Posted January 24, 2005 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. Link to comment Share on other sites More sharing options...
ev0_05 Posted January 24, 2005 Share Posted January 24, 2005 what's the filename of your compiled script?Same as the exe ther compiled into oneand it does the same when i compile them into 2 seperate .exeBasically wondering if you got the script re-executing it self...how do i find that out ?>the script does'nt even run lol just fills the taskbar :Si just double click the exe as usual with autoit compiled into it and then it floods me Link to comment Share on other sites More sharing options...
IcemanND Posted January 24, 2005 Share Posted January 24, 2005 rename your script to something different than the program you are running. i.e script: cursorxp intaller.exe app: CursorXp Plus 13a.exeif both names are the same it may be executing itself instead of the desired app. Link to comment Share on other sites More sharing options...
Nologic Posted January 24, 2005 Share Posted January 24, 2005 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. heheIcemanND -Doh I'm getting slow Link to comment Share on other sites More sharing options...
ev0_05 Posted January 25, 2005 Share Posted January 25, 2005 gr8 stuff it worked thanks dudes ur stars lol Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now