/build/static/layout/Breadcrumb_cap_w.png

Deleting changes from MST-file?

I accidently deleted a registrykey when creating an MST and need to revoke that deletion. Several changes have been made and the MST has been recompiled several times.

Is there a way to edit the MST and remove ONLY the deletion of that registrykey?

Cheers and have a nice monday!

0 Comments   [ + ] Show comments

Answers (5)

Posted by: dm1 18 years ago
Blue Belt
0
Just export the registry key from the MSI and add it back into your transform..

I'm not sure what you mean by 'remove ONLY the deletion of that registrykey'?
Posted by: mgroover 18 years ago
Senior Yellow Belt
0
Well, yes.. This is an option to do things but I was more interested if there is any way of editing the MST so you can remove just some of the changes you have made. For instance, if I deleted a file and later on find out it needs to be in the package. How do I get it back without extracting the file from the original MSI and then re-importing it to the MST (the file will be contained in a cab-file aswell.. )... Hmm..

Anyone know if it even is possible to do these types of modifications?
Posted by: nvdpraveen 18 years ago
Orange Belt
0
Yeah. You can just edit the mst. Open the mst file with any msi editor poinitng the base msi file.
Make whatever modifications you want. All of them are stored in the mst.
Posted by: mgroover 18 years ago
Senior Yellow Belt
0
Yes.. I know this already.. [:)]

Let me be more specific with a detailed scenario. (Everything is done in the order I have typed it)

1. You create an MST that is applied to the base MSI
2. Within the MST you delete two files that the customers says isn't supposed to be included in the installation
3. You are, due to restrictions on the target platform, forced to remove a merge module and do several registry modifications
4. Ofcourse, since you are a developer, you don't document the modifications you did in step 3.. :D
5. The customers gets back to you and says they were wrong about the files that were to be removed.

What I want to do at this point is getting the two files I deleted from the package (the removal of the rows in the file table is contained in the MST) not deleted anymore.

Is this possible?

Sorry for not being 100% clear with what I meant in the first post!
Posted by: nvdpraveen 18 years ago
Orange Belt
0
Ahh. I get you now. There is no magical way to get the deleted files/mergemodule back.
You have to add them back just in the same way you add a new file/mergemodule. [:)]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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