Solved

MSI Default Install Location Question

Posted on 2009-06-30
2
712 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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Know what services you can and cannot, should and should not combine on your server.
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now