MSI returns 1606 Could not access location

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

MSI returns 1606 Could not access location

Davut Karabay

Hi,

I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?

Thanks,
Davut
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Rob Mensching-4
This happens if your MSI requires the original source media for some
reason during uninstall.  Usually, it's some coding error that causes
this problem.  Look in the verbose log file and see what is causing the
source prompt.

Davut Karabay wrote:

> Hi,
>
> I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
>
> Thanks,
> Davut
> _________________________________________________________________
> Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> WiX-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Davut Karabay
Hi Rob - Thank you for your reply. Do you mean I require network share to exist during uninstall (in the WIX code)? Isn't that a requirement by MSI which I don't have control over? Here is the log. I couldn't understand anything useful other than error code.
 
...
Id start 13:48:25: CostFinalize.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2205 2:  3: MsiAssembly
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.
MSI (c) (4C:38) [13:48:25:825]: PROPERTY CHANGE: Adding enUS property. Its value is '\\wmiscratch\scratch\davut\DaRT\en-us'.
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Patch
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Condition
MSI (c) (4C:38) [13:48:25:840]: PROPERTY CHANGE: Adding MSDARTShortCuts property. Its value is 'C:\Users\Davut\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Diagnostics and Recovery Toolset\'.
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1314 2: <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1606 2: <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:637]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:652]: Note: 1: 1606 2: <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:32:909]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
Id ended 13:48:32: CostFinalize. Return value 3.
...

Thanks,
Davut



> Date: Wed, 31 Oct 2007 11:35:43 -0700

> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [WiX-users] MSI returns 1606 Could not access location
>
> This happens if your MSI requires the original source media for some
> reason during uninstall. Usually, it's some coding error that causes
> this problem. Look in the verbose log file and see what is causing the
> source prompt.
>
> Davut Karabay wrote:
> > Hi,
> >
> > I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
> >
> > Thanks,
> > Davut
> > _________________________________________________________________
> > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >



Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. Play Now!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Blair Murri

MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.

 

This line seems to me to be the primary reason. TARGETDIR is the location where the software has been installed. It seems to me that it can’t erase it out of the network share if the network share doesn’t exist.

 

The MSDN docs say that KB886549 can also produce 1606 errors (http://support.microsoft.com/kb/886549/en-us). But, instead I think it is something wrong in your directory table and/or passed in command-line values.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Davut Karabay
Sent: Thursday, November 01, 2007 2:28 PM
To: Rob Mensching
Cc: [hidden email]
Subject: Re: [WiX-users] MSI returns 1606 Could not access location

 

Hi Rob - Thank you for your reply. Do you mean I require network share to exist during uninstall (in the WIX code)? Isn't that a requirement by MSI which I don't have control over? Here is the log. I couldn't understand anything useful other than error code.
 
...
Id start 13:48:25: CostFinalize.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2205 2:  3: MsiAssembly
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.
MSI (c) (4C:38) [13:48:25:825]: PROPERTY CHANGE: Adding enUS property. Its value is '\\wmiscratch\scratch\davut\DaRT\en-us'.
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Patch
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Condition
MSI (c) (4C:38) [13:48:25:840]: PROPERTY CHANGE: Adding MSDARTShortCuts property. Its value is 'C:\Users\Davut\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Diagnostics and Recovery Toolset\'.
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1314 2: <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1606 2: <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:637]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:652]: Note: 1: 1606 2: <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:32:909]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location <a href="file:///\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT.
Id ended 13:48:32: CostFinalize. Return value 3.
...

Thanks,
Davut



> Date: Wed, 31 Oct 2007 11:35:43 -0700
> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [WiX-users] MSI returns 1606 Could not access location
>
> This happens if your MSI requires the original source media for some
> reason during uninstall. Usually, it's some coding error that causes
> this problem. Look in the verbose log file and see what is causing the
> source prompt.
>
> Davut Karabay wrote:
> > Hi,
> >
> > I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
> >
> > Thanks,
> > Davut
> > _________________________________________________________________
> > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >


Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. Play Now!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Davut Karabay
Are you saying that TARGETDIR should not be set to <A href="file://\\wmiscratch\scratch\davut\DaRT">\\wmiscratch\scratch\davut\DaRT? But that's where software was installed right?. Installer should be setting it internally. My problem is; if the share become unavailable then there seems to be no way out. Can't uninstall or repair, or install on top of existing.


From: [hidden email]
To: [hidden email]; [hidden email]
CC: [hidden email]
Date: Thu, 1 Nov 2007 14:50:41 -0700
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.

 

This line seems to me to be the primary reason. TARGETDIR is the location where the software has been installed. It seems to me that it can’t erase it out of the network share if the network share doesn’t exist.

 

