I have the installer searching for 4 directories. The search is simply to get the paths of folders to install files into two different products, either of which may not be installed. For now, the installer works perfect if the user has both products or neither product installed but I'm getting an error if only 1 of the 2 products is installed.
Looking at the log, the error occurs during CostFinalize and the action text on the installer itself shows the error occurs while "Computing space requirements". The error is below:
MSI (c) (C4:E8) [17:55:26:222]: Note: 1: 1314 2: undefined
MSI (c) (C4:E8) [17:55:26:291]: Note: 1: 1606 2: undefined
Error 1606. Could not access network location undefined.
MSI (c) (C4:E8) [17:55:34:685]: Product: MyProduct -- Error 1606. Could not access network location undefined.
"undefined" is what I changed the default value for the search to. I have code later in the installer to disable checkboxes for custom installation of features if one of the searched paths is "undefined".
The root of the problem is that the folder doesn't exist because that product isn't installed but why is the installer trying to do anything with a folder I searched for? Doesn't the search return a blank path for a search not found? I double checked my custom actions to make sure I wasn't trying to use that data and I don't use it until showing a custom dialog to display the installation type selection screen (not the default selection screen, my own with checkboxes). How can I fix this error?
Thanks,
Justin
FOLLOW US
Get the latest news in Application Packaging