Hi everyone,

I am having problem in creating patch.
One of previous application got installed in one machine which has Msi with MST. During uninstallation of the application, it is removing the vendor folder as they have written a custom action to remove that folder (using rd command) forcefully.

Now I need to create a patch to comment that custom actions and write a new one to remove the subfolder instead of vendor  folder.

I have done the below steps to create the patch.

-->I have combined msi with mst ( done with Orca, Admin studio, One vbs file etc..)

--> Done admin instalaltion and created a copy of that folder

--> done changes that is commenting custom action which will remove the vendor folder and created one more custom action to remove the subfolder in the copied folder

--> Now created the patch using patch creation table

Now installed the Msi with MST, Installed patch. And now uninstalled the Msi. Still it is removing the Vendor folder as the cached mst is not getting changed.

Can any body help on this? ( I need to create only patch)



0 Comments   [ - ] Hide Comments


Please log in to comment

Community Chosen Answer



First thing to note is that you cannot play with Custom Actions in MSP.

Next, I will suggest you to create a new package which is an upgrade of this. Or install this application again with the changed MST and use REINSTALLMODE=vomus

'v' will recache the source.

For more information on REINSTALLMODE, you can see my post here:


Answered 02/07/2013 by: piyushnasa
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity



What relevance to the MST does the MSP have?!?!

Your strategy is a mess. For example:

- I have combined msi with mst ( done with Orca, Admin studio, One vbs file etc..)


As already stated, what you need is an update not a patch. You need to read and understand what a Windows Installer patch is before you do anything else.

Answered 02/08/2013 by: VBScab
Red Belt

Please log in to comment


Thank you for the reply...

My requirement is to give msp file. My client is not accepting mst so need to work on msp only.

Is there any solution to modify the recached mst with msp file?



Answered 02/08/2013 by: sanhivi
Third Degree Green Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja