This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: To copy a file to the folder containing a file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 27, 2008
03:39 PM
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.")
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.")
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 28, 2008
10:29 AM
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.
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.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)