The MSDN docs say that KB886549 can also produce 1606 errors (http://support.microsoft.com/kb/886549/en-us). But, instead I think it is something wrong in your directory table and/or passed in command-line values.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Davut Karabay
Sent: Thursday, November 01, 2007 2:28 PM
To: Rob Mensching
Cc: [hidden email]
Subject: Re: [WiX-users] MSI returns 1606 Could not access location

 

Hi Rob - Thank you for your reply. Do you mean I require network share to exist during uninstall (in the WIX code)? Isn't that a requirement by MSI which I don't have control over? Here is the log. I couldn't understand anything useful other than error code.
 
...
Id start 13:48:25: CostFinalize.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2205 2:  3: MsiAssembly
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.
MSI (c) (4C:38) [13:48:25:825]: PROPERTY CHANGE: Adding enUS property. Its value is '\\wmiscratch\scratch\davut\DaRT\en-us'.
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Patch
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Condition
MSI (c) (4C:38) [13:48:25:840]: PROPERTY CHANGE: Adding MSDARTShortCuts property. Its value is 'C:\Users\Davut\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Diagnostics and Recovery Toolset\'.
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1314 2: \\wmiscratch\scratch\davut\DaRT
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:637]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:652]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:32:909]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
Id ended 13:48:32: CostFinalize. Return value 3.
...

Thanks,
Davut



> Date: Wed, 31 Oct 2007 11:35:43 -0700
> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [WiX-users] MSI returns 1606 Could not access location
>
> This happens if your MSI requires the original source media for some
> reason during uninstall. Usually, it's some coding error that causes
> this problem. Look in the verbose log file and see what is causing the
> source prompt.
>
> Davut Karabay wrote:
> > Hi,
> >
> > I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
> >
> > Thanks,
> > Davut
> > _________________________________________________________________
> > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >


Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. Play Now!



Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Blair Murri
All I'm saying is that if you remove the location that the software is installed to, it is unreasonable to uninstall, repair, reinstall, or perform any other operation since the location the software has been installed to no longer exists. What do you want Windows Installer to do differently? It has no chance to even confirm that the directories were removed since the volume they reside on is no longer accessible.
 
This is expected behavior from WI, and is "By Design". Nothing wix can do to change it. Either restore the volume or get MsiZap.

From: Davut Karabay [[hidden email]]
Sent: Friday, November 02, 2007 12:47 AM
To: Blair Murri; Rob Mensching
Cc: [hidden email]
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

Are you saying that TARGETDIR should not be set to <a href="file://\\wmiscratch\scratch\davut\DaRT" target="_blank">\\wmiscratch\scratch\davut\DaRT? But that's where software was installed right?. Installer should be setting it internally. My problem is; if the share become unavailable then there seems to be no way out. Can't uninstall or repair, or install on top of existing.


From: [hidden email]
To: [hidden email]; [hidden email]
CC: [hidden email]
Date: Thu, 1 Nov 2007 14:50:41 -0700
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.

 

This line seems to me to be the primary reason. TARGETDIR is the location where the software has been installed. It seems to me that it can’t erase it out of the network share if the network share doesn’t exist.

 

The MSDN docs say that KB886549 can also produce 1606 errors (http://support.microsoft.com/kb/886549/en-us). But, instead I think it is something wrong in your directory table and/or passed in command-line values.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Davut Karabay
Sent: Thursday, November 01, 2007 2:28 PM
To: Rob Mensching
Cc: [hidden email]
Subject: Re: [WiX-users] MSI returns 1606 Could not access location

 

Hi Rob - Thank you for your reply. Do you mean I require network share to exist during uninstall (in the WIX code)? Isn't that a requirement by MSI which I don't have control over? Here is the log. I couldn't understand anything useful other than error code.
 
...
Id start 13:48:25: CostFinalize.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2205 2:  3: MsiAssembly
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.
MSI (c) (4C:38) [13:48:25:825]: PROPERTY CHANGE: Adding enUS property. Its value is '\\wmiscratch\scratch\davut\DaRT\en-us'.
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Patch
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Condition
MSI (c) (4C:38) [13:48:25:840]: PROPERTY CHANGE: Adding MSDARTShortCuts property. Its value is 'C:\Users\Davut\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Diagnostics and Recovery Toolset\'.
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1314 2: \\wmiscratch\scratch\davut\DaRT
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:637]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:652]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:32:909]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
Id ended 13:48:32: CostFinalize. Return value 3.
...

Thanks,
Davut



> Date: Wed, 31 Oct 2007 11:35:43 -0700
> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [WiX-users] MSI returns 1606 Could not access location
>
> This happens if your MSI requires the original source media for some
> reason during uninstall. Usually, it's some coding error that causes
> this problem. Look in the verbose log file and see what is causing the
> source prompt.
>
> Davut Karabay wrote:
> > Hi,
> >
> > I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
> >
> > Thanks,
> > Davut
> > _________________________________________________________________
> > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >


Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. Play Now!



Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|

