Environment: Vista Ultimate SP2, 64bit, 4GB. Keratin running on an external HDD. (Error was happening before on Vista SP1).
Problem: When trying to download Crossloop, the error occurs.
Steps: Using the following XML code as a guide, create an entry in Ketarin for Crossloop.
<ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="672f0e5e-d08d-4287-b6f0-85b99fb43fd1">
<DownloadBeta>Default</DownloadBeta>
<DownloadDate xsi:nil="true" />
<CheckForUpdatesOnly>false</CheckForUpdatesOnly>
<VariableChangeIndicator />
<CanBeShared>true</CanBeShared>
<ShareApplication>false</ShareApplication>
<ExclusiveDownload>false</ExclusiveDownload>
<HttpReferer />
<Variables>
<item>
<key>
<string>version</string>
</key>
<value>
<UrlVariable>
<RegexRightToLeft>false</RegexRightToLeft>
<VariableType>StartEnd</VariableType>
<Regex />
<Url>http://crossloop.com/ipage.htm?id=download</Url>
<StartText>http://download.crossloop.com/crossloopsetup.exe</StartText>
<EndText>.exe</EndText>
<Name>version</Name>
</UrlVariable>
</value>
</item>
</Variables>
<ExecuteCommand />
<ExecutePreCommand />
<Category>Support</Category>
<SourceType>FixedUrl</SourceType>
<PreviousLocation>P:\Toolkit_CD\Support\Crossloop_setup.exe</PreviousLocation>
<DeletePreviousFile>true</DeletePreviousFile>
<Enabled>true</Enabled>
<FileHippoId />
<LastUpdated>2009-03-06T22:08:32.4432405</LastUpdated>
<TargetPath>P:\Toolkit_CD\Support\Crossloop_setup.exe</TargetPath>
<FixedDownloadUrl>http://download.crossloop.com/crossloopsetup.exe{version}.exe</FixedDownloadUrl>
<Name>CrossLoop</Name>
</ApplicationJob>
Here is the original page I used to create the download link:
http://www.crossloop.com/ipage.htm?id=predownload
Results:
Crossloop download stays at 0.0mb. Other threads continue to download. When all the other threads are complete, the stuck thread will remain. Program will shutdown when OK button is clicked on the error message.
Expected Results:
Error caught and Crossloop message is logged and presented to user at end of job.
Thread is cancelled.
Other notes:
By removing the Crossloop entry, the program works as expected. I was able to change the download link and fix the error through the normal program dialogs. My guess is that the int32 variable was in overflow because the added digits to the url link made the url path too long. Compare the original XML with my fixed entry below.
Original
<FixedDownloadUrl>http://download.crossloop.com/crossloopsetup.exe{version}.exe</FixedDownloadUrl>
The original link turned into this:
http://download.crossloop.com/CrossloopSetup.exe?1249491666576.exe
So I changed it to this and it now works:
<FixedDownloadUrl>http://download.crossloop.com/crossloopsetup.exe</FixedDownloadUrl>
I hope that helps. I think that if there are other apps where the path is too long, the program may crash again.
Thanks,
JimR