I am testing AppSync and have a 2GB application dat file that has a new version. The thinapp application is running locally on the PCs and I need to update it. I update the package via an HTTP packagepath and it starts doing the AppSync update and it takes over 3 minutes to update the local .dat file. If I do a simple copy of the new .dat file it takes 35 seconds. Below is the script I am using to update the application.
So it seems that AppSync is slower than a strait up copy. I assume this because it's doing the hash check on each block. Is there any logic that AppSync has to bypass the hash check and just do a full update which would be faster? Or am I missing something and it should be faster?
===================================================
Set TAManagement = CreateObject("ThinApp.Management")
Dim AppSyncPkg
TAOldPackage = "C:\Program Files\myapp1\myapp1.dat"
TANewPackageURL = "http://serverabc.mydomain.com/ThinApp/myapp1.dat"
AppSyncUpdate TAOldPackage, TANewPackageURL
Function AppSyncUpdate (TAOldPackage, TANewPackageURL)
On Error Resume Next
'=================================================
' Declare the ThinApp Package/File and open
'=================================================
Set AppSyncPkg = TAManagement.OpenPackage (TAOldPackage)
'=================================================
' Attach to the package and do an AppSync Update
'=================================================
Sync = AppSyncPkg.AppSync (True, LCase(TANewPackageURL))
msgbox(sync)
End Function