Re: MSI returns 1606 Could not access location

Davut Karabay
Thank you for the clarification!




From: [hidden email]
To: [hidden email]; [hidden email]
CC: [hidden email]
Date: Fri, 2 Nov 2007 07:26:39 -0700
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

All I'm saying is that if you remove the location that the software is installed to, it is unreasonable to uninstall, repair, reinstall, or perform any other operation since the location the software has been installed to no longer exists. What do you want Windows Installer to do differently? It has no chance to even confirm that the directories were removed since the volume they reside on is no longer accessible.
 
This is expected behavior from WI, and is "By Design". Nothing wix can do to change it. Either restore the volume or get MsiZap.

From: Davut Karabay [[hidden email]]
Sent: Friday, November 02, 2007 12:47 AM
To: Blair Murri; Rob Mensching
Cc: [hidden email]
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

Are you saying that TARGETDIR should not be set to \\wmiscratch\scratch\davut\DaRT? But that's where software was installed right?. Installer should be setting it internally. My problem is; if the share become unavailable then there seems to be no way out. Can't uninstall or repair, or install on top of existing.


From: [hidden email]
To: [hidden email]; [hidden email]
CC: [hidden email]
Date: Thu, 1 Nov 2007 14:50:41 -0700
Subject: RE: [WiX-users] MSI returns 1606 Could not access location

MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.

 

This line seems to me to be the primary reason. TARGETDIR is the location where the software has been installed. It seems to me that it can’t erase it out of the network share if the network share doesn’t exist.

 

The MSDN docs say that KB886549 can also produce 1606 errors (http://support.microsoft.com/kb/886549/en-us). But, instead I think it is something wrong in your directory table and/or passed in command-line values.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Davut Karabay
Sent: Thursday, November 01, 2007 2:28 PM
To: Rob Mensching
Cc: [hidden email]
Subject: Re: [WiX-users] MSI returns 1606 Could not access location

 

Hi Rob - Thank you for your reply. Do you mean I require network share to exist during uninstall (in the WIX code)? Isn't that a requirement by MSI which I don't have control over? Here is the log. I couldn't understand anything useful other than error code.
 
...
Id start 13:48:25: CostFinalize.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:747]: PROPERTY CHANGE: Adding PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2205 2:  3: MsiAssembly
MSI (c) (4C:38) [13:48:25:762]: Note: 1: 2228 2:  3: MsiAssembly 4:  SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`,  `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE  `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (c) (4C:38) [13:48:25:762]: PROPERTY CHANGE: Modifying TARGETDIR property. Its current value is 'C:\Program Files\Microsoft Diagnostics and Recovery Toolset'. Its new value: '\\wmiscratch\scratch\davut\DaRT'.
MSI (c) (4C:38) [13:48:25:825]: PROPERTY CHANGE: Adding enUS property. Its value is '\\wmiscratch\scratch\davut\DaRT\en-us'.
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Patch
MSI (c) (4C:38) [13:48:25:840]: Note: 1: 2205 2:  3: Condition
MSI (c) (4C:38) [13:48:25:840]: PROPERTY CHANGE: Adding MSDARTShortCuts property. Its value is 'C:\Users\Davut\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Diagnostics and Recovery Toolset\'.
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1314 2: \\wmiscratch\scratch\davut\DaRT
MSI (c) (4C:38) [13:48:25:903]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:637]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:31:652]: Note: 1: 1606 2: \\wmiscratch\scratch\davut\DaRT
Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
MSI (c) (4C:38) [13:48:32:909]: Product: Microsoft Diagnostics and Recovery Toolset 6.0 -- Error 1606. Could not access network location \\wmiscratch\scratch\davut\DaRT.
Id ended 13:48:32: CostFinalize. Return value 3.
...

Thanks,
Davut



> Date: Wed, 31 Oct 2007 11:35:43 -0700
> From: [hidden email]
> To: [hidden email]
> CC: [hidden email]
> Subject: Re: [WiX-users] MSI returns 1606 Could not access location
>
> This happens if your MSI requires the original source media for some
> reason during uninstall. Usually, it's some coding error that causes
> this problem. Look in the verbose log file and see what is causing the
> source prompt.
>
> Davut Karabay wrote:
> > Hi,
> >
> > I run my insaller (e.g. msiexec /i XYZ.msi). Select a network path to install (e.g. \\somecomputer\someshare\installdir). Product is installed with success. Now delete the network path. Run the installer again. It returns 1606 saying that could not access the network location. Installer is stuck. Can't uninstall or repair. Is this by design? Can I handle it differently?
> >
> > Thanks,
> > Davut
> > _________________________________________________________________
> > Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
> > http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > WiX-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >


Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. Play Now!



Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!


Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users