Hi All
The Following is my SCCM Silent install for Codemeter Runtime Kit v6.40 on windows.
With version 6.40 the vendor has rolled the x86 and x64 into the same .exe installer. The .exe contains multiple MSI's within and some DLLS and other bits for the code meter control center software. In my situation I wanted to install the whole lot silently, I wasn't interested in pulling out only the runtimes.
Now, Remember that codemeter release new versions all the time, so the specific exe I'm talking about Is current right now and has the below details
Name: CodeMeterRuntime.exe Size: 38581248 bytes Fileversion:6.40.2396.500 CRC32: FEF8DC82 |
I have managed to test x86 and x64 on windows 7 and these all ran fine with no issues.
You may need to tweak these things for your own environment,
Note I have a file called "codemeter-serversearchlist.reg" this is an exported reg file of the server search list in codemeter, it tells codemeter what remote servers to attempt searchin glicenses on, you can make your own one of these.
Here is the contents of .bat script for the install.
install_CodemeterRuntime640.bat
@echo off rem ***** Set the package name rem ***** Set installation source rem **** uninstall any old versions first rem ***** Install the package echo. exit /b |
Now for the Uninstall
Uninstall_CodemeterRuntime640.bat
@echo off rem ***** Set the package name rem ***** Set installation source rem ***** Uninstall the package rem detect stystem arch... if %processor_architecture%==AMD64 goto 64system rem ### 32 Bit system ### echo stop the program if it's running, Not found is OK rem uninstall rem ### 64 Bit System ### echo stop the program if it's running, Not found is OK rem uninstall :done |
Deployment details for SCCM (this is just a rough guide to get you going, you have to do the rest yourself)
You use the same Installer an uninstall for both, but you need different deployments so you can set the detection rule appropriately
Set up as an application Create an x64 deployment as below -Installation Program: "Install_CodemeterRuntime460.bat" -Uninstall Program: "Uninstall_CodemeterRuntime460.bat" ProductCode: {65404398-DD0D-4173-BEDE-F8F4D07FCE68} Detection Rule: MSI Product Code {65404398-DD0D-4173-BEDE-F8F4D07FCE68} UserExperience-Install Behaviour: Install For System UserExperience- Logonrequirement: whether or not a user is logged on Requirements: All win 7 64bit, All Win 8 64bit (exclude RT), All Win 8.1 64 bit, All Win 10 64bit x86 Deployment Setup -Installation Program: "Install_CodemeterRuntime460.bat" -Uninstall Program: "Uninstall_CodemeterRuntime460.bat" ProductCode: {CE750232-A728-4E65-BC02-12DC25C26A11} Detection Rule: MSI Product Code {CE750232-A728-4E65-BC02-12DC25C26A11} UserExperience-Install Behaviour: Install For System UserExperience- Logonrequirement: whether or not a user is logged on Requirements: All win 7 32bit, All Win 8 32bit (exclude RT), All Win 8.1 32 bit, All Win 10 32bit |
We can also use PowerShell to amend the registry directly. First we have to map the registry to a drive so we can modify it like a filesystem. I choose to drill down in to the area we are going to modify. Then use that shortcut to make our changes. Don't worry, the drive mapping is only for the PowerShell session. It won't show up in explorer and it dies when the function is complete. I recommend making your license server "Server1" and using "255.255.255.255" as "Server2" so that CodeMeter will search the network if it can't find the server you listed.
New-PSDrive -Name "CodeMeterServer" -PSProvider "Registry" -Root "HKLM:\SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion"
New-Item -Path "CodeMeterServer:\ServerSearchList" -Name "Server1" -Force
New-ItemProperty -Path "CodeMeterServer:\ServerSearchList\Server1" -Name "Address" -PropertyType String -value "255.255.255.255" -Force
To Add a CodeMeter Server to the installation just make a Registry Key in the Registry Table as follows:
regServer1 2 SOFTWARE\WIBU-SYSTEMS\CodeMeter\Server\CurrentVersion Server1 [PROP_CM_REG_SERVER1] regCmSvrCurrentVersionBase.1992E333_D17A_448B_8484_ED047109D182
then Set the Property "PROP_CM_REG_SERVER1" in the Property Table to the address of the server.
This is for the 64 bit Version of CodeMeter. For 32bit the Component may be another than "regCmSvrCurrentVersionBase.1992E333_D17A_448B_8484_ED047109D182".
Just check that the Component will be installed in every case. (Not much Coniditons in Component Table)
Hope this help you to deploy CodeMeter with Serveraccess automatically. :-)
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.