Oct 31, 2011
04:59 PM
It is 2012. I did find the problem. The appSearch and ISXmlAppSearch actions were in both the UI and Execute sequences. Even though the ISXmlAppSearch is set to 'Immediate Execution' and 'Execute only once', it was executing twice as shown in the log file. The second execution during the execute sequence would delete the property value that was set during the UI sequence. I am using the app search to pre-populate the property if it already exists on the target system. Thanks
... View more
Oct 28, 2011
03:17 PM
This is my log when tag exists in source file: ... InstallShield 13:53:16: Installing XML Component 'Server.config' InstallShield 13:53:16: Installing XML file 'C:\Program Files\Comapny\Product\Server\Server.config' InstallShield 13:53:16: Using MSXML version 6 InstallShield 13:53:16: Processing XPath '//' InstallShield 13:53:16: Processing XPath '//Key' InstallShield 13:53:16: Saving XML file 'C:\Program Files\Comapny\Product\Server\Server.config' InstallShield 13:53:16: Formatting XML document InstallShield 13:53:16: Using MSXML version 6 InstallShield 13:53:16: Loading stylesheet InstallShield 13:53:16: Successfully loaded stylesheet InstallShield 13:53:16: Using MSXML version 6 InstallShield 13:53:16: Done Formatting XML document ... Without tag in source file: InstallShield 14:03:11: Installing XML Component 'Server.config' InstallShield 14:03:11: Installing XML file 'C:\Program Files\Comapny\Product\Server\Server.config' InstallShield 14:03:11: Using MSXML version 6 InstallShield 14:03:11: Processing XPath '//' InstallShield 14:03:11: Processing XPath '//Key' InstallShield 14:03:11: XPath '//Key' not found, creating InstallShield 14:03:11: Creating element: Name=Key, Namespace= InstallShield 14:03:11: Creating text node 19D35623D76E4BF0D739A183E46CEFBC4C06F448B4D4F3E63D590CD8034D06CA InstallShield 14:03:11: Saving XML file 'C:\Program Files\Comapny\ProductServer\Server.config' InstallShield 14:03:11: Formatting XML document InstallShield 14:03:11: Using MSXML version 6 InstallShield 14:03:11: Loading stylesheet InstallShield 14:03:11: Successfully loaded stylesheet InstallShield 14:03:11: Using MSXML version 6 InstallShield 14:03:11: Done Formatting XML document I am using the same settings as shown in your image. Any ideas? Thanks
... View more
Oct 27, 2011
05:28 PM
I have XML changes configured for an element. If the element does not exist in the xml file, then it is added and the content set correctly. Starting file content: Add element data: My property value inserted here. However if the element exists in the file like: then the installer will not set the content of Key. Why? Has anyone else seen this? I am having the same problem with attributes. They are not updated. If I delete the element from the source file and then run the installer, the element is created and added correctly. I have tried many combinations of the options with no luck. Installscript MSI project running on Win7 64 bit. Note: Test XML File Install Changes produces output as shown: Input: Result: [MYPROPERTY] Thanks in advance.
... View more
Labels
- Labels:
-
InstallShield 2012
Latest posts by todd_gomon
Subject | Views | Posted |
---|---|---|
1273 | Oct 31, 2011 04:59 PM | |
1273 | Oct 28, 2011 03:17 PM | |
4627 | Oct 27, 2011 05:28 PM |
Activity Feed
- Posted Re: XML file changes are not updating existing elements on InstallShield Forum. Oct 31, 2011 04:59 PM
- Posted Still no updates, only creation of new tags. on InstallShield Forum. Oct 28, 2011 03:17 PM
- Posted XML file changes are not updating existing elements on InstallShield Forum. Oct 27, 2011 05:28 PM