TTMSFNCAppUpdate Questions

Hi,
I have used UpdateBuilder for some time in VCL Apps. I now want to do this for FMX so am using TTMSFNCAppUpdate.

I am using UpdateBuilder to generate the CAB/INF files but the structure of the INF file is totally different to that of the AppUpdate demo. How should I generate these files to be compatible with the FNC version?

Thanks,

Ken

Hi,

You cannot use UpdateBuilder in comibnation with TTMSFNCAppUpdate. As you have also noted, the structure is different because FNC needs to support multiple platforms at once and UpdateBuilder cannot generate that structure.

We'll need to look into the possibilities of making a similar tool for FNC or integrating it into UpdateBuilder. For now you'll need to manually write the INF. You can find some documentation on it here: TTMSFNCAppUpdate - TMS FNC AppTools

Thanks for the prompt reply. That makes things a little difficult. Can the INF file handle a different download for WIN32 v WIN64?

Currently it's not an option but it's a good idea. I'm going to put it on our TODO list to add update_win32 and update_win64 along with the necessary files_platform handling. It won't make its way to the new release but there's a chance it will be part of the one after.

Thank you. One further question. What am I doing wrong. This is the INF file:

[update_win]
newversion=2.22.0.0
localversion={APP}\EKM-Desktop.exe

[files_win]
count=1

[file1_win]
newversion=2.22.0.0
url=https://blahblah/EKM-Desktop.zip
localversion=EKM-Desktop.exe
appupdate=1

The exe is not being replaced. Instead of this I have a folder in the appfolder called EKM-Desktop.exe which contains the exe.

Can't see anything wrong with this. We tested a similar setup here and that worked as expected. Can you enable the logging (Logging.Enable property) and see if it contains anything out of the ordinary?

Thanks, the error was mine and all working well now.

1 Like

Hi,

We added separate win32 and win64 platforms to be used with TTMSFNCAppUpdate. The next version will contain the changes.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.