Solved

MSI Default Install Location Question

Posted on 2009-06-30
2
715 Views
Last Modified: 2013-11-29
Hi,
I'm trying to modify the default location that 'server.msi' uses for installation. Server.msi is the Front End server installation component of OCS 2007, and the path it defaults to is 'C:\Program Files\Microsoft Office Communications Server 2007 R2\Server\'. I want to change this to 'D:\Program Files\Microsoft Office Communications Server 2007 R2\Server\' (just a drive letter change), because I'm preparing an automated OCS server deployment via Altiris.

I'm not a packager by any means, but I've tried using Orca and WinInstallLE and from my uneducated view, it seems that TARGETDIR is the value to change within the MSI, but I have tried using 'D:\' and also '[WIPROPDriveD]' (as this appears to be what WinInsallLE uses when I change a drive letter). Neither work though, and when I run them I get a '2704' error from the MSI.

I reckon this is probably a very straightforward question for someone with packaging experience, but unfortunately I'm an infrastructure person, so in all honesty, I don't have a clue what I'm doing, even after having googled it for a while, so any help would be appreciated.
0
Comment
Question by:tbennett35
2 Comments
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 24751126
If Altiris deployment allows specifying command line, then specify parameter TARGETDIR=<your directory>

That is
msiexec.exe /i server.msi TARGETDIR="D:\Program Files\Microsoft Office Communications Server 2007 R2\Server\ "
0
 

Accepted Solution

by:
tbennett35 earned 0 total points
ID: 24933781
That didn't work, however what does work is to specify INSTALLDIR=<Your Directory Path>. This seems to work for any MSI that would otherwise allow manipulation of the install directory via the GUI install.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
The environment that this is running in is SCCM 2007 R2 running on a Windows 2008 R2 server. The PXE Distribution point is running on its own Windows 2008 R2 box. This is what Event viewer showed after trying to start the WDS service:  An erro…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question