[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2342
  • Last Modified:

How to package an MS Fix It file to be deployed via SCCM2012 and run passively?

Trying to package the MS Fix It file 50154 (http://support.microsoft.com/kb/971179) to run passively to uninstall Office 2007. I would prefer the associates running the uninstall see a progress bar as it can take quite a while to uninstall, but will settle for silent if need be.  

Created application in SCCM2012 with program pointed at command: MSIEXEC /a <Path> /passive.  The distribution hits the clients, yet when opened from Software center it fails. Log file attached.  Need some direction please.  Tried a few MSI repackagers, but did not see an easy way to include the specific install parameters.  Does the package require the creation of a separate program to launch the settings as desired to run passively?
AppEnforce.log
0
OMCtech
Asked:
OMCtech
  • 4
  • 4
1 Solution
 
cantorisCommented:
I'm not used to SCCM 2012, but from that log I note it says it's executing it "with user context".  Unless your users are administrators, it will need to run with administrative rights.

Having said that, the log does show that the package appears to be returning exit code 0 (success).  What error do you see occur on the client?  Anything in its Application Event Log?
0
 
OMCtechAuthor Commented:
Thanks for responding!  Logged on users in test environment are admins, fully decremented UAC, I attached the logs for when I try to just run the msi via command line using "msiexec /a microsoftfixit".  What is odd to me is when I run msiexec /I from a command line, it runs, just requires me to answer the prompts and elevate the uninstall.  Using that same exact syntax as the program within SCCM I get the failure:
"This advertised application will not be installed because it might be unsafe.  Contact your administrator to change the installation user interface option of the package to basic."

As this is my second day wrestling with SCCM, I assume I am missing something basic, but any guidance would be appreciated.
MSI-Install-Fail-Application-Log.txt
0
 
cantorisCommented:
I don't know the SCCM 2012 interface, but in SCCM 2007 we always tick the box to allow it to interact with the desktop, always select to download and run locally (but hidden), run with admin rights and I usually wrap a batch file round it.  In your case I'd be simply doing this:
start /wait msiexec /i MicrosoftFixIt.msi /quiet /norestart
Make sure that your source folder has the MSI unblocked before you package it up - ie right-click it and select Unblock on the properties sheet, as by default its coming from the Internet Zone will make it appear dangerous.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
OMCtechAuthor Commented:
Sorry for this next question, and thanks for the last response: how would you suggest wrapping a batch file around it?  I have been providing the commands I can think of in the programs field when building the application: specifically variations of /administrative with the /passive option, though /qf and /qb have not been working either. Curious how I would be able to tell msiexec where the msi would be located?

Would it be the creation of a batch file (new to me) that would run the install and I would point to as the program for the install?

Other msi based application installs, chrome enterprise for instance, work as expected.
0
 
cantorisCommented:
Make a folder on your SCCM server called "FixIt" or whatever, in the location where you store your package source files.
Copy your Fixit.msi into there along with a file called Install.bat made in Notepad containing the following:

@echo off
start /wait msiexec /i MicrosoftFixIt.msi /quiet /norestart
exit

Really the first and last lines are just there to be pedantic!  Make a new package in SCCM and point it at the above folder when it asks for the source files.  Then tell it the command to start the program in the package is "Install.bat" and set it to run Hidden and with admin rights.  Use the setting to tell it to download the programme from the distribution point and run it locally.  If the SCCM client tries to run it from the distribution point, msiexec will not find the msi file.
(I use SCCM 2007 so don't know how SCCM 2012 may differ.
0
 
OMCtechAuthor Commented:
Thanks!  I appreciate the white gloving without condescension.

Tried this and the behavior is the same; it codes as a successful install but the fixit does not run and does not uninstall Office 2007 as intended.  Giving up on this approach, going with  a program that points at the the uninstall.xml from the  source media.  Problem has been the incredible lengths it can take to uninstall: limiting it to run for a half hour and then it will be up to my Service Desk to assist.

Thanks again!

Sean
0
 
cantorisCommented:
Very generous of you to award points when I've not solved your problem!

We schedule Office 2010 installs out of hours since they take so long; it doesn't surprise me that the uninstall is just as slow.
In my experience, if the run time of a package is exceeded (e.g. whilst waiting for a user who locked the workstation to respond to a prompt when they next log in - e.g. to close an app so it can be upgraded), an error is returned and logged on the SCCM server but the package does continue to run (providing it is still alive)!
0
 
OMCtechAuthor Commented:
You earned it via providing foundational information which I will build on as I learn and a sanity check in a polite manner.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now