If you ever have a need to change the order of files copied to the target system in a Basic MSI project, you can edit the File table.
Go to the Direct Editor view in the InstallShield IDE and select the File table. Here is a screenshot of the file table from one of my own projects:
The FileName column holds the name of the files being copied to the target system. The Component column holds the name of the Component that each file belongs to. For this discussion, we are interested in the Sequence column.
Notice that InstallShield places 1s in this column by default. But if you have a file that you want copied to the target system first, just leave that with a Sequence of 1, and change everything else to a greater number. Files are copied to the target system with the lowest sequence numbers first, highest sequence numbers last. In our example, let’s say we want Mega View.exe copied first, so we leave that as a 1. All other files should be changed to something greater. Here we are using 10.
Now, what’s the downside to this strategy? It’s that everytime you add new files to your project, you will have to go to the File table and set the Sequence for those files.
I entertained doing this for a client project, so I thought I would pass it on.