thecoop004 Posted October 4, 2006 Share Posted October 4, 2006 I just stumbled onto this app and it looks really cool. I created a simple install of Microsoft Snapshot Viewer. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.1.1.0 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Run ("SnpVw90.exe") WinWaitActive("Snapshot Viewer","Would you like to install") Send("!y") WinWaitActive("Snapshot Viewer","END-USER LICENSE AGREEMENT FOR MICROSOFT") Send("!y") WinWaitActive("Snapshot Viewer 9.0 Setup","Welcome to the Snapshot Viewer 9.0 installation program") Send("{ENTER}") WinWaitActive("Snapshot Viewer 9.0 Setup","To install to this folder, click OK") Send("{ENTER}") WinWaitActive("Snapshot Viewer 9.0 Setup","To start installation, click the large button") Send("{ENTER}") WinWaitActive("Snapshot Viewer 9.0 Setup","Snapshot Viewer 9.0 Setup was completed") Send("{ENTER}") ------------------------------------------------------------------------------------------------------------------------- Really basic, and if I run it it works. My issue is that I compile the file into an EXE and it works on my machine, but when I try and move the source files along with the complied EXE to a network share it kills my connection and never copies the EXE file. Am I missing something?? Im running on an XP Pro machine. Thanks for any help. Link to comment Share on other sites More sharing options...
lod3n Posted October 4, 2006 Share Posted October 4, 2006 Sounds like bad anti-virus technology, either on your machine, or possibly your network's router. Some Cisco routers will shut down your connection if they think a virus is on the loose. Some anti-virus programs incorrectly identify EXEs created by AutoIt as viruses. Just a guess. Check with your network admin. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
thecoop004 Posted October 4, 2006 Author Share Posted October 4, 2006 Ya, thanks I found something in another topic. My company uses McAfee and if you use the default settings when you compile for the ICON then it does that. I simply picked a different ICON and it worked fine. Weird...... Thanks for the comment. 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