C:Documents and Settings<user>Application DataMicrosoftTemplates
<Property Id="APPDIR" Secure="yes">
<RegistrySearch Id="RegSearch_AppData"
Type="directory"
Key="SoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders"
Name="AppData"
Root="HKCU" />
</Property>
<CustomAction Id="ActionWordTemplateFolderAssign"
Property="TEMPLATEFOLDER"
Value="[APPDIR]MicrosoftTemplates" />
<InstallExecuteSequence>
<Custom Action="ActionWordTemplateFolderAssign" Sequence="1" />
</InstallExecuteSequence>
[AppDataFolder]MicrosoftTemplates
<Property Id="USERTEMPLATES">
<RegistrySearch Id="SearchUserTemplates"
Root="HKCU"
Key="SoftwareMicrosoftOffice11.0CommonGeneral"
Name="UserTemplates"
Type="raw" />
</Property>
<DirectoryRef Id="TARGETDIR">
<Directory Id="TemplateFolder" Name="Templates"/>
</DirectoryRef>