/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi,

I am making a package for Rational XDE Develper. It has a vendor MSI and it is leaving some files after uninstallation. To Resolve this i wrote a custom action to remove these files. But during uninstallation the files are in use hence the custom action fails.
I have placed the custom action at the end of install execute sequence. But even then it is not working. The file name is Xdesetup.dll.
I tried killing the process which is using that file but then the uninstallation stops at "removing backup file" stage only.
Can anyone suggest me a way of deleting the file at the end when all the processes have exited.

Regards

Sunny
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Are you sure there isnt some sort of service that is using that file?

If so then stop the service and then delete it.
Answered 04/01/2005 by: MSIMaker
Second Degree Black Belt

Please log in to comment
0
Hi,

No there is no service using the file but a process idriver.exe which is using that file during uninstallation.
when i run my custom script during uninstallation it cannot delete it and even though if i kill the process the uninstallation hangs up. I am not able to place my custom action at the end of installation sequence. I have placed my custom action at the end as present in the installexecute sequence but still it is running before the idriver.exe exits. can u tell me any way of placing the custom action at the end.

Regards
Answered 04/02/2005 by: vin_hegde_94
Senior Yellow Belt

Please log in to comment