incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119948] [Windows 8 certification]Windows App Certification Kit - Test for "Section 5 Apps must support a clean, reversible installation" is failed.
Date Tue, 26 Jun 2012 16:24:37 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119948

Rob Weir <robweir@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #10 from Rob Weir <robweir@apache.org> ---
The correct way of handling this is described here:

http://technet.microsoft.com/en-us/subscriptions/aa368606%28v=vs.85%29.aspx

You treat it like a shared DLL, and reference count it in the registry.  If
another application also depends on the fonts, then it should increment the
reference count.  If all apps do this, then they increment the reference count
at install, and decrement it at uninstall. If the reference count drops to zero
then the uninstaller is safe to remove the files.  If the reference count is
not zero, then you know another application depends on the file.

This method works well only if other applications follow these same
conventions.  Not all of them do.  So it is also common for an uninstaller to
prompt the user on whether it is OK to remove shared files that are no longer
needed.

See also 2.3 here: 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372825%28v=vs.85%29.aspx

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message