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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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'?
Answered 04/24/2006 by: dm1
Blue Belt

Please log in to comment
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?
Answered 04/24/2006 by: mgroover
Senior Yellow Belt

Please log in to comment
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.
Answered 04/24/2006 by: nvdpraveen
Orange Belt

Please log in to comment
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!
Answered 04/24/2006 by: mgroover
Senior Yellow Belt

Please log in to comment
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. [:)]
Answered 04/24/2006 by: nvdpraveen
Orange Belt

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