the generated logfile need to sent to assigned Email ID - Advanced Installer Community
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

the generated logfile need to sent to assigned Email ID

Hi Support,

We looking for an feature like...Once installation successful completes, the generated logfile need to sent to assigned Email ID.

With Regards,
Pradeep.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: the generated logfile need to sent to assigned Email ID

Hello Pradeep,

Indeed we don't have predefined support for this. We'll consider this in a future version but for now it has very low priority. Thank you for your suggestion.

However, you can create your own custom action as a custom action written in C# or a custom action written in C++.

Then you can go in the “Custom Actions” page and add a predefined Launch attached file custom action with sequence. This type of custom action can execute an application (EXE or DLL) or run a script (VBScript or Java script). Also, the source file will be embedded in the MSI file but will not be deployed at install time with the other application files.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Re: the generated logfile need to sent to assigned Email ID

Hi Team,

Please Provide the work around for this requirement.. Do the needful by providing related links.

With Regards,
Pradeep.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: the generated logfile need to sent to assigned Email ID

Hi Pradeep,

Unfortunately we don't have a sample which implements your scenario.
However, you can take advantage of the MsiLogFileLocation property's value which is set to the full path of the log file, when logging is enabled.
In order to create the custom action which will send the related attachment you can find a lot of articles on the internet.Here's one of them: How to send a mail with attachment in c#.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”