If you work with .NET applications, you may already be familiar with the need to duplicate .config files into multiple directories.
Fortunately, if you have the need to duplicate files (such as .config files), you can do that pretty easily using InstallShield.
On the down side, InstallShield does not provide a direct User Interface in Installation Designer to accomplish this, but rather, you must manually edit the DuplicateFile table in DirectEditor.
Now when your InstallShield package runs, it will read the values out of the DuplicateFile table and appropriately duplicate the files on the file system for you!
Fortunately, if you have the need to duplicate files (such as .config files), you can do that pretty easily using InstallShield.
On the down side, InstallShield does not provide a direct User Interface in Installation Designer to accomplish this, but rather, you must manually edit the DuplicateFile table in DirectEditor.
- Open up Direct Editor
- Click on the DuplicateFile table
- Click on the New button to add a new record to the DuplicateFile table
- At a minimum, enter the FileKey, Component and File values for the record. The DestName and DestFolder fields are optional if you want to rename the file or transfer the file to a different folder that does not currently belong to an existing component within InstallShield.
Now when your InstallShield package runs, it will read the values out of the DuplicateFile table and appropriately duplicate the files on the file system for you!
In this condition I used DuplicateFilesDeleter effectively. This software will let you get a huge amount of space for your use by deleting the files that were at multiple locations.
ReplyDelete