installation component only add missing and replace existing files

Got a problem you cannot solve? Try here.
Post Reply
dileep.tiwari
Posts: 16
Joined: Thu Sep 05, 2019 6:42 am

installation component only add missing and replace existing files

Post 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
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: installation component only add missing and replace existing files

Post 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 3411 times
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply