MSI - need to update contents of large MSI best approach
Hi
I have a large MSI (2.1 gigs) which i repackaged, unfortunately there is some updates that I need to do the MSI. I originally used set-up capture to compile the project and made all my changes ect in Installshield.
I need to copy around 300 files around 600 megs into different folders in the MSI, however due to how long it takes to compile the file MSI (over 6 hours) and the amount of customisation that I have done for it, its not as simple as just replacing the files directly in the MSI.
I'm wondering if anyone has a suggestion as to how I may approach this without having to repackage everything I have done thus far.
Trying to do a transform of the existing msi crashes InstallShield I thought possibly trying to open the MSI as an MSN? But I'm wondering if this would keep all my current settings, customisations ect ect.?
Can anyone help?
1 Comment
[ + ] Show comment
-
Why not just build a new MSI with the additional/replacement files and make installation of the first MSI a prerequisite? - anonymous_9363 10 years ago
Answers (5)
Please log in to answer
Posted by:
EdT
10 years ago
Do bear in mind that most tools offer compile options such as external uncompressed files, etc.
So for update and testing, use the external uncompressed compile option as this compiles a lot faster. Once you have tested and found the MSI works correctly, you can then kick off a full compile.
One other option would be to create a patch to the original MSI. Untimately however, the speed of installation and the size of the deployment will never be quite as efficient as a full recompile with older versions of files removed.
Posted by:
EdT
10 years ago
Posted by:
dj_xest
10 years ago
The simplest approach would be to use what VBscab was suggesting about creating another MSI and make the previous one a prerequisite. If you want to get rid of the previous one and you only have newer files, it would be worth spending time on using the old project file and just drop the newer files, bump up the version, change the productcode, configre the upgrade table and then recompile. You can also do patch if you want.
Posted by:
Prabs
10 years ago
Open the MSI InstallShield and save the opened MSI as MST (Donātdo any changes). Open the saved MST and add the files and save the MST whichnormally create compress cab file.
Recompiling the Original MSI may cause more issues than creating an MST and it is very easier to create MST from my experience.
Comments:
-
MST would be better for him if Installshield is not crashing as he said.. I don't see any issue recompiling the original MSI and update it. If it came from the vendor, yes. - dj_xest 10 years ago