During an upgrade it's looking for two different files. The test project finds them and reads the values everytime. It seems like my real project can't find the files (or don't know what files to search in). When I "test" the search from inside AI then all variables are found.
I have a test project where it works just great. Then in my real project I have the same (as far as I know) search. But in the real project none of the AI_XMLLocator actions return any of the values that the test project finds.
Out output from my test project:
Code: Select all
Action start 9:25:52: AI_XmlLocator.
MSI (s) (D0:48) [09:25:52:833]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1630.tmp, Entrypoint: OnXmlLocator
AI_XmlLocator: Executing XML file: "C:\Program Files (x86)\Your Company\Your Application\TargetWeb.xml" locators
MSI (s) (D0!5C) [09:25:52:882]: PROPERTY CHANGE: Adding AssetStoragePath property. Its value is 'c:\Archive\Assets'.
MSI (s) (D0!5C) [09:25:52:882]: PROPERTY CHANGE: Adding ReadSiteId property. Its value is 'eeff7271-c0aa-4181-99d1-639683d54fc4'.
AI_XmlLocator: Executing XML file: "C:\Program Files (x86)\Your Company\Your Application\Target.xml" locators
MSI (s) (D0!5C) [09:25:52:883]: PROPERTY CHANGE: Adding ReadInstallationGuid property. Its value is 'F51EECE1-97E2-42B2-BA91-2693BE8C2357'.
Action ended 9:25:52: AI_XmlLocator. Return value 1.
Code: Select all
MSI (s) (80:40) [05:35:43:325]: Doing action: AI_XmlLocator
Action 5:35:43: AI_XmlLocator. Executing XML locators
Action start 5:35:43: AI_XmlLocator.
MSI (s) (80:84) [05:35:43:350]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB8B5.tmp, Entrypoint: OnXmlLocator
Action ended 5:35:43: AI_XmlLocator. Return value 1.
Any advise for what to look for is appreciated!
/Carl
FOLLOW US
Get the latest news in Application Packaging