I want to locate the Word template directory before installing my application.
I create a Registry Variable that looks like:
Variable Name: %TemplateDir%
Default Value: Not Installed
Main Key: HKEY_CURRENT_USER
Sub Key: Software\Microsoft\Office\9.0\Common\General
Value Name: UserTemplates
Set variable to TRUE if Sub Key exists: Unchecked
I know this key exists. I know it has a value.
I have the destination folder set to:
%TemplateDir%\%ProductName%
When I run the install this variable is always set to Not Installed.
I must be missing something really simple.
Thanks.
I create a Registry Variable that looks like:
Variable Name: %TemplateDir%
Default Value: Not Installed
Main Key: HKEY_CURRENT_USER
Sub Key: Software\Microsoft\Office\9.0\Common\General
Value Name: UserTemplates
Set variable to TRUE if Sub Key exists: Unchecked
I know this key exists. I know it has a value.
I have the destination folder set to:
%TemplateDir%\%ProductName%
When I run the install this variable is always set to Not Installed.
I must be missing something really simple.
Thanks.
Comment