windows-installerinstallshieldinstallscript-msi

InstallShield File Sequence Numbers


I'm adding files to an existing InstallShield MSI project, building the MSI, and then creating an MSP from it to apply to existing installations.

Problem is, when I add new files to the MSI project, the sequence numbers aren't set incrementally. I went into the Direct Editor, and edited the sequence numbers to make them start where the old ones stopped, but when I build the project, the sequence numbers I entered are ignored. If the sequence numbers are different like this, it will cause the MSP to not install correctly.

Is there a way to fix the sequence numbers getting overriden by InstallShield? If I don't add any new files to the project, the sequence numbers of the existing files stay the same. It's as if the new files I'm adding are getting installed "in the middle".

Any thoughts?

Thanks


Solution

  • Could be a few issues...

    If I remember correctly, I think you need to build the new MSI after setting the property used to point to the previous MSI package. That will force the new package to use the same file IDs as the old package.

    If that doesn't fix the problem, it probably has something to do with a combination of how you're adding the new files to the package (do you have external CAB files?) and the patch build option to build a 'binary' patch