[Q] Word 2007 的 About?
Word Options -> Resources -> About -> 12.0.6545.xxxx SP2 ...
//===
[Q] How does msi tell the version of MS Office?
[try]
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\X.0\Common\InstallRoot
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Excel\InstallRoot\
[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe]
???[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\9B905EB838DBFEE4991CF8E66F518BBF]
<Property Id="XXXINSTALLED">
<RegistrySearch Id="DetectXXX" Root="HKLM" Key="SOFTWARE\Microsoft\Office\X.0\Common\InstallRoot Name="Path" Type="directory"/>
</Property>
<Condition Message="component XXX is installed."><![CDATA[XXXINSTALLED]]></Condition>
<Property Id="XXXINSTALLED">
<!-- has to know the Guid for componet XXX first-->
<ComponentSearch Id="DetectXXX" Guid="{88888888-4444-4444-4444-CCCCCCCCCCCC}" Type="file"/>
</Property>
<Condition Message="component XXX is installed."><![CDATA[XXXINSTALLED]]></Condition>
//=== http://stackoverflow.com/questions/3616532/wix-registrysearch-returns-a-wrong-installlocation
//=== http://stackoverflow.com/questions/650207/what-is-the-best-way-to-detect-if-excel-2003-is-installed
//=== http://stackoverflow.com/questions/244517/where-is-a-reliable-registry-key-to-find-install-location-of-excel-2007/
//=== http://www.add-in-express.com/creating-addins-blog/2010/02/08/register-office-addin-wix/
//=== http://stackoverflow.com/questions/532447/how-do-you-use-wix-to-deploy-vsto-3-0-addins
//=== http://msdn.microsoft.com/en-us/library/cc563937.aspx
沒有留言:
張貼留言