FauldsA
Posts: 2
Joined: Mon Jul 03, 2017 3:18 pm

Copying files after chained MSI

Is there a way to copy files after a chained MSI has run? I have a 3rd party MSI given to me and we need to copy new files over what the MSI installs to customise them.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Copying files after chained MSI

Hello,

A possible solution would be to transform the chained prerequisite into a "Pre-install" prerequisite. In this way, the files from "Files and folders" page could overwrite the files deployed by the prerequisite package.

If this solution doesn't fit to your desired scenario, the file copy could be implemented by using a "Launch File" custom action that launches a batch file. This custom action should be placed last in the "Install Execute Sequence". The files you need to copy after the chained prerequisite install could be added to your project as temporary files and passed to the batch file as arguments.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”