Problem with file download condition - Advanced Installer Community
loganips
Posts: 22
Joined: Wed Jun 17, 2015 6:26 pm

Problem with file download condition

I currently am downloading files though Advanced Installer's file download operation and I have run in to a bit of a problem. The files I am downloading are not necessary for my program to run, so I have set the condition for these downloads to only try and download if the user has an active internet connection. However, when I run my installer it seems that Advanced Installer tries to download the files anyway resulting in an error. I spent some time debugging and it seems that Advanced Installer ignores the condition on Windows XP only.

Thanks in advance,

Logan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with file download condition

Hi Logan,

Can you please tell us what is the Service Pack level of your XP machine? Please note that the MSI or EXE install files that Advanced Installer produces run on the following operating systems:
  • Windows XP SP3/Vista/7/8/10
  • Windows 2008/2012 Server
You can further use the VersionNT property to condition the custom action execution. The values of the VersionNT property are:
  • 501 for Windows XP
  • 502 for Windows Server 2003
  • 600 for Windows Vista and Windows Server 2008
  • 601 for Windows 7 and Windows Server 2008 R2
  • 602 for Windows 8 and Windows Server 2012
  • 603 for Windows 8.1 and Windows Server 2012 R2
  • 1000 for Windows 10 and Windows Server 2016
Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
loganips
Posts: 22
Joined: Wed Jun 17, 2015 6:26 pm

Re: Problem with file download condition

The machine I am running it on is XP Service Pack 3. I also made a simple installer that has just the file download and I receive an error if I try to put any condition on the file download. If I remove the condition on the file download it downloads the file as normal.
loganips
Posts: 22
Joined: Wed Jun 17, 2015 6:26 pm

Re: Problem with file download condition

Actually, after a little more testing it seems that the only time I get an error is when the file download condition equals false. Putting 1 as the condition works fine, but putting 0 as the condition (or any other condition that is false) results in an error.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with file download condition

Hi,

Yes, I can reproduce and confirm this issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Problem with file download condition

Hello,

This was fixed in version 12.4.2 of Advanced Installer released on September 23rd, 2015 .

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”