I need to move a file to a different place on the disk at the end of the install.

How do I do that?

asked 06 Mar '12, 13:33

bstoke's gravatar image

bstoke
16222224
accept rate: 0%


You can use the <renameFile> action. For example in the <postInstallationActionList>:

<postinstallationactionlist> <renamefile> <destination>${installdir}/config.ini.bak</destination> <origin>${installdir}/config.ini</origin> </renamefile> </postinstallationactionlist>
link

answered 06 Mar '12, 13:40

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 06 Mar '12, 13:33

Seen: 589 times

Last updated: 06 Mar '12, 13:40

Related questions