I am working on service(CATlServiceModule).
This service stores the data in buffer.
1) Application(like notepad, wordpad etx) that is in process or we start 2) The URL (facebook.com, timesofindia.com etc)that is currently open
if the time of application is exceeds the time limit that is given in application than application store "time spanning and details" in buffer in XML format and after every 30 min it create an XML, Zip it and send it to server.
This is what my application is doing. Setup is created by .Net team with WIX.
One bug is found during uninstallation is that when setup uninstall the service.During uninstallation i write the code that create XML for the remaining buffer and zip it.
The setup will take care of sending the zip to server.but setup will get message of uninstall first and it start sending the file.
The files are created after setup send the file so all the folders are not deleted during uninstallation.
Is there any way that i can wait when uninstallation done all the process in my code.
If anyone want to see source code than i will paste here.
Thanks in advance.
Update:
Hi Venkatesh, FYI The issue is resolved now. I don't send the file to server during uninstallation, Just delete the file in my code. Thanks for your support :) - Shilpi Boosar