Page 1 of 1 1
Topic Options
#46358 - 2003-10-06 08:07 PM Upgrading from 3.62
NA Admin Offline
Fresh Scripter

Registered: 2003-04-28
Posts: 5
Loc: Washington, DC
Hello everyone -

We need to upgrade from our current version 3.62 to version 4.x. I would like to hear any recommendations doing so. Basically, I'd like to know if some commands from my script work fine with the earliest version of KiXtart. Any help is appreciated.

Are there any tools to test the current scripts? [Confused]

Here is the script:

$HomeServer=SUBSTR(@HOMESHR,1,7)
$Apps=$HomeServer+"\APPS"
$Group=@COMMENT
$GroupAll=$HomeServer+"\"+SUBSTR(@COMMENT,1,3)+"-All"
$Common=$HomeServer+"\"+$Group
$HomeShare=@HOMESHR
$RAS=@RAS
;
; Get IP addresses
;
;Added 3/10/03 to prevent SMS from running over VPN -
$VPNIPaddr=SUBSTR(@IPADDRESS0, 1, 12)
;
; Drive mappings
;
USE K: $Apps
USE N: $Common
USE S: $GroupAll
USE U: $HomeShare
;
IF EXIST (%WINDIR% + "\SkipLS")
EXIT
ENDIF
;
Select
;
Case InGroup("DBASSE-ALL")
; DBASSE-ALL staff
USE S: "\\NRC03\DBASSE-ALL"
;
Case InGroup("DELS-ALL")
; DELS-ALL staff at HA and NAS
USE S: "\\NRC03\DELS-ALL"
;
Case InGroup("DEPS-ALL")
; DEPS-ALL staff
USE S: "\\NRC03\DEPS-ALL"
;
Case InGroup("IOM-PRS")
; IOM Pres. staff at NAS
USE S: "\\NRC05\IOM-ALL"
;
Case InGroup("ITS-ERO")
; ITS-ERO staff at NAS
USE S: "\\NRC06\ITS-ALL"
;
Case InGroup("PGA-IOAC")
; PGA-IOAC staff at NAS
USE S:/D
USE S: "\\NRC05\PGA-ALL"
;
Case InGroup("PeopleSoft")
; PeopleSoft Users
; Made the changes for the users to be able to use payroll data 8/14/99
USE Q: "\\NRC01\APPS"
;
Case InGroup("NAS-NPI")
; NAS-NPI staff at NAS
USE V: "\\NRC04\NAS-VID"
;
Case InGroup("OOA-ALL")
; Admin staff at NAS
USE V: "\\NRC04\NAS-VID"
;
Case InGroup("Avanti")
; Avanti users
USE L: "\\NRC02\APPS"
;
Case InGroup("Cats")
; Cats users
USE H: "\\NRC08\APPS"
;
Case InGroup("Memsys")
; Membership System
USE R: $GroupAll
USE S:/D
USE S: "\\NRC04\Apps"
;
ENDSELECT
;
;===============Added 3/10/03 to prevent SMS from running over Remote connections ====
;
IF $RAS=1 ;If a dial connection exists, exit.
EXIT
ENDIF
IF $VPNIPaddr="144.171. 1." ;DMZ1 Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 11." ;DMZ2 Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 20." ;NAP web host network
EXIT
ENDIF
IF $VPNIPaddr="144.171. 7." ;ISDN Commserver
EXIT
ENDIF
IF $VPNIPaddr="144.171. 8." ;Commserver Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 9." ;Commserver Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 12." ;Commserver Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 24." ;Security Subnet
EXIT
ENDIF
IF $VPNIPaddr="144.171. 68." ;VPN Server Network
EXIT
ENDIF
IF $VPNIPaddr="144.171. 69." ;VPN Server Network
EXIT
ENDIF
IF $VPNIPaddr="144.171. 70." ;VPN Server Network
EXIT
ENDIF
IF $VPNIPaddr="144.171. 71." ;VPN Server Network
EXIT
ENDIF
IF $VPNIPaddr="198. 83. 4." ;Beckman VPN Server Network
EXIT
ENDIF
IF $VPNIPaddr="198.133.209." ;Woodshole VPN Server Network
EXIT
ENDIF
;
;==================SMS & Time Exclusions=================================
;
;Set Time
SETTIME "\\na01" ;Set time to na01
;

