How can I get 'File in use' information during uninstallatio

Got a problem you cannot solve? Try here.
Post Reply
abhimudgal1
Posts: 15
Joined: Thu Jul 15, 2010 11:36 pm

How can I get 'File in use' information during uninstallatio

Post by abhimudgal1 »

When I try to uninstall, it remove all the files including the file which are open in editor or used by other applications, in that case I want to display error and terminate the uninstallation.
How can I get 'File in use' information during uninstallation?

thanks in advance
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: How can I get 'File in use' information during uninstall

Post by mills »

Your best bet will be to write the functionality into a dll, then use Call DLL Function.

Both of these links suggest the same basic approach:

http://stackoverflow.com/questions/8764 ... -is-in-use
http://social.msdn.microsoft.com/Forums ... 8437956bc8
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply