none
MSI Upgrade error -- "a network error occurred while attempting to read from the file"

    Question

  • Hi out there-

    I am asking a question about something that isn't all that uncommon.   I find much information about how a user can combat this problem, but not much about how the developer can prevent this problem.

    When performing an upgrade -- the user will download and install our MSI, but during the upgrade portion of the process they are halted with this error "a network error occurred while attempting to read from the file" .... sometimes including an error code (1319)

    The general resolution seems to be "prevent the upgrade action" by using the "windows installed cleanup utility" to make the OS think that it's not going to do an upgrade.

    From looking around the net, the issue revolves around the "old msi file" which should be located on the user's machine somewhere.  When it cannot be found (or has been renamed?), the user runs into this problem.

    I'd like to find out more about this issue.  Are there any practical tips (best practices) for developers to prevent users from seeing this issue?

    Thanks!

     

    Monday, May 10, 2010 5:57 PM

Answers

  • The Windows Installer team recommends that the original MSI file be kept available because you cannot know if it will be needed again. Upgrades are sometimes when the original MSI is needed again.  You usually see a prompt though, asking for the source. Is that what you're seeing?  The error is usually 1706 for a missing MSI source, a "No valid source could be found for product ...", but 1319 might be what you see if the source was a network share.
    Phil Wilson
    Tuesday, May 11, 2010 7:30 PM
    Moderator

All replies

  • The Windows Installer team recommends that the original MSI file be kept available because you cannot know if it will be needed again. Upgrades are sometimes when the original MSI is needed again.  You usually see a prompt though, asking for the source. Is that what you're seeing?  The error is usually 1706 for a missing MSI source, a "No valid source could be found for product ...", but 1319 might be what you see if the source was a network share.
    Phil Wilson
    Tuesday, May 11, 2010 7:30 PM
    Moderator
  • Hi pweyzen1,

    PhilWilson indicated the key point. Please let us know if it helps.

    Regards,
    Aland Li


    Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
    Wednesday, May 12, 2010 3:44 AM
    Moderator