robpat1630 Posted January 31, 2011 Share Posted January 31, 2011 I wrote a script that I compiled and I'm testing it on several operating systems. It is designed to run always from a CD. It seemed to be working fine everywhere but then I found a batch of systems running XP Pro x86 that produce an error on the same line number. I can trap that error and stop the script from running but I'm almost certain there isn't a problem with the code and it should run. I found out that if I copy the executeable on these systems from the CD to the hard disk and run them the script always runs. I have found several other XP Pro x86 systems that it works fine from the CD though. I have read several times on the internet where sometimes you cannot install a software application from CD (talking in general here and not talking about autoit) and one solution to try is often to copy the program from the CD to the hard disk. Any ideas why that works? Is it Anti-virus?, CD-ROM drivers? Link to comment Share on other sites More sharing options...
computergroove Posted January 31, 2011 Share Posted January 31, 2011 I can not answer your question directly however if I were running into this I would make the script copy the data to the hard drive and install and then maybe erase the install files when done. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Varian Posted January 31, 2011 Share Posted January 31, 2011 It would help to know the error, but it is possible that somewhere the script uses the relative path for writing (e.g. expanding a file, or creating a file/folder) and that produces the error. Link to comment Share on other sites More sharing options...
computergroove Posted January 31, 2011 Share Posted January 31, 2011 You say it works on some XP Pro x86 but not on others? Are the ones that it does not work on in a network with administrative rights or policies changed? What is special / unique about the batch that do not work? Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
robpat1630 Posted January 31, 2011 Author Share Posted January 31, 2011 they may have some local policies set I suspect. Link to comment Share on other sites More sharing options...
robpat1630 Posted January 31, 2011 Author Share Posted January 31, 2011 I'll check into that. 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