Detecting existence of files during packaged install
I have an application I am packaging which has additional
configuration steps on initial launch of the application, post install . One of the challenge questions is to “specify” the
location of a specific file if it exists on the machine. The other option is to
“install” the file if not on the machine, created as part of the
install. I need my package to detect if the file exists on the machine. If
detected, it should leave the existing file for use with this install. If not
detected, then the files need to be installed. I am compiling my ISM with the
files in question showing in the folder. With the files existing on the machine
for my capture, my thinking is that this should allow for a custom action which
would detect the presence of the files.
Can a custom action be added to detect the presence of a
file and install the file if not there?
I am very green when it comes to custom actions and
especially so when vbscripts are involved. Please be as specific as possible.
Any direction is greatly appreciated.
I am using Admin Studio InstallShield 2015 Premier.
Thank you in advance!