Loading
To copy a file to the folder containing a file
I only want installer to search all hard drives to find folder with file called "somefile.dot" in it (it's six folders and subfolders deep), and then to copy my file, called "mytemplate.dot," in that same folder.

 

I am new to InstallShield. How do I do that?

 

(It would be nice if it could also run mytemplate.dot after it's copied there, and after user pressed "Finish.")

  • 0_M Urman (Flexera Software)

    Assuming you're using a Basic MSI project, you can do the first with a System Search (see the help for more details). Pair it with an entry in the DuplicateFiles table, and it will be copied.

     

    The launching is easiest if you know the exe to launch, but can be done with a Custom Action either way. You can launch the custom action from a DoAction event on the dialog, and it can either be an EXE custom action, or some code you write in e.g., a DLL custom action.
    Expand Post

Loading
To copy a file to the folder containing a file