6

How to extract managed custom action's dll from msi-file.

Nerielle
  • 984
  • 1
  • 11
  • 29

1 Answers1

9

You can use Orca tool, available in Windows SDK. Open the MSI with Orca and go to Binary table. Double click the "Data" column corespondent for the resource used by our custom action. You will get a modal dialog with options to save the content of the column, or to overwrite it.

Bogdan Mitrache
  • 10,536
  • 19
  • 34
  • I tried that, but it seems the extracted file is not the original assembly. Do I have to do another step? – roli09 Jan 25 '22 at 14:10
  • No, that should be it. What do you mean it is not the original assembly? Share more details or maybe post another question and link it to this one – Bogdan Mitrache Jan 25 '22 at 14:58
  • I created a [new](https://stackoverflow.com/questions/70850262/how-to-get-the-code-of-a-custom-action-in-a-msi) question. – roli09 Jan 25 '22 at 15:30