How to update the recached mst with patch
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)
Regards,
Sanhivi
Answers (3)
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:
http://msiworld.blogspot.com.au/2008/10/how-reinstallmodeamus-works.html
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..)
WHY?!?
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.