WIBU-SYSTEMS AG CodeMeter Runtime Kit

Views: 2.1k  |  Created: 11/30/2010

Average Rating: 0
CodeMeter Runtime Kit has 4 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (2)

Most Common Setup Type
Windows Installer (Delivered as an EXE)
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 1 ratings
Most Commonly Reported Deployment Method
Windows Installer Command Line (No MST)
or cancel
0
Script

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
setlocal
cls

rem ***** Set the package name
set pkg=CodemeterRuntime640
title %pkg%

rem ***** Set installation source
set src=%~dp0

rem **** uninstall any old versions first
rem start "Uninstall" /wait "%src%Uninstall_CodemeterRuntime640.bat"

rem ***** Install the package

echo.
echo.Installing %pkg%... Please wait
set installstring1=%src%CodeMeterRuntime.exe /ComponentArgs "*":"/qn"
start "%pkg%" /wait %installstring1%
start "%pkg%" /wait regedit.exe -s "%src%codemeter-serversearchlist.reg"

exit /b

Now for the Uninstall

Uninstall_CodemeterRuntime640.bat

@echo off
setlocal
cls

rem ***** Set the package name
set pkg=CodemeterRuntime460
title %pkg%

rem ***** Set installation source
set src=%~dp0

rem ***** Uninstall the package
rem Uninstalling %pkg%... Please wait

rem detect stystem arch...

if %processor_architecture%==AMD64 goto 64system
if %processor_architecture%==x86 goto 32system

rem ### 32 Bit system ###
:32system
rem is the program already uninstalled?
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CE750232-A728-4E65-BC02-12DC25C26A11}
if %ERRORLEVEL% NEQ 0 exit 0

echo stop the program if it's running, Not found is OK
taskkill /F /IM codemeter.exe >nul
taskkill /F /IM CodeMeterCC.exe >nul

rem uninstall
start "Un-install %pkg%" /wait MsiExec.exe /quiet /x{CE750232-A728-4E65-BC02-12DC25C26A11}
timeout /t 10 /nobreak >nul
goto done

rem ### 64 Bit System ###
:64system
rem is the program already uninstalled?
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65404398-DD0D-4173-BEDE-F8F4D07FCE68}
if %ERRORLEVEL% NEQ 0 exit 0

echo stop the program if it's running, Not found is OK
taskkill /F /IM codemeter.exe >nul
taskkill /F /IM CodeMeterCC.exe >nul

rem uninstall
start "Un-install %pkg%" /wait MsiExec.exe /quiet /x{65404398-DD0D-4173-BEDE-F8F4D07FCE68}
timeout /t 10 /nobreak >nul
goto done

:done
exit /b


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




Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Windows Installer Command Line (No MST)
Deployment Difficulty: Somewhat Easy
Platform(s): Windows
Please log in to comment
0
Note

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. :-)

 

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (4)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

CodeMeter Runtime Kit

Version

4.20.310.504

Contact

www.codemeter.com

Uninstall String

MsiExec.exe /X{31D472DE-C95E-4899-8AB5-42EFB500CFFA}

Questions & Answers (0)

Questions & Answers related to WIBU-SYSTEMS AG CodeMeter Runtime Kit

Blogs (0)

Blog posts related to WIBU-SYSTEMS AG CodeMeter Runtime Kit

Reviews (0)

Reviews related to WIBU-SYSTEMS AG CodeMeter Runtime Kit