New install package does not download - Advanced Installer Community

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!

CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

New install package does not download

I have a VB 2008 application using the updater to detect updates and download them from a website. When I put out a new version of my app, the download and install usually work fine. I am changing the product version each time and telling AI to generate a new product code. However, some times my app detects a new version, invokes AI, but AI does not download the new MSI file from the website. When it runs the MSI, it bring up the Modify,Repair,Remove window. I looked on my hard drive at the directory where the download is to placed (in this case C:\ProgramData\Custer County\Planning and Zoning Permits\updates\PZ Permits using Windows 7) and an old version of the MSI is there, not the new version indicating that AI did not download it. I did notice that the older MSI and the new MSI have the same filesize (sometimes my modifications to my app are very small like correcting misspelled words so the size of the modules do not change). Could it be that AI sees the same sized module on my hard drive so does not bother downloading the website version? Should I code my application to delete the downloaded MSI once I no longer need it so that AI is forced to download the newest version the next time? Thanks.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: New install package does not download

Hello,

In your updates configuration project make sure under Installed Detection section you are using Version as the method of detection in your updates, so that the updater's check is not based upon the installer's file size.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

Re: New install package does not download

I am using version in Installed Detection. The MSI is 4.7mb is size and it seems that AI does not even attempt to download it because the installation program opened up almost immediately, that is, there was no delay while AI downloaded the MSI. It does appear that it downloaded updates.txt and saved it as updates.aiu which would only take a second or two since it's so small. I have not been saving the updates.txt generated by the update package for each version release but I will start so I can see if something in the updates.txt is causing AI not to download.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: New install package does not download

Hello,

Yes, you must generate a new updates file for each release.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”