MCA,

As a follow-up to the update - Deployment of Kix Scripts.

Made the following modifications to the INSTALL.KIX file:

code:
  IF (@inwin = 1)
$destination_directory=ReadValue("HKEY_LOCAL_MACHINE\software\microsoft\windows NT\currentversion", "SystemRoot")
$system_drive=Substr($destination_directory,1,3) ; - This will show C: or M: or what drive windows is installed on -
$destination_directory=$system_drive+"\Scripts"
IF GETFILEATTR($destination_directory) & 16
ELSE
SHELL "%comspec% /c md "+$destination_directory
ENDIF
ELSE
$destination_directory=ReadValue("HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion", "SystemRoot")
$system_drive=Substr($destination_directory,1,3) ; - This will show C: or M: or what drive windows is installed on -
$destination_directory=$system_drive+"\Scripts"
IF GETFILEATTR($destination_directory) & 16
ELSE
SHELL "%comspec% /c md "+$destination_directory
ENDIF
ENDIF

In the START1.KIX, made the following modification:
code:
  IF ($nt_mode = "yes")
$destination_directory=ReadValue("HKEY_LOCAL_MACHINE\software\microsoft\windows NT\currentversion", "SystemRoot")
$system_drive=Substr($destination_directory,1,3) ; - This will show C: or M: or what drive windows is installed on -
$destination_directory=$system_drive+"\Scripts"
IF GETFILEATTR($destination_directory) & 16
ELSE
SHELL "%comspec% /c md "+$destination_directory
ENDIF
ELSE
$destination_directory=ReadValue("HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion", "SystemRoot")
$system_drive=Substr($destination_directory,1,3) ; - This will show C: or M: or what drive windows is installed on -
$destination_directory=$system_drive+"\Scripts"
IF GETFILEATTR($destination_directory) & 16
ELSE
SHELL "%comspec% /c md "+$destination_directory
ENDIF
ENDIF

Thanks!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's