Page 1 of 1

installation component only add missing and replace existing files

Posted: Tue Aug 18, 2020 1:46 am
by dileep.tiwari
Hi Team,
can we do this with InstallAware:

If a user selects to install a component called for eg. DATA (this is permanent folder/files), we should only add missing files not present (like newly added reports) or replace existing (like a shape file fix) in the target DATA folder. Currently we somehow remove user created files like a cloned shape or report file which is undesired.

can we keep user edited files to target directory when we try to install setup for next time, it should only add newly added files and replace existing files. it should not delete cloned/ manually edited file.

Please let me know can we do this?
Thanks,
Dileep

Re: installation component only add missing and replace existing files

Posted: Tue Aug 18, 2020 12:10 pm
by FrancescoT
Of course you can. Via script code you can conditionally install any file or component as you prefer.

For example:
file_exists.png
file_exists.png (5.92 KiB) Viewed 1986 times