contichris
Posts: 6
Joined: Tue Jan 17, 2023 8:31 am

Text update AFTER download (and unzip)

Hi,
I am using AI 16.6.1 and created an Enterprise project.
The thing I wanted to achieve is to download a zip file, unzip it and afterwards do a text replacement on one of the text files of the unpacked files. But as far as I can see from the log, the installer first wants to try to do the text update and afterwards the download an unzip action. Is there a way to control that or do it in the other way around?
In general, where can I see or read about the order of the actions?

Regards
Chris
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Text update AFTER download (and unzip)

Hello Chris,

That happens because the custom action for "file download" is indeed executed after the "txt file update" one.

We can see this in the "Table Editor" page --> "InstallExecuteSequence" table:
Screenshot_12.png
Screenshot_12.png (8.42 KiB) Viewed 4977 times
To avoid this, we can schedule the file download first and then the txt file update by:

- changing the sequence of AI_TxtUpdaterInstall to 5105

- changing the sequence of AI_FdInstall to 5101 (or any number between 5100 and 5105)

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
contichris
Posts: 6
Joined: Tue Jan 17, 2023 8:31 am

Re: Text update AFTER download (and unzip)

Wow, that's really cool to know. Thanks a lot!
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Text update AFTER download (and unzip)

You are always welcome, Chris!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”