This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 113453 - Windows cleaner should work in a different way to avoid problems with antivirus software
Summary: Windows cleaner should work in a different way to avoid problems with antivir...
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords:
: 116282 149139 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-22 06:36 UTC by dlipin
Modified: 2008-10-04 18:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2007-08-22 06:36:53 UTC
The best way of work is the following :
The  main (installer) program:
1. Creates new file with FILE_FLAG_DELETE_ON_CLOSE.
2. Writes the cleaner file contents to that file.
3. Creates new process from that file. Installer should possibly pass its PID and full path to the cleaner process.
4. Checks while the new process really created.
5. Closes the cleaner file.
6. Exit.

The cleaner process should do the following:
1. Wait for the initial process to finish its work.
2. Do whatever needed.
3. Exit
Comment 1 dlipin 2007-09-24 13:28:08 UTC
*** Issue 116282 has been marked as a duplicate of this issue. ***
Comment 2 dlipin 2007-10-04 08:43:45 UTC
fixed.
now the self removing is performed using .bat file.
Unfortunately FILE_FLAG_DELETE_ON_CLOSE method does not work at all..
Comment 3 dlipin 2008-10-04 18:09:07 UTC
*** Issue 149139 has been marked as a duplicate of this issue. ***