Unable to move files - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Unable to move files

Hi Mihai,

I am updating an xml file, that file was in my root directory.

My Destination location is a war file(my war file in Tomcat -> Webapps), while installing unable to extract war file.
After installation reboot is needed for service start and extracting war file. After rebooting, the file moving is not done on to Destination location. (Why because source file is xml, and Destination location is a war file location while in installation).

Please give answers for below questions

Question:1
Is there any provision for moving file to war file location while installing?

Question:2
Other wise please tell me any other alternative procedure for this type of file moving.

Thank you,
Udayk
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Unable to move files

Hello Udayk,

From my knowledge this is not a recommended practice. Any change to a web application archive requires regenerating the entire WAR file from its sources( using ANT for example ).
Also, please keep in mind that editing a WAR file is not supported by Advanced Installer. However, you can include the behavior from within your own custom action.
As this does not cover our installer support boundaries, we recommend you search the Internet for the appropriate solution.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
udayk
Posts: 126
Joined: Thu Jan 19, 2012 12:30 pm

Re: Unable to move files

Thank you Mihai,

I resolve this issue.

Return to “Common Problems”