Hi Dan,
I have problem in updating an XML File in the installation location. As per the tutorials provided in advanced installer.. I have imported an XML File and added few tags at the last section of the file.... This file holds the existing tags.. When I install the installer.. the file gets updated.. However it was not getting updated in a proper way... The tags that I have created in the last section of the file gets merged with each other...
For Example: My XML File is in this particular format before importing
<FilePath>
<StartUpPath>
<Type>RepSchema</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepLayouts</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<FilePath>
After Import I have updated the contents of the xml to this way.
<FilePath>
<StartUpPath>
<Type>RepSchema</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepLayouts</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepLayouts01</Type>
<Path>[APPDIR]Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepSchema01</Type>
<Path>[APPDIR]Reports\</Path>
</StartUpPath>
<FilePath>
After this I built the installer and installed the exe...
The file gets created in this particular format.
<FilePath>
<StartUpPath>
<Type>RepLayouts01RepSchema01</Type>
<Path>[APPDIR]Reports\[APPDIR]Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepSchema</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<StartUpPath>
<Type>RepLayouts</Type>
<Path>C:\Program Files (x86)\Application Server\Reports\</Path>
</StartUpPath>
<FilePath>
May I know, where I am going wrong.
Regards,
G.V.N.Sandeep
FOLLOW US
Get the latest news in Application Packaging