Jump to content

I am not writing a virus


 Share

Recommended Posts

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}")

CODE
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")

;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}")

CODE
Run("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

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

CODE
FileChangeDir ("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

  • Developers

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

Don' 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 forum

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

:)

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...