I am trying to use the SDK to get a forced appsync update. I used for that the script posted on this forum :
'================================================= ' Set Environment Variables '================================================= Set TAManagement = CreateObject("ThinApp.Management") Dim AppSyncPkg TAOldPackage = "C:\Temp\AppSync\Mozilla Firefox.exe" TANewPackageURL = "file:///C:/temp/appsync/304.exe" 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)) End Function
It work perfectely for any package that dont have primary container. But I'm not able to make it work if my package contain one or more entry points and a .dat file containing the files and registry.
I have tries many many tings, but it never work. I should be wrong somewhere, but I cant find.
Can anyone help about it?