ScriptLogic.com: Windows Management…Point, Click, Done


Desktop Management

Windows Servers & Security

Other Products




Custom Script: C0023

Overview:

You previously rolled out the shareware edition of WinZip to your clients. Now you need to enter the license code provided by Nico Mak Computing after purchasing the appropriate number of licenses for your enterprise.


Add these line(s) to Custom Script 1 or 2:

; ** Apply license/registration code to WinZip [Begin] **
if ingroup('WinZip-Users') and existkey('$HKLM\Software\Nico Mak Computing\WinZip\WinIni')=0
  $LicName='XXXX'
  $LicCode='XXXXXX'
  $result=writevalue('$HKLM\Software\Nico Mak Computing\WinZip\WinIni', 'Name', '$LicName', 'REG_SZ')
  $result=writevalue('$HKLM\Software\Nico Mak Computing\WinZip\WinIni', 'SN', '$LicCode', 'REG_SZ')
  $result=writevalue('$HKCU\Software\Nico Mak Computing\WinZip\WinIni', 'Name', '$LicName', 'REG_SZ')
  $result=writevalue('$HKCU\Software\Nico Mak Computing\WinZip\WinIni', 'SN', '$LicCode', 'REG_SZ')
endif
; ** Apply license/registration code to WinZip [End] **

Created: 09 November, 1999
Last Revised: 22 July, 2004