Page 1 of 1

a Network error occurred while attempting to read the file

Posted: Mon May 10, 2010 8:34 am
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 ?

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

Posted: Tue May 25, 2010 5:08 am
by justminime
Having the same issue.

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

Posted: Tue May 25, 2010 5:21 am
by MichaelNesmith
Are you changing product codes and/or revision codes?

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

Posted: Tue May 25, 2010 7:09 am
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

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

Posted: Tue May 25, 2010 5:34 pm
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.