I am trying to reread a value from an XML file into my Installshield Basic MSI project on upgrades because it always insists on overwriting my XML files modified through xml file changes with default values. When I go to the "System Search" screen, I add a new XML file value via the System Search Wizard. Then I enter the file name of the exe.config file (contents below), I specify the full path to where the file is installed, I enter "/configuration/appSettings/add[@key="UiServiceIpAddress"]" for XPath. I have it search for the value of the attribute "value" and tell it to store the value in a valid property.
When I run this msi, it does not seem to do anything. Upon looking at my MSI log (output below), I can see the AppSearch run, but it does not even mention my xml appsearch. After googling a bit, I figured out how to run a validation on my MSI. There is an error associated with it that reads "Invalid Filename; Table: Signature, Column FileName, Key(s): NewSignature1". The filename appears valid to me. So I am stumped.
Msi log output:
Action start 13:21:48: AppSearch.
AppSearch: Property: IEXPLORE, Signature: IEXPLORE_REG.C8C0673E_50E5_4AC4_817B_C0E4C4466990
MSI (c) (80:B0) [13:21:48:597]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (80:B0) [13:21:48:597]: WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Internet Explorer\IEXPLORE.EXE' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0).
MSI (c) (80:B0) [13:21:48:597]: PROPERTY CHANGE: Adding IEXPLORE property. Its value is 'C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE'.
AppSearch: Property: DOTNETVERSION40FULL, Signature: DotNet40Full
MSI (c) (80:B0) [13:21:48:597]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (80:B0) [13:21:48:597]: PROPERTY CHANGE: Adding DOTNETVERSION40FULL property. Its value is '#1'.
Action ended 13:21:48: AppSearch. Return value 1.
XML file:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add value="127.0.0.1" key="UiServiceIpAddress"></add>
</appSettings>
</configuration>