Apply mst to a msi permanent?
Hi all ¡¡
I want to modify dialogs of a existing msi file...
For that use tunner and i generate a .mst file...
If i use the command original.msi TRANSFORMS=original.mst this works fine.
But what I look is to have a transformed independent msi.
There is some way of applying the changes to the msi and that works without need to write the command (original.msi transforms= original.mst) whenever he executes it?
I want a .msi file with this changes.
Thanks ¡
I want to modify dialogs of a existing msi file...
For that use tunner and i generate a .mst file...
If i use the command original.msi TRANSFORMS=original.mst this works fine.
But what I look is to have a transformed independent msi.
There is some way of applying the changes to the msi and that works without need to write the command (original.msi transforms= original.mst) whenever he executes it?
I want a .msi file with this changes.
Thanks ¡
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
LB3
13 years ago
hello,
what would be the purpose of that exactly ? You are wanting a single file installer for some reason ?
You can either directly make the changes you made in the mst to the msi (direct edit) noting you shouldn't do this for vendor MSI's or you can create a wrapper .exe like a wise wrapper so you have a single exe that drops your MSI and MST file in a temp folder and runs the same msiexec command line and installs the transform.
The real question for me is why are you wanting to get rid of the MST or what's the reason for only wanting a single file.
what would be the purpose of that exactly ? You are wanting a single file installer for some reason ?
You can either directly make the changes you made in the mst to the msi (direct edit) noting you shouldn't do this for vendor MSI's or you can create a wrapper .exe like a wise wrapper so you have a single exe that drops your MSI and MST file in a temp folder and runs the same msiexec command line and installs the transform.
The real question for me is why are you wanting to get rid of the MST or what's the reason for only wanting a single file.
Posted by:
jcarri06
13 years ago
Posted by:
chaparro
13 years ago
Hello,
The motive is to have the minimal number of files.
i think the wrapper solution its complicated.There is no a form mas simple to do it?
The question is:
I can generate a msi with the modifications that exist in the mst or always I have to associate the mst with the msi with the command Transforms?
Thank you very much.
The motive is to have the minimal number of files.
i think the wrapper solution its complicated.There is no a form mas simple to do it?
The question is:
I can generate a msi with the modifications that exist in the mst or always I have to associate the mst with the msi with the command Transforms?
Thank you very much.
Posted by:
anonymous_9363
13 years ago
You do, indeed, recall correctly. I have just yesterday had to do that very thing. My reason was that the package simply would not deploy via GPO with an MST. That is, any MST, even one which merely added or changed a property. I even resorted to trying an embedded transform (this was a vendor MSI, hence the reluctance). Every iteration caused a 'Fatal error during installation'. Nothing of any value in the log, needless to say. Bizarrely, it installed without incident manually and via SCCM.
I'm somewhat reluctant to admit that I gave up and used the method J describes to create a combined MSI/MST :(
I'm somewhat reluctant to admit that I gave up and used the method J describes to create a combined MSI/MST :(
Posted by:
chaparro
13 years ago
Posted by:
jcarri06
13 years ago
Posted by:
chaparro
13 years ago
Posted by:
anonymous_9363
13 years ago
You'll find it a lot quicker with Orca:
- open the MSI in Orca
- select 'Transform/Apply transform' (or, quicker still, drag and drop the MST on to Orca's window)
- select 'File/Save Transformed as...'
- type in a new MSI name
- click 'Save'.
I can guarantee it'll be an order of magnitude quicker than waiting for AS to wind up, do its internal juggling and finally save the file.
Once you get more experienced, you'll find yourself using Orca (or, even better, InstEdit) more and more for these quick and dirty jobs.
- open the MSI in Orca
- select 'Transform/Apply transform' (or, quicker still, drag and drop the MST on to Orca's window)
- select 'File/Save Transformed as...'
- type in a new MSI name
- click 'Save'.
I can guarantee it'll be an order of magnitude quicker than waiting for AS to wind up, do its internal juggling and finally save the file.
Once you get more experienced, you'll find yourself using Orca (or, even better, InstEdit) more and more for these quick and dirty jobs.
Posted by:
jmcfadyen
13 years ago
you should probably also be aware some vendors do not allow direct editing of their msi. You should read the EULA that accompanies the vendors application to ensure you are not breaking their terms of agreement.
This solution although it works is often breaching these agreements and your perfect world of least files will come crumbling down around you. Which in the long run is why most of us do not do this.
This solution although it works is often breaching these agreements and your perfect world of least files will come crumbling down around you. Which in the long run is why most of us do not do this.
Posted by:
strel
13 years ago
Hi.
Is there any way to apply a transform saving the transformed .msi through the command line? Is there any program or script to do that?
Thx
EDIT: I got it, WiUseXfm.vbs or msitran.exe from windows installer SDK. But is there any other option around not having to get the SDK
EDIT2: Having the sample of WiUseXfm.vbs, I did my own script with the same technique. My intention is to remove table items only not to touch files therein. So it worked.
Is there any way to apply a transform saving the transformed .msi through the command line? Is there any program or script to do that?
Thx
EDIT: I got it, WiUseXfm.vbs or msitran.exe from windows installer SDK. But is there any other option around not having to get the SDK
EDIT2: Having the sample of WiUseXfm.vbs, I did my own script with the same technique. My intention is to remove table items only not to touch files therein. So it worked.

so that the conversation will remain readable.