0

I have a WiX installer that I want to use to create a file post-install that is filled with XML with some data about the install process. I am not sure how to go about doing it and am wondering if anyone can help or point me in the right direction.

Thank you

  • Possible duplicate of [How to execute Wix custom action after installation?](http://stackoverflow.com/questions/6044069/how-to-execute-wix-custom-action-after-installation) – dmorawetz Jan 11 '16 at 19:33
  • Saw that, however, still unsure of where to start. Do I need to create an executable and run that post install? How do I specify what to run? How can I pass if it was a success or failure. If it was a failure, how do I grab the exception that was thrown (if it was an exception). That is what I am looking for. – Random User Jan 11 '16 at 19:36

1 Answers1

0

Maybe have a look at custom actions and properties at firegiant.com and at this question.

<Property Id='status'>Error | Success</Property>
<CustomAction Id='AfterInstall' Property='status' ExeCommand='[SourceDir]Readme.txt' Return='asyncNoWait' />

That's what I found. I have no experience so I just rely on the sources given. Hope it helps

Community
  • 1
  • 1
dmorawetz
  • 497
  • 4
  • 12