Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SCCM 2012 - Deploy Splunk UniversalForwarder as Application

Posted on 2016-07-30
3
Medium Priority
?
272 Views
Last Modified: 2016-08-11
Hello Everyone:

I am trying to deploy Splunk UniversalForwarder as Application (.MSI).  I deploy/advertise it to a Windows 2012 Server and it downloads to the Windows\ccmcache directory correctly.  However, when the MSI runs from the SCCM Deployment, it will first add the HKEY_CLASSES_ROOT\Installer\Products\C33E90967C4508347909398E437BB8FA and the MSI will then respond with "The version of the UniversalForwarder has already been installed on this computer."

When I run the .MSI from the same command line within a run or command window, I do not get this issue.

Any thoughts on why this is occurring when I deploy the .msi through SCCM 2012?
0
Comment
Question by:rmessing171
[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
3 Comments
 
LVL 18

Accepted Solution

by:
Mike T earned 2000 total points
ID: 41736577
Hi,

It does not matter (usually) what the app is. The important thing is what format the software is, how you added it to ConfigMgr and how it installs normally with silent switches.

As it's an MSI that means things are generally a lot easier, as the wizard does most of the work for you.

You've created an application. By default the install command line will be

msiexec /i SplunkUF.msi /qn

If you edited this field make sure it's correct. It's always wise to add logging for troubleshooting here so the command line becomes:

msiexec /i SplunkUF.msi /qn /l*v c:\temp\Splunk.log

You have to understand a little about MSI logs which can be arcane at the best of times. Tip: use CMtrace to read it anyway.

Note, the uninstall GUID will also populate in the field below that. Make sure you click on the bottom button and browse to the MSI to manage the source otherwise MSI repairs will not be "owned" by CM and likely fail.

As for the failure to install, it looks like the MSI is meeting the detection method rule. The default behaviour is to look for the MSI GUID, here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

If you have changed the detection method then look for the presence of the file\regkey you used.
When you're testing you have to be 100% sure that any uninstall is clean and leaves no traces of the app whatsoever. No files, no registry, no cached files, fonts, icons, shortcuts.

Apps are a lot better than they used to be but some are still a bit dirty and leave things behind.

What is the command-line you use to do the manual install?

It looks like there's a slight different otherwise you would get the same behaviour. Either way, MSI logs will be a massive help.

Finally speaking of logs, check the CM logs c:\windows\ccm\logs\appdeploy.log and ccmexec.log.

Mike
0
 

Author Closing Comment

by:rmessing171
ID: 41752914
Thank you for your assistance!
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41752955
You're very welcome
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Troubleshooting common task sequence error codes
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

721 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