a Network error occurred while attempting to read the file

Got a problem you cannot solve? Try here.
Post Reply
wayneforrest
Posts: 1
Joined: Fri Apr 09, 2010 4:14 am

a Network error occurred while attempting to read the file

Post by wayneforrest »

Hi all,

I am having some problem when a previous installation already exits,
when I try to install a newer version over the previous version, I get an error message that states the following:

A network error occurred while attempting to read the file:
C:\Users\{USER_NAME}\AppData\Local\Temp\mia1\{Product v1.x.msi}

where product v1.x.msi is the previous version of the software.

If I uninstall the software first, then the new Install succeeds.

Any ideas why this is happening ?
justminime
Posts: 21
Joined: Sun Dec 20, 2009 7:56 am

Re: a Network error occurred while attempting to read the fi

Post by justminime »

Having the same issue.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: a Network error occurred while attempting to read the fi

Post by MichaelNesmith »

Are you changing product codes and/or revision codes?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
justminime
Posts: 21
Joined: Sun Dec 20, 2009 7:56 am

Re: a Network error occurred while attempting to read the fi

Post by justminime »

i changed the product code by adding 1 this is same setup diffrent brand.
old product code is '{8FB495A1-4A3F-4C1D-BD27-3F3AB2E66763}
new product code is '{8FB495A1-4A3F-4C1D-BD27-3F3AB2E66764}
i now just get an Error message.
when i look in msi log i saw
MYAHDOWNGRADE get the old productcode (difrent product).. what todo?

this is the log till the error screen appears
Action start 15:47:25: FindRelatedProducts.
MSI (s) (4C:70) [15:47:25:229]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:241]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:259]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:276]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:293]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:310]: Using cached product context: machine assigned for product: 1A594BF8F3A4D1C4DB72F3A32B6E7636
MSI (s) (4C:70) [15:47:25:339]: PROPERTY CHANGE: Adding MYAHDOWNGRADE property. Its value is '{8FB495A1-4A3F-4C1D-BD27-3F3AB2E66763}'.
Action ended 15:47:25: FindRelatedProducts. Return value 1.
MSI (s) (4C:70) [15:47:25:410]: Doing action: CAMYAH
MSI (s) (4C:70) [15:47:25:439]: Note: 1: 2205 2: 3: ActionText
Action start 15:47:25: CAMYAH.
MSI (s) (4C:70) [15:47:25:585]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'CAMYAH'
MSI (s) (4C:70) [15:47:25:684]: Note: 1: 2205 2: 3: Error
MSI (s) (4C:70) [15:47:25:716]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 4010
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Re: a Network error occurred while attempting to read the fi

Post by MichaelNesmith »

You can't just "add one". You have to use well formed GUIDs and let the IDE create them for you, or manually create them using MS API's for GUID creation.

You have to ensure you have different revision codes for each package and possibly different product codes.

The help file describes the meanings of these codes. Give it a read.

If you are still having problems, post detailed, step by step instructions on how you got there.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply