Solved

MSI Default Install Location Question

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
If you don't know how to downgrade, my instructions below should be helpful.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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