Warren Peart
asked on
Deploying an MSP file
Hi,
I am trying to deploy a .msp file. I need to do this as we have migrated from on-Prem Exchange to O365 and we had used MS Office customisation tool in order to configure settings including automatically creating an outlook profile that points to the on-Prem exchange server. Now that we have migrated, it is causing issues with the outlook profile re-configuring.
Office is built into our MDT Image, so removing it from the office installation would be a giant PITA.
I have created a new OCT MSP file and when installing it manually it re-configures office and all works great. My problem is now deploying this file to all workstations. I have created a batch file with the below command.
msiexec.exe /p "\\sbpsfile01\School\Schoo l\Apps\Dep loy\Office Custom\Off iceConfigR emove.MSP" REINSTALL=ALL REINSTALLMODE=omus /qn
I have also tried using DFS path.
The policy is applied under computer configuration and the computers are in the OU that the policy is in.
Any help would be much appreciated.
Thanks,
Warren
I am trying to deploy a .msp file. I need to do this as we have migrated from on-Prem Exchange to O365 and we had used MS Office customisation tool in order to configure settings including automatically creating an outlook profile that points to the on-Prem exchange server. Now that we have migrated, it is causing issues with the outlook profile re-configuring.
Office is built into our MDT Image, so removing it from the office installation would be a giant PITA.
I have created a new OCT MSP file and when installing it manually it re-configures office and all works great. My problem is now deploying this file to all workstations. I have created a batch file with the below command.
msiexec.exe /p "\\sbpsfile01\School\Schoo
I have also tried using DFS path.
The policy is applied under computer configuration and the computers are in the OU that the policy is in.
Any help would be much appreciated.
Thanks,
Warren
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Mike, Hi Coralon
I had tested it with the log parameter and the log file was not created. Nothing was showing in event viewer. Yes, it does feel like it isn't running at all.
I will try dropping the file onto the local system via GPP and then seeing if there is any difference.
Thanks,
Warren
I had tested it with the log parameter and the log file was not created. Nothing was showing in event viewer. Yes, it does feel like it isn't running at all.
I will try dropping the file onto the local system via GPP and then seeing if there is any difference.
Thanks,
Warren
Change /qn in the command line to /qb, and run manually on the workstation.
Also, you can add to the command something like /l*v %temp%\mylog.txt and collect the logfile from there.
Note that you probably also want to patch the installation source, in order to avoid patching all future installations.
Also, you can add to the command something like /l*v %temp%\mylog.txt and collect the logfile from there.
Note that you probably also want to patch the installation source, in order to avoid patching all future installations.
Any luck yet Warren?
Coralon
Coralon
ASKER
Hi Coralon,
I have actually been working on it today. It seems to be working now, but unfortunately the issue I was trying to fix still exists...
I took a bit of advise from yourself and mike.
I copied the file locally to the pc using GPP, then used the below script.
setlocal
reg query HKEY_CLASSES_ROOT\Installe r\Patches\ DC88D2DD20 D960F4BA77 A1F3D365E4 7D
if %errorlevel%==1 (goto Patches) else (goto End)
:Patches
start /wait msiexec.exe /update "C:\Temp\OfficeConfigRemov e.MSP" REINSTALL=ALL REINSTALLMODE=omus /qn /l*v c:\Temp\OfficeCust.log
:End
Endlocal
Thanks,
Warren
I have actually been working on it today. It seems to be working now, but unfortunately the issue I was trying to fix still exists...
I took a bit of advise from yourself and mike.
I copied the file locally to the pc using GPP, then used the below script.
setlocal
reg query HKEY_CLASSES_ROOT\Installe
if %errorlevel%==1 (goto Patches) else (goto End)
:Patches
start /wait msiexec.exe /update "C:\Temp\OfficeConfigRemov
:End
Endlocal
Thanks,
Warren
That's fantastic! Glad to hear it is working out. :-)
Coralon
Coralon
It looks fine to me but clearly it's not. You haven't actually said what is wrong though? Do you get an error message? Is there a log file? If not please add one with /L*vc:\windows\temp\Office
The event log is also useful to check.
Mike