Advertisement

04.07.2008 at 11:14AM PDT, ID: 23302227
[x]
Attachment Details

Proper variable for "Add installations and run programs" section in 2007 OCT

Asked by fourjohn in Software Office Suites, Microsoft Office Suite

Tags: Microsoft, Office, 2007

I have a properly functioning customized network installation point for deploying Office 2007 using the Office Customization Tool.  I'm trying to configure a "post install" installation of Microsoft's "SaveAsPDF" add-on for Office 2007.  I've unpackaged the EXE file and have a working SaveAsPDF.MSI file (tested as a standalone installation on a seperate computer).  In OCT, I'm using the "Add installations and run programs" section and added the following command:

"L:\Workstations\Office2007\Updates\Custom Programs\saveaspdf.msi /quiet"

Everything actually works fine with this syntax, but my problem is if I decide to move the setup files to a different subdirectory I have to remember to go into the OCT program and update the command to reflect the new structure.  

How can I specify a system environment variable instead of the explicit directory structure so that the command is more dynamic or portable?  The OCT comes with several useful "targets" for specifying some system variables already such as [INSTALLLOCATION], [WindowsFolder], and [CommonProgramFiles], but they don't have one with something like [SetupDirectory] or [DeploymentDirectory].  I tried the following command, but it doesn't work:

"%setupdir%\Updates\Custom Programs\saveaspdf.msi" /quiet

Any ideas?

Start Free Trial
[+][-]04.07.2008 at 12:16PM PDT, ID: 21299713

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.14.2008 at 06:15AM PDT, ID: 21349661

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.14.2008 at 06:23AM PDT, ID: 21349730

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Software Office Suites, Microsoft Office Suite
Tags: Microsoft, Office, 2007
Sign Up Now!
Solution Provided By: merowinger
Participating Experts: 1
Solution Grade: B
 
 
[+][-]04.17.2008 at 09:14AM PDT, ID: 21378705

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628