installation component only add missing and replace existing files

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

installation component only add missing and replace existing files

Postby dileep.tiwari » Tue Aug 18, 2020 1:46 am

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: 5047
Joined: Sun Aug 22, 2010 4:28 am

Re: installation component only add missing and replace existing files

Postby FrancescoT » Tue Aug 18, 2020 12:10 pm

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 183 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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 27 guests