Click to See Complete Forum and Search --> : installer automation...


cinegod
March 4th, 2006, 01:59 AM
Hello, Im working on an experiment that is for my own use, its some basic automation in Windows. I want to create a webpage that holds an application and when i visit the page and login ( the login part, PHP, etc. is finished) i will have a javascript send my machine the application, what i want to happen is once the app. is downloaded, i want it to automatically install itself, either silently or not, but silently is best. then once the install is complete, i want the downloaded file to delete itself. Now, i do lots of automation work on Macintosh and i can theorize on how to accomplish this, either by SHELL scripting with JavaScript or by GUI scripting with AppleScript which would be activated on download using an Apple Event, but im a little lost on Windows. Ive looked into ActiveX controls and Java Applets which both seem able to do OLE Automation, but im not sure if i can activate these scripts from a web browser... ?? Any ideas on where to look or what language would be best for this type of problem? thanks.

Cinegod

Dr. Script
March 7th, 2006, 03:14 PM
I don't think JavaScript can accomplish this. As far as I am aware, some languages can force downloads, but no client side language can.