rbywater
Posts: 6
Joined: Mon Nov 11, 2013 10:25 pm

XML Import via CLI

I have an installer which works fine building an install from the GUI. However, we would like to automate our build process such that the installer gets generated without manual intervention. Within our (Java) app there are quite a number of XML files that get imported, post-processed, then the installer built.

Is this possible to do from the CLI? If so, can someone point me to documentation and perhaps an example?

Thanks,
Rick
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: XML Import via CLI

Hello Rick,

I'm afraid you cannot import an .XML file through the CLI. We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rbywater
Posts: 6
Joined: Mon Nov 11, 2013 10:25 pm

Re: XML Import via CLI

Is there any way around this? Perhaps with a custom action?

Perhaps I am asking the wrong question. We are simply looking for an unattended build. As it is now, we go in AI, do our imports, exit, run some VB scripts to massage the paths, re-enter AI, and do the build. Could we modify things so we do not need an import? We would be happy to modify things on our end.

This seems like a fairly mainstream desire. It would surprise me if we could not accomplish this task.

Thanks,
Rick
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: XML Import via CLI

Hello Rick,

I'm afraid the importing of an .XML file is not as easy as it looks like. Several custom actions(for configuration, removing, rollback that may occur) and custom tables are added in the Table Editor page(e.g. AI_Xml_Attribute, AI_XmlElement, AI_XmlFile).

However, you can send us a sample to support at advancedinstaller dot com with a detailed step by step test case and the related resources that you are using and maybe we can help you with a workaround.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: XML Import via CLI

Hello,

This improvement was added in version 10.8 of Advanced Installer released on December 10, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”