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
- :
- MSI installer with external files
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
‎May 19, 2008
04:22 PM
MSI installer with external files
I have an .msi installer working. Now we would like to include various files that would be external to the .msi, and include those files over the ones in the installer.
Can this be done? I know that there will be an .xml file and several image files with known filenames that should be copied during the installation from the external source.
Thanks in advance,
Don Metzler
Can this be done? I know that there will be an .xml file and several image files with known filenames that should be copied during the installation from the external source.
Thanks in advance,
Don Metzler
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2008
09:14 AM
Yes it can - add entries to the MoveFile table. For the SourceFolder entry you can use SETUPEXEDIR (Setup.exe) Or SOURCEDIR (.msi file) to get the location where your Setup.exe or .MSI file is located assuming your external files are co-located.
Note though that the MoveFiles action by default is before the InstallFiles action, so if you want them to overwrite an installed file you need to condition out the component installing the files or reschedule the MoveFile action to after. Remember not to set any of these files as Key Files or they will get overwritten again on a Modify/Repair.
Note though that the MoveFiles action by default is before the InstallFiles action, so if you want them to overwrite an installed file you need to condition out the component installing the files or reschedule the MoveFile action to after. Remember not to set any of these files as Key Files or they will get overwritten again on a Modify/Repair.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2008
02:04 AM
Nick Umanski wrote:
Yes it can - add entries to the MoveFile table. For the SourceFolder entry you can use SETUPEXEDIR (Setup.exe) Or SOURCEDIR (.msi file) to get the location where your Setup.exe or .MSI file is located assuming your external files are co-located.
Note though that the MoveFiles action by default is before the InstallFiles action, so if you want them to overwrite an installed file you need to condition out the component installing the files or reschedule the MoveFile action to after. Remember not to set any of these files as Key Files or they will get overwritten again on a Modify/Repair.
Thanks for the information.
My installer project is a Basic MSI Project and I am not seeing how to add entries to the MoveFile table.
Thanks,
Don
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2008
07:49 AM
All my installer are basic MSI ones.
Use the Direct Editor to add entries to the MoveFile table.
Use the Direct Editor to add entries to the MoveFile table.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2008
02:16 PM
Nick Umanski wrote:
All my installer are basic MSI ones.
Use the Direct Editor to add entries to the MoveFile table.
Thanks. This is what I needed.
Regards,
Don
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 04, 2008
06:26 PM
Nick Umanski wrote:
Yes it can - add entries to the MoveFile table. For the SourceFolder entry you can use SETUPEXEDIR (Setup.exe) Or SOURCEDIR (.msi file) to get the location where your Setup.exe or .MSI file is located assuming your external files are co-located.
Note though that the MoveFiles action by default is before the InstallFiles action, so if you want them to overwrite an installed file you need to condition out the component installing the files or reschedule the MoveFile action to after. Remember not to set any of these files as Key Files or they will get overwritten again on a Modify/Repair.
I want to set the SourceFolder to the location where the .msi is located when it is run, and the DestFolder to the location [ProgramFilesFolder]MyProgram\Data.
1) Is there a variable to determine where the source .msi is located?
2) The MoveFiles table does not allow the '[' or ']' character. How can I set the DestFolder to the path: [ProgramFilesFolder]MyProgram\Data ?
Thanks,
Don
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2010
12:22 AM
You should use the Directory table to set up the destination path.