Merge three MSI files into one???
Hi All,
I have 3 vendor MSI's which create services on the target machine. Is there any way to merge the three of them together into one single MSI file. When I try to replicate the Service MSI's or capture them they will not install the service for some reason and as such merging the three of them into one would be a perfect solution. Anyone got any ideas?
Cheers in advance[:)]
I have 3 vendor MSI's which create services on the target machine. Is there any way to merge the three of them together into one single MSI file. When I try to replicate the Service MSI's or capture them they will not install the service for some reason and as such merging the three of them into one would be a perfect solution. Anyone got any ideas?
Cheers in advance[:)]
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
spartacus
17 years ago
There is a sample script, WIMerge.vbs, that comes with the Windows Installer SDK (part of the Microsoft Platform SDK) that might be able to meet your needs.
As shipped, the script can merge 2 MSI databases, so unless you want to modify the script yourself you may need to run it twice to merge the first two and then merge the third msi with the result.
I haven't used this script myself, but there are comment lines in the script itself that guide you through what parameters are passed &c.
Regards,
Spartacus
As shipped, the script can merge 2 MSI databases, so unless you want to modify the script yourself you may need to run it twice to merge the first two and then merge the third msi with the result.
I haven't used this script myself, but there are comment lines in the script itself that guide you through what parameters are passed &c.
Regards,
Spartacus
Posted by:
oreillyr
17 years ago
Posted by:
spartacus
17 years ago
Glad you managed to find a way to do it, however for future reference, here's a partial extract from the WIReadMe.txt which accompanies all the Platform SDK Windows Installer related scripts :
[font="Courier New"]Copyright (c) Microsoft Corporation. All rights reserved.
Windows Installer utility scripts for use with Windows Scripting Host
WiLstPrd.vbs - lists products, product properties, features, and components
WiImport.vbs - imports files to an MSI database
WiExport.vbs - exports files from an MSI database
WiSubStg.vbs - adds a transform or nested MSI as a substorage
WiStream.vbs - adds an external stream to a MSI package (e.g CAB file)
WiMerge.vbs - merges twoMSI databases.
.
.
.
.
so I infer from the above that it can be used with MSI's - though I can't say I've ever tried.
Regards,
Spartacus
[font="Courier New"]Copyright (c) Microsoft Corporation. All rights reserved.
Windows Installer utility scripts for use with Windows Scripting Host
WiLstPrd.vbs - lists products, product properties, features, and components
WiImport.vbs - imports files to an MSI database
WiExport.vbs - exports files from an MSI database
WiSubStg.vbs - adds a transform or nested MSI as a substorage
WiStream.vbs - adds an external stream to a MSI package (e.g CAB file)
WiMerge.vbs - merges two
.
.
.
.
so I infer from the above that it can be used with MSI's - though I can't say I've ever tried.
Regards,
Spartacus
Posted by:
oreillyr
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.