/build/static/layout/Breadcrumb_cap_w.png

Browser helper object

After spending some time with this package, I have a small dilemna.

Explorer is holding a .dll hostage. Once I kill explorer than relaunch it, I can delete the file. I am creating an MSI that will need to remove this file upon uninstall. The file however, will most likely need to be removed after a reboot, unless someone else has a better way of doing this.?.?

I figured maybe the runonce item in the registry with a batch file, but where do I put the batch file?

Any other assistance would be greatly appreciated.

Thank You.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 15 years ago
Red Belt
0
Build your MSI in the usual way. The Windows Installer engine will handle this for you. Just be sure to get the Reboot stuff right, according to whether you want to force a reboot or let the user take care of it.
Posted by: Secondlaw 15 years ago
Third Degree Blue Belt
0
For some reason, it's not working. :(

The file is not being deleted by windows installer because it's being held hostage by Explorer. Only until I kill explorer then relaunch, am I able to delete the .dll.
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
have u checked the other usual crap? file versioning, date, etc...? and after a reboot, no luck? what about the logs.. what does it say on attempting to copy the file? is it marked for deletion?

just wondering: anything in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations??
Posted by: Secondlaw 15 years ago
Third Degree Blue Belt
0
Yes, the dll is listed under "PendingFileRenameOperations" but nothing happens with it.
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
Youneed to kill IE, then do your install... just the same as when installing via GUI & it pops up & tells you that there is program that needs to be closed b4 installation continues. How are you deploying this? There are many scripts available to kill IE & other tasks online... just make sure you sequence it right.don't complicate a relatively simple issue.
Posted by: Secondlaw 15 years ago
Third Degree Blue Belt
0
IE is not active... Explorer is active.

On another note, I have a correction... The .dll is deleted upon reboot... The directory is left behind. I just need to kill that directory after a reboot.
Posted by: kiptek 15 years ago
Second Degree Green Belt
0
sometimes you just have to force a reboot. throw in a runonce key or something in active setup to kill the directory if it REALLY has to get deleted
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