PC Review


Reply
Thread Tools Rate Thread

What is causing a resource to be deleted

 
 
Mike
Guest
Posts: n/a
 
      15th Jan 2004
Hi,
Recently I got an answer as to how to fix a problem
relating to the cause of On-demand installations. It was
because the application was looking for a resource that
did not exist, which turned out to be a folder. This
provided a workaround to the problem i.e. create the
folder in the directory so that the path exists. But I
cant find out why this resource was deleted or why it no
longer exists. Please help I'm looking for answers to the
following:

1. How could the resource be deleted (as it is definately
not done by the user) ?

2. Why would this affect unrelated applications, i.e.
other unrelated applications seem to start this on-demand
install even though they should not need the resource that
is missing.

regards,
Mike.
 
Reply With Quote
 
 
 
 
Carolyn Napier [MSFT]
Guest
Posts: n/a
 
      17th Jan 2004
1.) Can't say for sure. If the folder is empty, the Installer could delete it if
an installation was authored to do so (RemoveFile table entry) or the folder was
created by the Installer (i.e. under it's management), it will delete a
non-empty folder. You could try using a tool like filemon.exe that is available
from http://www.sysinternals.com to try and monitor for the process that ends up
deleting the folder.

2.) One possibility is that the applications share COM registration and/or the
application makes a CoCreateInstance call to some CLSID that makes use of the
Installer resiliency functionality.

Hope this helps,
- Carolyn Napier
Microsoft Windows Installer Team

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.mspx>

"Mike" <(E-Mail Removed)> wrote in message
news:098101c3db70$ed63d9f0$(E-Mail Removed)...
> Hi,
> Recently I got an answer as to how to fix a problem
> relating to the cause of On-demand installations. It was
> because the application was looking for a resource that
> did not exist, which turned out to be a folder. This
> provided a workaround to the problem i.e. create the
> folder in the directory so that the path exists. But I
> cant find out why this resource was deleted or why it no
> longer exists. Please help I'm looking for answers to the
> following:
>
> 1. How could the resource be deleted (as it is definately
> not done by the user) ?
>
> 2. Why would this affect unrelated applications, i.e.
> other unrelated applications seem to start this on-demand
> install even though they should not need the resource that
> is missing.
>
> regards,
> Mike.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in Async Delegate Causing Resource Cleanup in Others Travis Parks Microsoft C# .NET 2 17th Oct 2010 06:50 AM
OE 6.0 Error messages cannot be deleted and causing problems =?Utf-8?B?R2FpbEM=?= Microsoft Outlook Discussion 3 24th May 2007 09:57 AM
Deleted Form causing problem!!!! Casey Ulve via AccessMonster.com Microsoft Access Form Coding 2 8th Feb 2005 09:03 AM
Deleted User Acct Folders Causing Problems =?Utf-8?B?ZXpiaXQ=?= Windows XP Help 1 24th Dec 2004 12:39 PM
explorer.exe causing 100% resource drain Bob Smith Windows XP General 1 11th Mar 2004 07:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:20 PM.