I'm wondering if anyone has a good solution to my problem. I am creating an application package that installs to a particular directory based upon which version of Office is installed on the system (2000 or 2003).

This is what I have tried to no avail:

1) Created a Property OFFICEDIR and set it to NULL
2) Added a System Search to return the value of the parent directory
3) Moved AppSearch to the top of the install script for both User and Immediate
4) Changed the name of the install directory to the Property Variable, in my case OFFICEDIR
5) Added a If Statement to Set the Property of OFFICEDIR to "OFFICE11" if the app search returns "office11"

None of the above steps worked for me so I tried changing the System Search to look for a registry value and place the returned result (0 or 1) into SEARCHRESULTS

Modified my if statement to use the SEARCHRESULTS property instead to change the value of OFFICEDIR. But still the MSI does not change the default value of OFFICEDIR to the new value.

Help anyone?
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


you should be able to read this reg into a property
path=<office install path>

it'll vary based on office version, e.g.
Answered 01/26/2005 by: aogilmor
Ninth Degree Black Belt

Please log in to comment