Thanks for your reply Carter, my client wants write into file only when 
installing and uninstalling lessons.

Any other ideas?

Regards,
Balu

-----Original Message-----
From: Carter Young [mailto:ecyo...@grandecom.net] 
Sent: Thursday, February 27, 2014 10:02 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] FW: Custom action to write into a file while 
installing and uninstalling MSI file

How about changing the Program to Log the Time each instance Starts, using 
DateTime.Now?  Even If the program is uninstalled the last log file time-stamp 
shows the last time the program ran.  Any Directories or Files that are created 
post install, are not removed by the installer as the installer did not put 
them there.  The other option is to write the Start time to the Windows Event 
Log, as the log is time-stamped.

Carter

Quoting "Mamidi, Balasubrahmanyam" <balu.mam...@flightsafety.com>:

> Any help on below? Could you please share any thought how to accomplish...
>
> Regards,
> Balu
>
> From: Mamidi, Balasubrahmanyam
> Sent: Wednesday, February 26, 2014 2:44 PM
> To: 'General discussion about the WiX toolset.'
> Subject: Custom action to write into a file while installing and 
> uninstalling MSI file
>
> Hi, we package the lessons and give to users in the format of msi file 
> using wix installer. When users install/ Uninstall these lessons MSI 
> file on their PC's, I should able to log this information with date 
> time  & MSI name into text file( file needs to create if not exists) 
> under location (per say C:\FlightSafety).
>
> Can someone help to write these custom actions or any other solutions?
>
> Thanks,
> Balu
> ----------------------------------------------------------------------
> -------- Flow-based real-time traffic analytics software. Cisco 
> certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer 
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.
> clktrk _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize 
your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to