Hello everybody
I'm trying to upgrade our Splunk Universal Forwarders using SCCM.
I'm using the following Command:
msiexec.exe /i splunkforwarder-6.3.2.0-x64-release.msi DEPLOYMENT_SERVER="splunk-deploy:8089" AGREETOLICENSE="yes"
When I run that command in an elevated command prompt, itworks.
When I run the same command over SCCM it fails. I've created a log file for the installer.
Log:
GetPreviousSettings: Warn: Failed to get version for product code: {D7B9707F-642E-422D-81F6-7DD2FDA29A60}
GetPreviousSettings: Info: found installed splunk products:
GetPreviousSettings: Info: ProductCode: {B5C4FF32-3B23-4D07-9322-9798E29A5174}, ProductName: UniversalForwarder, ProductVersion: 6.1.4.233537
GetPreviousSettings: Info: Number of splunk products installed: 1
GetPreviousSettings: Info: Leave GetPreviousSettings: 0x0.
MSI (s) (40:88) [09:19:40:870]: Doing action: CheckSameProdCodeExists
MSI (s) (40:88) [09:19:40:870]: Note: 1: 2205 2: 3: ActionText
Action ended 9:19:40: GetPreviousSettings. Return value 1.
Action start 9:19:40: CheckSameProdCodeExists.
MSI (s) (40:88) [09:19:40:871]: Note: 1: 2205 2: 3: Error
MSI (s) (40:88) [09:19:40:871]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (40:88) [09:19:40:871]: Product: UniversalForwarder -- This version of UniversalForwarder has already been installed on this computer.
Anybody has an idea how to fix that issue?
Regards
Edit:
In the meantime I managed to fix it.
I used the Orca MSI Editor:
- open the MSI in the Editor
- Transform -> New Transform
- Search for SameProdCodeExists="1"
- Replace it with SameProdCodeExists="0"
- Transform -> Generate Transform -> save the *.mst
-> Install with the following Command in SCCM:
msiexec.exe /i splunkforwarder-6.3.2-aaff59bb082c-x64-release.msi DEPLOYMENT_SERVER="splunk-deploy:8089" AGREETOLICENSE="yes" /quiet TRANSFORMS=splunk_x64.mst
↧