Link to home
Create AccountLog in
Avatar of al4629740
al4629740Flag for United States of America

asked on

The Setup file won't download; cached old Setup file

I have a download for my users called Setup.exe

Everytime I make an update to my program, they need to re-download Setup.exe from my website.  The problem is that since some users don't clear their history from their browsers, it downloads the cached Setup.exe from before.  Hence, they don't download the new Setup.exe.

Is there a way to fix this so that when they download, it doesn't look at the cached Setup file?

Here is my code in VB6 that looks for the Setup.exe file during an update.

If cdata > 10.2 Then

If MsgBox("An UPDATE has been posted.  You must click YES to re-download the program in order to proceed.  Would you like to download it now?", vbYesNo Or vbQuestion, "Download new version?") = vbYes Then
    ShellExecute Form1.hwnd, "Open", "http://mywebsite/Setup.exe", "", "", SW_SHOWNORMAL
    MsgBox ("Program will not begin until update is downloaded.")
End If

End If
Avatar of shorvath
Flag of Canada image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of al4629740


I am already using that.  Is it because I am not doing this via FTP?