[ 06. October 2003, 20:17: Message edited by: NA Admin ]

Top
#46359 - 2003-10-06 08:15 PM Re: Upgrading from 3.62
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure does it work with 2.xx but code seems good for kixtart 95 (3.xx) and kixtart 2001 (4.xx).
_________________________
!

download KiXnet

Top
#46360 - 2003-10-06 08:16 PM Re: Upgrading from 3.62
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
SETTIME will not work under Windows NT/200/XP unless the users are at least 'Power User', and it should not be done at all in AD as you'd rather use the Windows Time Service.

See the FAQ Forum on how to upgrade kiXtart and read the tCP/IP Primer for easier ways to handle your IP address ranges.
_________________________
There are two types of vessels, submarines and targets.

Top
#46361 - 2003-10-06 08:24 PM Re: Upgrading from 3.62
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

When we take a close look at your script we don't see any problem
with an upgrade to a recent release. We suggest an upgrade to
kixtart 4.21.
Only problems with an upgrade can be OLExxx function call. In your
script we don't see those calls.

For more information see:
- KiX upgrade: what are those new features? can upgrade be done without any danger?
- release.htm

How you can verify possible problem with a newer release use our tool kixstrip, which
you can find on our site.
With the call: kixstrip input.kix output.kix /block_check /show_structure[/b] we
get following output:
code:
 $homeserver=Substr(@homeshr,1,7)
$apps=$homeserver+"\APPS"
$group=@comment
$groupall=$homeserver+"\"+Substr(@comment,1,3)+"-All"
$common=$homeserver+"\"+$group
$homeshare=@homeshr
$ras=@ras
;
; Get IP addresses
;
;Added 3/10/03 to prevent SMS from running over VPN -
$vpnipaddr=Substr(@ipaddress0, 1, 12)
;
; Drive mappings
;
USE k: $apps
USE n: $common
USE s: $groupall
USE u: $homeshare
;
IF Exist (%windir% + "\SkipLS")
EXIT
ENDIF
;
SELECT
;
CASE
InGroup("DBASSE-ALL")
; DBASSE-ALL staff
USE s: "\\NRC03\DBASSE-ALL"
;
CASE
InGroup("DELS-ALL")
; DELS-ALL staff at HA and NAS
USE s: "\\NRC03\DELS-ALL"
;
CASE
InGroup("DEPS-ALL")
; DEPS-ALL staff
USE s: "\\NRC03\DEPS-ALL"
;
CASE
InGroup("IOM-PRS")
; IOM Pres. staff at NAS
USE s: "\\NRC05\IOM-ALL"
;
CASE
InGroup("ITS-ERO")
; ITS-ERO staff at NAS
USE s: "\\NRC06\ITS-ALL"
;
CASE
InGroup("PGA-IOAC")
; PGA-IOAC staff at NAS
USE s:/d
USE s: "\\NRC05\PGA-ALL"
;
CASE
InGroup("PeopleSoft")
; PeopleSoft Users
; Made the changes for the users to be able to use payroll data 8/14/99
USE q: "\\NRC01\APPS"
;
CASE
InGroup("NAS-NPI")
; NAS-NPI staff at NAS
USE v: "\\NRC04\NAS-VID"
;
CASE
InGroup("OOA-ALL")
; Admin staff at NAS
USE v: "\\NRC04\NAS-VID"
;
CASE
InGroup("Avanti")
; Avanti users
USE l: "\\NRC02\APPS"
;
CASE
InGroup("Cats")
; Cats users
USE h: "\\NRC08\APPS"
;
CASE
InGroup("Memsys")
; Membership System
USE r: $groupall
USE s:/d
USE s: "\\NRC04\Apps"
;
ENDSELECT
;
;===============Added 3/10/03 to prevent SMS from running over Remote connections ====
;
IF $ras=1 ;If a dial connection exists, exit.
EXIT
ENDIF
IF $vpnipaddr="144.171. 1." ;DMZ1 Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 11." ;DMZ2 Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 20." ;NAP web host network
EXIT
ENDIF
IF $vpnipaddr="144.171. 7." ;ISDN Commserver
EXIT
ENDIF
IF $vpnipaddr="144.171. 8." ;Commserver Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 9." ;Commserver Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 12." ;Commserver Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 24." ;Security Subnet
EXIT
ENDIF
IF $vpnipaddr="144.171. 68." ;VPN Server Network
EXIT
ENDIF
IF $vpnipaddr="144.171. 69." ;VPN Server Network
EXIT
ENDIF
IF $vpnipaddr="144.171. 70." ;VPN Server Network
EXIT
ENDIF
IF $vpnipaddr="144.171. 71." ;VPN Server Network
EXIT
ENDIF
IF $vpnipaddr="198. 83. 4." ;Beckman VPN Server Network
EXIT
ENDIF
IF $vpnipaddr="198.133.209." ;Woodshole VPN Server Network
EXIT
ENDIF
;
;==================SMS & Time Exclusions=================================
;
;Set Time
SETTIME "\\na01" ;Set time to na01
;

