This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Writing to MSI log from c# exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2012
04:21 AM
Writing to MSI log from c# exe
I have a custom action (NEW EXE -> Path referencing a directory) calling a c# exe which does some system configurations. Is it possible for me to write to the msi log file from within this exe? If so, how can I do it?
Thanks & Regards,
Sooraj
Thanks & Regards,
Sooraj
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 27, 2012
09:14 PM
It's not possible as an EXE because it's running out of process and doesn't have access to the MSI handle.
Now if you want to google DTF managed custom actions you'll find information on how to do it as easy as
session.Log("hello world");
Now if you want to google DTF managed custom actions you'll find information on how to do it as easy as
session.Log("hello world");
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 31, 2012
04:27 AM
Thanks a lot for your reply. I am exploring DTF so that I can use it in my MSI.