Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MSI Default Install Location Question

Posted on 2009-06-30
2
Medium Priority
?
725 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

636 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