We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Incorrect updater file size

Hello,

I have built an updater and in the update.txt file it lists a file size. ( see attached )

I also have included the file sizes of the Binary on my local drive and after it has been downloaded from my URL from the updater.txt file
ManagerFileSize.png
ManagerFileSize.png (268.6 KiB) Viewed 18928 times
I start installing the old version of my binary and get this:
ManagerNewVersionDetected.png
ManagerNewVersionDetected.png (66.91 KiB) Viewed 18928 times
My question is why?
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

Here is a snapshot of my download folder AFTER the download has completed ( when I get the size is wrong dialog )

NOTE: the size of this matches the other two file sizes as well.
downloadFolder.PNG
downloadFolder.PNG (76.7 KiB) Viewed 18927 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Incorrect updater file size

Hello,

Can you please send us the AIP (project file) of your old product version to support at advancedinstaller dot com so we can investigate its settings? Also, please make sure that on your web server you are hosting the same updates setup package as the one (the exact build) you used when you built your updates configuration file.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

I can't send the file via email... ( our company does not allow attachments of this size )

And your web site won't accept the size of it either... :-(

I assume you need the installer that is going to be used to generate the size??
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

The file is the EXACT same file from the web as well as from the build machine, see this :
ManagerFileSize.png
ManagerFileSize.png (268.6 KiB) Viewed 18918 times
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

I have uploaded the entire project (including the setup file) to google drive.

https://drive.google.com/drive/folders/ ... TJxNmZCSEU

Mike
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

Here is the URL for 3.0.221.0

http://ea17589512e28e7c9a7b-9e76fc5386a ... up.253.exe


Let me know if you need anything else

Thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Incorrect updater file size

Hello Mike,

Please send us the following AIPs (project files only, without their resources) to support at advancedinstaller dot com:
1. the AIP of your old product version
2. the AIP of your new product version
3. the AIP of your updates configuration project

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Incorrect updater file size

Hello Mike,

Thank you for the sent files. We tested and replicated the issue using your files. It seems this happens because you are using a download URL for your updates EXE setup which doesn't include a file name in it (i.e. "https://admin.cetrus.com/registry/downl ... ger_Binary"). Due to an Advanced Installer issue, when the "Check for updates before installation" option is used, the installation setup correctly downloads the updates setup package, but it download it with a wrong name (i.e. the name of your web site: admin.cetrus.com). This is in Advanced Installer issue and a fix will be available in a future version of our application. Thank you for your help to isolate this issue. We will notify you when a fix will be out.

Until then, as a workaround you can either disable the "Check for updates before installation" option or you generate a URL download link for your updates setup which will also include the updates setup file name in it.\

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

Has this been fixed in your 13.0 release ?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Incorrect updater file size

Hi,

The fix for this will be included in version 13.1. The fix has been implemented and is now in testing phase.

We could not include it into version 13.0 because the development on this version was already completed when we had the time to work on this issue.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

Daniel,

With respect to "Check for updates before installation"

I see in the file properties dialog two sizes for the file : “Size” and “Size on disk”
Sizes.png
Sizes.png (3.37 KiB) Viewed 18601 times


The updater text file appears to be putting the “Size” ( 323559020 ) into the text file

Is the reason I get this dialog because the updater expects “Size on disk” ?
SizeError.png
SizeError.png (28.69 KiB) Viewed 18601 times


Can I manually edit the size for a work around?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Incorrect updater file size

Hello Mike,

No, this is not the reason. The reason is the fact that we donwload the updates setup with a wrong file name. The error message we throw is misleading.

I'm afraid there is no workaround available other than generating a URL download link for your updates setup which will also include the updates setup file name in it (e.g. https://admin.cetrus.com/registry/downl ... up.253.exe).

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Incorrect updater file size

thanks
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Incorrect updater file size

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”