Solved

MSI Default Install Location Question

Posted on 2009-06-30
2
710 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
If you don't know how to downgrade, my instructions below should be helpful.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

6 Experts available now in Live!

Get 1:1 Help Now