چگونه تنظيمات برنامههاي مجموعه آفيس ٢٠٠٧ را ذخيره كنيم؟
نويسنده: مرتضي اماميپور
حتما براي شما نيز اتفاق افتاده است که پس از نصب برنامه?هاي مجموعه آفيس، ساعتهاي مديدي از وقت خود را صرف دستکاري در منوها، تغيير رنگهاي پيشفرض، افزودن نوارابزارهاي جديد به برنامه Expression Web Design، تعريف ماکروهاي مورد نياز و تخصيص کليد ميانبر به هرکدام، تعيين اندازه پيشفرض صفحات، افزودن لغات جديد به ديکشنريهاي شخصي Word و بسياري موارد ديگر کرده باشيد. بسيار خوب...تا اينجاي کار هيچ موضوع قابل ذکري به چشم نميخورد. اما آيا تاکنون برايتان پيش آمده است مجبور به نصب مجدد ويندوز يا مجموعه آفيس شويد و در نتيجه تمام تنظيماتي که ساعتها برايشان زحمت کشيدهايد را از دست بدهيد؟ آيا تاکنون شده است يکي از دوستانتان از تغييراتي که شما در مجموعه آفيس خود دادهايد خوشش بيايد و تصميم بگيرد تغييرات ياد شده را در کامپيوتر خود پياده کند؟ و يا آيا تاکنون شده است به طور ناخواسته (مثلا با تغيير زبان پيش?فرض مجموعه آفيس) تمامي تنظيمات قبلي خود که طي ساعتها به انجام رسانده بوديد را از دست بدهيد و آه از نهادتان بلند شود؟ اگر پاسختان به اين سوالات و بسياري سوالات ديگر مثبت است، بيشک بارها آرزو کردهايد که کاش ميتوانستيد تنظيمات شخصيتان را در يک فايل ذخيره کنيد تا در اينگونه مواقع از رنج دوبارهکاريهاي کسل کننده رها شويد.
در آفيس ٢٠٠٣، قابليتي به نام Save My Settings Wizard وجود داشت كه براي ذخيره تنظيمات برنامههاي آفيس مورد استفاده قرار ميگرفت (علاقمندان جهت آشنايي با نحوه استفاده از اين قابليت ميتوانند به مقاله "چگونه تنظيمات برنامههاي مجموعه آفيس را ذخيره كنيم؟" در شماره ٣٢٥ مراجعه كنند). متاسفانه يكي از عادات بسيار بد مايكروسافت اين است كه هرگاه نگارش جديدي از برنامههاي خود را عرضه ميكند، برخي قابليتهاي مفيد نگارش قبلي را حذف، و يا با قابليتي پيچيدهتر عوض مينمايد. اينبار نيز اين قاعده در مورد يوتيليتي بسيار مفيد Save My Settings Wizard به اجرا گذاشته شده است و هيچ اثري از آن در آفيس ٢٠٠٧ مشاهده نميشود. اين مقاله مي?كوشد كمبود فوق را به گونهاي جبران نمايد.
با عرضه ويندوز XP، مايكروسافت دو يوتيليتي به نامهاي Scanstate و Loadstate را درون سيدي سيستمعامل خود قرار داد كه اولي براي ذخيره فايلهاي كاربر و تنظيمات صورت گرفته در ويندوز XP، و دومي براي بازنشاني مجدد فايلها و تنظيمات فوق در جاي اوليه خود مورد استفاده قرار ميگيرد. اين دو يوتيليتي، وظيفه خود را از طريق يك فايل INF به انجام ميرسانند، به اين ترتيب كه ابتدا كاربر آنچه قصد ذخيره آنها را دارد درون يك فايل INF برنامهريزي مينمايد و سپس اين دو يوتيليتي، با خواندن دستورات آمده در فايل مذكور، فايلها و تنظيمات مورد نظر را ذخيره يا بازيابي ميكنند. ما نيز براي ذخيره و احياي تنظيمات آفيس ٢٠٠٧ از نگارش جديدتر همين دو يوتيليتي ( User Smart Migration Tools_v3.0.1 كه اختصارا به آن USMT_v3.0.1 نيز گفته ميشود) كمك گرفتهايم.
در نگارش جديد يوتيليتيهاي Scanstate و Loadstate، كدهاي مورد نياز اين دو يوتيليتي به جاي فايل INF، از طريق يك فايل XML در اختيار آنها قرار ميگيرد و لذا اسكريپت پيوست، با نگارشهاي قبلي اين دو يوتيليتي سازگار نيست. شما ميتوانيد فايل 6.5 مگابايتي برنامه USMT_v3.0.1 را از آدرس زير دريافت و نصب نماييد تا سيستم شما براي پيگيري گامهاي بعدي آماده شود:
گام اول: تهيه اسكريپت موردنياز
اسكريپت زير را توسط يك ويرايشگر متن مطلق (مثل Notepad يا EditPad Pro) و يا ويرايشگرهايي كه از قابليت ويرايش XML برخوردارند (مثل XML NotePad 2007، FrontPage 2003 يا Expression Web Design 2007) تايپ و آنرا با عنوان Office2007.xml در همان مسيري كه USMT را در آن نصب نموده?ايد، ذخيره نماييد (براي سهولت بيشتر ميتوانيد اين فايل را بصورت آماده از اينجا دريافت كنيد).
نكته: شماره خطوط صرفا به منظور جلوگيري از بروز خطا به هنگام تايپ آورده شدهاند، از تايپ آنها خودداري نماييد.
001 <?xml version="1.0" encoding="UTF-8"?>
002 <!--
003 ; Name : Office 2007 settings saver
004 ; Rewrote By: Morteza Emamipour
005 ; Date : 1386-11-26
006 -->
007 <migration urlid="http://www.microsoft.com/migration/1.0/migxmlext/Office2007">
008
009 <library prefix="MigSysHelper">MigSys.dll</library>
010
011 <_locDefinition>
012 <_locDefault _loc="locNone"/>
013 <_locTag _loc="locData">displayName</_locTag>
014 </_locDefinition>
015
016 <namedElements>
017 <!-- Gloabal -->
018 <environment name="GlobalEnvX64">
019 <conditions>
020 <condition>MigXmlHelper.IsNative64Bit()</condition>
021 </conditions>
022 <variable name="HklmWowSoftware" remap="TRUE">
023 <text>HKLM\SOFTWARE\Wow6432Node</text>
024 </variable>
025 </environment>
026 <environment name="GlobalEnv">
027 <conditions>
028 <condition negation="Yes">MigXmlHelper.IsNative64Bit()</condition>
029 </conditions>
030 <variable name="HklmWowSoftware" remap="TRUE">
031 <text>HKLM\Software</text>
032 </variable>
033 </environment>
034
035 <environment name="COMMONOFFICEENV">
036 <variable name="OFFICEINSTALLPATH">
037 <script>MigXmlHelper.GetStringContent("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Common\InstallRoot [Path]")</script>
038 </variable>
039 </environment>
040
041 <!-- office detects -->
042 <detects name="Office">
043 <detect>
044 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Common\InstallRoot [Path]")</condition>
045 </detect>
046 </detects>
047 <detects name="Word">
048 <detect>
049 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Word\InstallRoot [Path]")</condition>
050 </detect>
051 </detects>
052 <detects name="Access">
053 <detect>
054 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Access\InstallRoot [Path]")</condition>
055 </detect>
056 </detects>
057 <detects name="Excel">
058 <detect>
059 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Excel\InstallRoot [Path]")</condition>
060 </detect>
061 </detects>
062 <detects name="PowerPoint">
063 <detect>
064 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\PowerPoint\InstallRoot [Path]")</condition>
065 </detect>
066 </detects>
067 <detects name="Outlook">
068 <detect>
069 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Outlook\InstallRoot [Path]")</condition>
070 </detect>
071 </detects>
072 <detects name="Publisher">
073 <detect>
074 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Publisher\InstallRoot [Path]")</condition>
075 </detect>
076 </detects>
077 <detects name="PhotoDraw">
078 <detect>
079 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\PhotoDraw\InstallRoot [Path]")</condition>
080 </detect>
081 <detect>
082 <condition>MigXmlHelper.DoesObjectExist("File","%OFFICEINSTALLPATH% [PhotoDrw.exe]")</condition>
083 </detect>
084 </detects>
085 <detects name="Visio">
086 <detect>
087 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Visio [CurrentlyRegisteredVersion]")</condition>
088 </detect>
089 </detects>
090 <detects name="Project2007">
091 <detect>
092 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\Project\InstallRoot [Path]")</condition>
093 </detect>
094 </detects>
095 <detects name="OneNote">
096 <detect>
097 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Office\%OFFICEVERSION%\OneNote\InstallRoot [Path]")</condition>
098 </detect>
099 </detects>
100 <detects name="ExpressionWeb">
101 <detect>
102 <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Microsoft\Expression\Web Designer\12.0\InstallRoot [Path]")</condition>
103 </detect>
104 </detects>
105
106 <!-- For Office SmartTags -->
107 <detects name="MicrosoftOutlookEmailRecipientsSmartTags">
108 <detect>
109 <condition>MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Office\Common\Smart Tag\Recognizers\{4FFB3E8B-AE75-48F2-BF13-D0D7E93FA8F9}")</condition>
110 </detect>
111 </detects>
112 <detects name="MicrosoftListsSmartTags2007">
113 <detect>
114 <condition>MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Office\Common\Smart Tag\Recognizers\{64AB6C69-B40E-40AF-9B7F-F5687B48E2B6}")</condition>
115 </detect>
116 </detects>
117 <detects name="MicrosoftPlaceSmartTags">
118 <detect>
119 <condition>MigXmlHelper.DoesObjectExist("Registry","HKCU\Software\Microsoft\Office\Common\Smart Tag\Recognizers\{87EF1CFE-51CA-4E6B-8C76-E576AA926888}")</condition>
120 </detect>
121 </detects>
122
123 <rules name="OutlookPstPab" context="User">
124
125 <include>
126 <objectSet>
127 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [01020fff]</pattern>
128 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e0324]</pattern>
129 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6600]</pattern>
130 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6700]</pattern>
131 <content filter="MigSysHelper.ExtractSingleFileAnsiBin()">
132 <objectSet>
133 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e0324]</pattern>
134 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6600]</pattern>
135 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6700]</pattern>
136 </objectSet>
137 </content>
138 </objectSet>
139 </include>
140
141 <include>
142 <objectSet>
143 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f0324]</pattern>
144 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f6600]</pattern>
145 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f6700]</pattern>
146 <content filter="MigSysHelper.ExtractSingleFileUnicodeBin()">
147 <objectSet>
148 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e0324]</pattern>
149 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6600]</pattern>
150 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e6700]</pattern>
151 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f0324]</pattern>
152 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f6600]</pattern>
153 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f6700]</pattern>
154 </objectSet>
155 </content>
156 </objectSet>
157 </include>
158
159 <contentModify script='MigSysHelper.SetPstPathInMapiStruct ()'>
160 <objectSet>
161 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [0102*]</pattern>
162 </objectSet>
163 </contentModify>
164
165 <contentModify script='MigSysHelper.UpdateMvBinaryMapiStruct ()'>
166 <objectSet>
167 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [0102*]</pattern>
168 </objectSet>
169 </contentModify>
170
171 <contentModify script='MigSysHelper.UpdateMvBinaryMapiStruct ()'>
172 <objectSet>
173 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [1102*]</pattern>
174 </objectSet>
175 </contentModify>
176
177 </rules>
178
179 </namedElements>
180
181 <!-- Microsoft Office 2007 -->
182 <component context="UserAndSystem" type="Application">
183 <displayName _locID="Office2007.">Microsoft Office 2007</displayName>
184 <environment name="GlobalEnv"/>
185 <environment name="GlobalEnvX64"/>
186 <environment>
187 <variable name="OFFICEVERSION">
188 <text>12.0</text>
189 </variable>
190 </environment>
191 <role role="Container">
192 <detects name="Office" />
193 <detects name="Word"/>
194 <detects name="PowerPoint"/>
195 <detects name="Access"/>
196 <detects name="Excel"/>
197 <detects name="Outlook"/>
198 <detects name="Publisher"/>
199 <detects name="Visio"/>
200 <detects name="Project2007"/>
201 <detects name="OneNote"/>
202 <detects name="ExpressionWeb"/>
203
204 <!-- Office 2007 Common Settings -->
205 <component context="User" type="Application">
206 <displayName _locID="Office2007.common">Office 2007 Common Settings</displayName>
207 <role role="Settings">
208
209 <!-- For Office 2007 -->
210 <rules>
211 <include>
212 <objectSet>
213 <pattern type="Registry">HKCU\Software\Microsoft\Office\Common\* [*]</pattern>
214 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\* [*]</pattern>
215 <pattern type="Registry">HKCU\Software\Microsoft\Shared Tools\* [*]</pattern>
216 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office [MSO3081.acl]</pattern>
217 <pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Office\* [*]</pattern>
218 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Proof\* [*]</pattern>
219 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Templates\* [*]</pattern>
220 <pattern type="Registry">HKCU\Software\Microsoft\Shared Tools\Proofing Tools\Custom Dictionaries [*]</pattern>
221 <content filter="MigXmlHelper.ExtractSingleFile(NULL,'%CSIDL_APPDATA%\Microsoft\Proof')">
222 <objectSet>
223 <pattern type="Registry">HKCU\Software\Microsoft\Shared Tools\Proofing Tools\Custom Dictionaries [*]</pattern>
224 </objectSet>
225 </content>
226 </objectSet>
227 </include>
228 <exclude>
229 <objectSet>
230 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Shortcut Bar [LocalPath]</pattern>
231 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Internet [LocationOfComponents]</pattern>
232 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Open Find\* [*]</pattern>
233 </objectSet>
234 </exclude>
235 <objectSet>
236 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Internet\DoNotCheckIfOfficeIsHTMLEditor\* [*]</pattern>
237 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Internet [AllowPNG]</pattern>
238 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Internet [RelyOnVML]</pattern>
239 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Internet [SaveNewWebPagesAsWebArchives]</pattern>
240 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [BtnSize]</pattern>
241 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [Tooltips]</pattern>
242 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [AdaptiveMenus]</pattern>
243 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [Animation]</pattern>
244 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [ShowKbdShortcuts]</pattern>
245 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars [FontView]</pattern>
246 </objectSet>
247 <merge script="MigXmlHelper.SourcePriority()">
248 <objectSet>
249 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office [MSO3081.acl]</pattern>
250 <pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\Office\* [*]</pattern>
251 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Proof\* [*]</pattern>
252 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Templates\* [*]</pattern>
253 </objectSet>
254 </merge>
255 </rules>
256 </role>
257 </component>
258
259 <!-- Microsoft Office Access 2007 -->
260 <component context="User" type="Application">
261 <displayName _locID="Office2007.access">Microsoft Office Access 2007</displayName>
262 <role role="Settings">
263 <detects name="Access"/>
264 <rules>
265 <!-- copy files -->
266 <include>
267 <objectSet>
268 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office [Access11.pip]</pattern>
269 <pattern type="Registry">HKCU\Software\Microsoft\Office\Access\* [*]</pattern>
270 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\* [*]</pattern>
271 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\CMA\* [*]</pattern>
272 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars\Settings\ [Microsoft Access]</pattern>
273 <pattern type="Registry">HKCU\Software\Microsoft\Office\%OFFICEVERSION%\Access\File MRU\* [*]</pattern>
274 <content filter="MigXmlHelper.ExtractSingleFile(NULL,'NULL')">
275 <objectSet>
276 <pattern type="Registry">HKCU\Software\Microsoft\Office\%OFFICEVERSION%\Access\File MRU\* [*]</pattern>
277 </objectSet>
278 </content>
279 </objectSet>
280 </include>
281 <exclude>
282 <objectSet>
283 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU1]</pattern>
284 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU2]</pattern>
285 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU3]</pattern>
286 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU4]</pattern>
287 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU5]</pattern>
288 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRU6]</pattern>
289 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags1]</pattern>
290 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags2]</pattern>
291 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags3]</pattern>
292 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags4]</pattern>
293 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags5]</pattern>
294 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Settings [MRUFlags6]</pattern>
295 </objectSet>
296 </exclude>
297 <!-- force src -->
298 <merge script="MigXmlHelper.SourcePriority()">
299 <objectSet>
300 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office [Access11.pip]</pattern>
301 </objectSet>
302 </merge>
303 <!-- force dest -->
304 <merge script="MigXmlHelper.DestinationPriority()">
305 <objectSet>
306 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Access\Options [Default Database Directory]</pattern>
307 </objectSet>
308 </merge>
309 </rules>
310 </role>
311 </component>
312
313 <!-- Microsoft Office Excel 2007 -->
314 <component context="User" type="Application">
315 <displayName _locID="Office2007.excel">Microsoft Office Excel 2007</displayName>
316 <role role="Settings">
317 <detects name="Excel"/>
318 <rules>
319 <include>
320 <objectSet>
321 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Excel\* [*]</pattern>
322 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars\Settings\ [Microsoft Excel]</pattern>
323 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Excel\ [EXCEL11.xlb]</pattern>
324 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office\ [EXCEL11.pip]</pattern>
325 <pattern type="Registry">HKCU\Software\Microsoft\Office\%OFFICEVERSION%\Excel\File MRU\* [*]</pattern>
326 <content filter="MigXmlHelper.ExtractSingleFile(NULL,'NULL')">
327 <objectSet>
328 <pattern type="Registry">HKCU\Software\Microsoft\Office\%OFFICEVERSION%\Excel\File MRU\* [*]</pattern>
329 </objectSet>
330 </content>
331 </objectSet>
332 </include>
333 <exclude>
334 <objectSet>
335 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Excel\Recent Files\* [*]</pattern>
336 </objectSet>
337 </exclude>
338 <merge script="MigXmlHelper.DestinationPriority()">
339 <objectSet>
340 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Excel\Options\ [AltStartup]</pattern>
341 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Excel\Options\ [DefaultPath]</pattern>
342 </objectSet>
343 </merge>
344 <merge script="MigXmlHelper.SourcePriority()">
345 <objectSet>
346 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Excel\ [EXCEL11.xlb]</pattern>
347 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office\ [EXCEL11.pip]</pattern>
348 </objectSet>
349 </merge>
350 </rules>
351 </role>
352 </component>
353
354 <!-- Microsoft Office Outlook 2007 -->
355 <component context="UserAndSystem" type="Application">
356 <displayName _locID="Office2007.outlook">Microsoft Office Outlook 2007</displayName>
357 <role role="Settings">
358 <detects name="Outlook"/>
359 <rules name="OutlookPstPab" />
360 <rules context="User">
361 <!-- addreg -->
362 <include>
363 <objectSet>
364 <pattern type="Registry">HKCU\Software\Microsoft\Office\Outlook\* [*]</pattern>
365 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Outlook\* [*]</pattern>
366 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Common\Toolbars\Settings [Microsoft Outlook]</pattern>
367 <pattern type="Registry">HKCU\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\* [*]</pattern>
368 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Signatures\* [*]</pattern>
369 <pattern type="File">%CSIDL_LOCAL_APPDATA%\Microsoft\FORMS [frmcache.dat]</pattern>
370 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [outcmd11.dat]</pattern>
371 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [outcmd.dat]</pattern>
372 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [views.dat]</pattern>
373 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [OutlPrint]</pattern>
374 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Office [MSOut11.pip]</pattern>
375 <pattern type="Registry">HKCU\Software\Microsoft\Exchange\* [*]</pattern>
376 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [*.rwz]</pattern>
377 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [*.srs]</pattern>
378 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [*.NK2]</pattern>
379 <pattern type="File">%CSIDL_APPDATA%\Microsoft\Outlook [*.xml]</pattern>
380 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [*]</pattern>
381 <content filter="MigXmlHelper.ExtractSingleFile(NULL,'%CSIDL_LOCAL_APPDATA%\Microsoft\Outlook')">
382 <objectSet>
383 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Outlook\Journal\* [*]</pattern>
384 </objectSet>
385 </content>
386 <content filter="MigXmlHelper.ExtractSingleFile(NULL, NULL)">
387 <objectSet>
388 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001e023d]</pattern>
389 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\* [001f023d]</pattern>
390 </objectSet>
391 </content>
392 </objectSet>
393 </include>
394 <!-- delreg -->
395 <exclude>
396 <objectSet>
397 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Outlook [FirstRunDialog]</pattern>
398 <pattern type="Registry">HKCU\Software\Microsoft\Office\12.0\Outlook [Machine Name]</pattern>
399 <pattern type="Registry">HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\*\0a0d020000000000c000000000000046 [111f031e]</pattern>
400 <pattern type="Registry">HKCU\Identities\* [LDAP Server]</pattern>
401 <pattern type="Registry">HKCU\Software\Microsoft\Internet Account Manager\Accounts\* [LDAP Server]</pattern>
402 <pattern type="Registry">HKCU\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\* [LDAP Server]</pattern>
403 </objectSet>
404 </exclude>
40