viriiman Posted January 12, 2007 Share Posted January 12, 2007 Since so many people seem to think that I'm writing a virus, here's my code. CODE Run("Spectrum Workstation Setup.exe") WinWaitActive("SPECTRUM Setup" , "Welcome to the SPECTRUM setup") Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Enter your user information") Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "All program features will be installed") Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Installation Folder") Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Spectrum Server Folder") Send($spt) ;Sleep(5000) Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "BankView Options Folder on Server") Send($bnk) ;Sleep(5000) Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Miscellaneous Information") Send($LU1) Send("{TAB}") ;Sleep(5000) Send($LU2) ;Sleep(5000) Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Select Spectrum Options") Send("{ENTER}") WinWaitActive("SPECTRUM Setup", "Shortcut Folder") ;Send("{ENTER}") ;WinWaitActive("SPECTRUM Setup", "Ready to Install") ;Send("{ENTER}") ;WinWaitActive("SPECTRUM Setup", "SPECTRUM Installed Successfully") ;Send("{ENTER}") ;-------------------------------------------------------------------------------------- ;Code below was designed to call the ODBC control panel applet to setup the ODBC server ;-------------------------------------------------------------------------------------- ;Run("C:\windows\system32\ODBCAD32.EXE") ;WinWaitActive("ODBC Data Source Administrator", "An ODBC User data source") ;Send("{TAB 7}") ;Send("{RIGHT}") ;Send("{TAB}") ;Send("{DOWN 2}") ;Send("!c") ;WinWaitActive("Microsoft SQL Server DSN Configuration", "This wizard will help") ;Send("!n") ;WinWaitActive("Microsoft SQL Server DSN Configuration", "How should SQL Server") ;Sleep(25000) ;Send("!n") ;WinWaitActive("Microsoft SQL Server DSN Configuration", "Change the &default database") ;Send("!n") ;WinWaitActive("Microsoft SQL Server DSN Configuration", "&Change the language") ;Send("{ENTER}") ;WinWaitActive("ODBC Microsoft SQL Server Setup", "A new ODBC") ;Send("!t") ;Sleep(10000) ;WinWaitActive("SQL Server ODBC Data Source Test", "Test Results") ;Send("{ENTER}") ;WinWaitActive("ODBC Microsoft SQL Server Setup", "A new ODBC") ;Send("{RIGHT}") ;Send("{ENTER}") ;WinWaitActive("ODBC Data Source Administrator", "An ODBC User data source") ;Send("!{F4}") ;WinWaitActive("UpdateSettings", "ODBC DSN Created for") ;Send("{ENTER}") CODERun("setup.exe") WinWaitActive("Bankers Systems Test Run Time Engine Setup") Send("{ENTER}") WinWaitActive("Bankers Systems Test Run Time Engine Setup") Send("{ENTER}") WinWaitActive("Bankers Systems Test Run Time Engine - Choose Program Group") Send("!c") ;Sleep(10000) WinWaitActive("Bankers Systems Test Run Time Engine Setup" , "Setup was completed successfully") Send("{ENTER}") Run("SetupBSIShared.exe") WinWaitActive("Welcome") Send("!n") WinWaitActive("Setup Complete") Send("{DOWN}") Send("{TAB}") Send("{ENTER}") CODERun("setup.exe") WinWaitActive("Welcome") Send("!n") WinWaitActive("Software License Agreement") Send("!a") WinWaitActive("User Registration Information") Send("!n") WinWaitActive("Confirm User Registration") Send("!n") WinWaitActive("Installation Destination") Send("!n") WinWaitActive("Installation Types") Send("!n") WinWaitActive("Host Types") Send("{DOWN}") Send("{SPACE}") Send("{DOWN}") Send("{SPACE}") Send("!n") WinWaitActive("System Path Modification") Send("{DOWN}") Send("!n") WinWaitActive("Program Folder") Send("!n") WinWaitActive("Program Folder Type") Send("!n") WinWaitActive("Default Keyboard Type") Send("!n") WinWaitActive("Start Copying Files") Send("!i") WinWaitActive("Setup Complete") Send("{SPACE}") Send("{ENTER}") NONE of this is virus related and it is ALL related to HONEST LEGITMATE work. I'm sorry that the help file isn't as helpful to me as you all think it should be. I'm brand new to all of this. I'm sorry if I annoyed people by asking questions. But I thought that's what this forum was for. Link to comment Share on other sites More sharing options...
AzKay Posted January 12, 2007 Share Posted January 12, 2007 Wheres your question? Oo # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Joon Posted January 12, 2007 Share Posted January 12, 2007 Change run command to something like this. Run("Spectrum Workstation Setup.exe") Run(@ScriptDir & "\3rd_party\bsi\old version\setup.exe") Run(@ScriptDir & "\3rd_party\Extra\setup.exe") Link to comment Share on other sites More sharing options...
BALA Posted January 12, 2007 Share Posted January 12, 2007 I think this needs to go to the Example Scripts forum [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
viriiman Posted January 12, 2007 Author Share Posted January 12, 2007 Change run command to something like this. Run("Spectrum Workstation Setup.exe") Run(@ScriptDir & "\3rd_party\bsi\old version\setup.exe") Run(@ScriptDir & "\3rd_party\Extra\setup.exe") Those were all the individual scripts. I'm (now) trying to merge them into one large script. Here's what I've got (but it doesn't work): CODEFileChangeDir ("3rd_party\bsi\old_version\") Run("setup.exe") WinWaitActive("Bankers Systems Test Run Time Engine Setup") Send("{ENTER}") WinWaitActive("Bankers Systems Test Run Time Engine Setup") Send("{ENTER}") WinWaitActive("Bankers Systems Test Run Time Engine - Choose Program Group") Send("!c") WinWaitActive("Bankers Systems Test Run Time Engine Setup" , "Setup was completed successfully") Send("{ENTER}") Run("SetupBSIShared.exe") WinWaitActive("Welcome") Send("!n") WinWaitActive("Setup Complete") Send("{DOWN}") Send("{TAB}") Send("{ENTER}") ;Installs Extra FileChangeDir ("...\3rd_party\extra\") Run("setup1.exe") WinWaitActive("Welcome") Send("!n") WinWaitActive("Software License Agreement") Send("!a") WinWaitActive("User Registration Information") Send("!n") WinWaitActive("Confirm User Registration") Send("!n") WinWaitActive("Installation Destination") Send("!n") WinWaitActive("Installation Types") Send("!n") WinWaitActive("Host Types") Send("{DOWN}") Send("{SPACE}") Send("{DOWN}") Send("{SPACE}") Send("!n") WinWaitActive("System Path Modification") Send("{DOWN}") Send("!n") WinWaitActive("Program Folder") Send("!n") WinWaitActive("Program Folder Type") Send("!n") WinWaitActive("Default Keyboard Type") Send("!n") WinWaitActive("Start Copying Files") Send("!i") WinWaitActive("Setup Complete") Send("{SPACE}") Send("{ENTER}") If WinExists("Enterprise Access Objects") Then Send("!{F4}") EndIf Sleep(10000) I can't get it to change to the right directory to install the second program (extra). Also, at the end of the script, I want to automatically close an explorer window that pops up. Problem is it doesn't always pop up before setup finishes (sometimes it comes up before, other times after). I was hoping that that would kill the window whenever it came up, but haven't gotten to test it yet. Thanks Link to comment Share on other sites More sharing options...
James Posted January 12, 2007 Share Posted January 12, 2007 He's proving hes not writing a virus. Secure Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
Developers Jos Posted January 12, 2007 Developers Share Posted January 12, 2007 Since so many people seem to think that I'm writing a virus, here's my code.NONE of this is virus related and it is ALL related to HONEST LEGITMATE work. I'm sorry that the help file isn't as helpful to me as you all think it should be. I'm brand new to all of this.I'm sorry if I annoyed people by asking questions. But I thought that's what this forum was for.I think you din;t think about the nickname selection long enough but other than that I think I made it clear in the other thread the people that posted the accusations that they were not based on anything .. Wheres your question? OoDon' think it is supposed to ... he feels attacked without any legitimate reasons ... so trying to prove it is legitimate!.I think this needs to go to the Example Scripts forumAnother one totally missing the point here ... I hope this clears everything up a bit and everybody moves on without making comments until they truely have a case .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
viriiman Posted January 12, 2007 Author Share Posted January 12, 2007 I think you din;t think about the nickname selection long enough but other than that I think I made it clear in the other thread the people that posted the accusations that they were not based on anything .. Don' think it is supposed to ... he feels attacked without any legitimate reasons ... so trying to prove it is legitimate!.Another one totally missing the point here ... I hope this clears everything up a bit and everybody moves on without making comments until they truely have a case .. THANK YOU! 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