Fran Posted April 12, 2011 Share Posted April 12, 2011 (edited) I'm hoping a few experts can help me test my script. I've created a script that downloads the installation files for RapidStudio AlbumMaker Software (multiple downloads with progress - all in all about 4000 files 230MB). After downloading, it runs a CRC check and then downloads again the corrupt files. When it's happy, it moves on and checks if it needs to download .Net. If .Net 2.0 or later is found, it skips the file. Once it's finished with that, it runs the Setup. I have tested it sooooooo many times and on my computer (Vista) and a Virtual Testing machine (XP) it works like a charm. But when other people in my company help with the testing, they get all sorts of errors in different places. Most of the errors seem to be an array variable.. or subscript out of range or something. No matter how I try, I cannot duplicate this error on my machines. And the error doesn't always happen in the same place in the script. So, it's hard to figure out where the fault lies. The line number it gives also doesn't help much, as after the script is compiled, the line numbers are a bit screwed up. A good error handling would probably help, but the ones I've tried (posted on this forum) I haven't been able to get to work. I'm attaching my script. Would really appreciate any help someone could give me. (if it asks you to enter an email address and you don't want to enter your own, you can enter autoittesting@testmail.com - then I'll know to ignore it in the database) CRC Checksum UDF can be downloaded here: http://www.autoitscript.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=32045InstallDownloader.zip Edited April 12, 2011 by Fran Link to comment Share on other sites More sharing options...
andrei0x309 Posted April 12, 2011 Share Posted April 12, 2011 (edited) I tested on my machine and from the start to the running of the setup it gives me no error . Edited April 12, 2011 by Azraelsub7 Link to comment Share on other sites More sharing options...
Fran Posted April 12, 2011 Author Share Posted April 12, 2011 I tested on my machine and form the start to the running of the setup it gives me no error .yeah, I have the same problem! LOL Link to comment Share on other sites More sharing options...
Fran Posted April 13, 2011 Author Share Posted April 13, 2011 Someone suggested the other day that I use UBound for my arrays. I've had a look at the function, but I don't think I quite understand how to implement it. Can someone give me an example by adding it to one part of my script please? I think this might help with the array errors on my colleagues' machines. Thanx Fran 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