/build/static/layout/Breadcrumb_cap_w.png

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 


0 Comments   [ + ] Show comments

Answers (3)

Posted by: piyushnasa 11 years ago
Red Belt
2

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

Posted by: anonymous_9363 11 years ago
Red Belt
1

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.

Posted by: sanhivi 11 years ago
Third Degree Green Belt
0

Hi,

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?

Regards,

Sanhivi

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