Sign in to follow this  
Followers 0
Fran

script unstable - multiple files download and check

4 posts in this topic

#1 ·  Posted (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. :unsure:

(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&section=attach&attach_id=32045

InstallDownloader.zip

Edited by Fran

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I tested on my machine and from the start to the running of the setup it gives me no error .

Edited by Azraelsub7

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0