;($begin)
;
; mon 06-oct-2003 20:21:53 (kix 4.20 vs 4.00e)
;
;Informative KIXSTRIP: no errors found (input=134 output=134 skip=0).
;
;Summary KIXSTRIP: block structures
; - do:until [0:0]
; - for|each:in|to:step|next [0|0:0|0:0|0]
; - function:endfunction [0:0]
; - if:else:endif [16:0:16]
; - select:case:endselect [1:12:1]
; - while:loop [0:0]
;Informative KIXSTRIP: 17 block_structures found.
;Informative KIXSTRIP: no UDF's found.
;Informative KIXSTRIP: no labels found.
;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE
;Informative KIXSTRIP: 16 EXIT
;Informative KIXSTRIP: 19 USE
;
;($end)

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#46362 - 2003-10-06 08:32 PM Re: Upgrading from 3.62
NA Admin Offline
Fresh Scripter

Registered: 2003-04-28
Posts: 5
Loc: Washington, DC
Thank you for your responses. I was reading your document and I have a question about Answer #3. How do I know if I am running the kxrpc service? I have Win9X machines on the network, but my Win2k or WinNT machines are not running this service under services. I guess I only need to replace the files to the Domain Controllers and will finish the upgrade. Right?

Answer 3: can I easily upgrade our servers?

An upgrade of your server can easily be done. For the Windows 9x users we advise
you to upgrade the kxrpc service at the same time as you are upgrading
your other kixtart files.

Top
#46363 - 2003-10-06 08:39 PM Re: Upgrading from 3.62
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Please read the FAQ Forum and the KiXtart Manual! It contains all the answers you need including which files go where.
_________________________
There are two types of vessels, submarines and targets.

Top
#46364 - 2003-10-07 12:15 AM Re: Upgrading from 3.62
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Installing KiXtart on the server? The big thing there is that you will need to update/upgrade the KXRPC.EXE service and DLLs needed for Windows 9x clients. If you have no 9x Clients, then that is a moot point. The other thing is, are you running KIX32.EXE from the client workstation or are you running from the server?

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

Top
#46365 - 2003-10-07 03:32 PM Re: Upgrading from 3.62
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

The iexpress packages with the kixtart binaries inside install only the required files on
your system. So no DLL's when not necessary.

The latest one of it is:
- kix421update.exe for the kix32.exe version
- wkix421update.exe for the wkix32.exe version

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#46366 - 2003-10-08 04:01 PM Re: Upgrading from 3.62
NA Admin Offline
Fresh Scripter

Registered: 2003-04-28
Posts: 5
Loc: Washington, DC
I am running the kix32 from the server. No files were installed on the workstations. It should be an easy update. Thank you all for your help.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 444 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.058 seconds in which 0.023 seconds were spent on a total of 11 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org