Page 2 of 2 <12
Topic Options
#67697 - 2002-07-28 07:49 PM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

We had now some time. Our kixstrip documentation has been finished.
We will also react on your mail tomorrow.
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
#67698 - 2002-07-30 12:14 AM Re: Deployment of Kix Scripts
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
MCA,

Glad you liked the changes I made and will be implementing them..

Thanks!

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

Top
#67699 - 2002-07-30 01:12 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

For the other members: what are those changes?

it becomes flexible for storing kixtart files. it will use the windows installation drive for it.
so it can be used also in f.e. the terminal server environment.


First it will be implemented in the latest kixtart 4.10 build 99 release.
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
#67700 - 2002-07-30 01:45 AM Re: Deployment of Kix Scripts
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Dear MCA,
In previous versions, you included the DLLs regardless of platform. Do you intend to install the DLLs only on Wintendo with the new version?

In previous versions you bundled KiX32 and WKiX32 separately. Do you plan to change that and have both in one package?

In previous versions you would explicitly remove associations to .SCR that could affect screensavers. Do you plan to leave the registry alone in the new version?

In previous versions, the errorlevel returned could not be trusted. Will the new version correctly return errorlevel?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#67701 - 2002-07-30 03:13 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

You make some good points. Some answers and questions about it:
  1. In previous versions, you included the DLLs regardless of platform. Do you intend
    to install the DLLs only on Wintendo with the new version?

    Answer:
    It has impact on all kind of other tools and script of our site, which doesn't mean
    we are thinking about it. Ruud advise also not install them in a none windows9x envi-
    ronment.
    We put in on our TO-DO list.
  2. In previous versions you bundled KiX32 and WKiX32 separately. Do you plan to
    change that and have both in one package?

    Answer:
    In an earlier reaction we want to keep it clear which version you are installing.
    - WKIX32 may not influence KIX32
    - for the not-experts the installation must be clear
    Questions:
    - what is the actual goal for combining them?
    - are you trying to install both versions at the same time or to install only one
    version based on specified parameter? we are also restricted by the way iexpress
    software is working.
    A possible way of passing information through installation script is by using
    environment variables like kix-debug and kix-show.
  3. In previous versions you would explicitly remove associations to .SCR that could
    affect screensavers. Do you plan to leave the registry alone in the new version?

    Answer:
    it is a good point. For our environments the SCR association isn't necessary.
    All our scripts are using KIX or K2K as extension.

    Indeed it isn't always necessary to change or to remove file associations. We suggest
    to remove only those file associations, when they were created by the kixregistry
    version.
    Also we suggest to remove SCR association for the Kixtart 4.x releases.
    The Kixtart 3.x releases are all using the SCR extension.

    Question:
    - what is the problem for your environment when the scr association is gone
    or modified? File associations are useful for a fast and easy way of opening a
    specific file type.
  4. In previous versions, the errorlevel returned could not be trusted. Will the
    new version correctly return errorlevel?

    Answer:
    - some things of kixcheck and wkixcheck are already on our TO-DO list, which
    makes it easier and more accurate to recognize your kixtart environment.
    Questions:
    - what are you meaning with "the errorlevel returned could not be trusted"? do you have
    an example?
    - did the control file kix???.ok contains the actual and correct status? can you
    run the installation with following script
    code:
     @echo off
    set kix-debug=ok
    %0\..\kix410update.exe /q
    rem -
    rem - rest of your script -
    rem -
    @echo off

    and return the debugging output and control file on the board or as mail.
Your suggestions will put on our list, but an implementation must have to wait during
our vacation.
Of course in some situations we love some additional information from you.
greetings.

btw: kdyer suggestions will be implemented before our vacation.

(TO_DO)

[ 30 July 2002, 03:21: Message edited by: MCA ]
_________________________
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
#67702 - 2002-07-30 03:58 AM Re: Deployment of Kix Scripts
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Dear,
With regard to installing KiX32 and WKiX32, it was my intention to use both. KiX32 for the logon while spawned and schedules scripts use WKiX.

With regard to associations, the express should not remove any. SCR by default is associated with screensavers. Many of my Wintendo users had a shortcut on their desktop to their screensaver that they could double-click to invoke. The reason for it was so that they could have a long timeout on their screen saver so it wouldn't kick in while they were talking on the phone, yet they could invoke it immediately when desired. Sort-of the poor man's NT lock workstation functionality. When I rolled out KiX 4.02 using your express package, our helpdesk got a lot of calls over the SCR association issue.

With regard to reliabilty of return codes of the express package, I found that I couldn't rely on it. I gave up on errorlevel entirely. I also found that the OK files were generated regardless of failure. In fact, on Wintendos I even tried:
IF NOT EXIST %windir%\kix32.exe GOTO ERRORLOG

This too returned false errors in my log. On NT I used:
%windir%\system32\fc.exe /lb1 "%windir%\kix32.exe" "\\ff_adm1\update\KiX4.02\kix32.exe" 1>nul 2>nul
IF ERRORLEVEL 1 GOTO ERRORLOG
...
:ERRORLOG
ECHO ======KIX 4.02 UPDATE FAILED====== >> \\ff_pdc\update\Logs\LogonError.log
NBTSTAT -S |FIND /I "<03>" >> \\ff_pdc\update\Logs\LogonError.log
ECHO ================================== >> \\ff_pdc\update\Logs\LogonError.log

This at least was consistent.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#67703 - 2002-07-30 04:26 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

Some additional reactions:
  • kix32 & wkix32.
    We will implement your suggestion. The kixupdate will install wkix32 at the same time.
    It can be necessary for backwards compatibility to introduce an environment variable
    for this issue.
  • scr file association
    We have never think about this way of using screen saver. In a future release we will
    not influence the existing values for this scr association.
    Possible that we will implement it for our vacation in the latest final kixtart release
    (build 99).
  • return codes of express package
    Les, we are always interested in the control file when the installation doesn't works
    like expected.
    Question: was it possible that you were upgrading to newer release on your windows9x
    environment.
    Possible the problem have to deal with the way data is written to disk in those
    environments. Installation script thinks control file has been removed, but it was
    still in the buffer.
    To prevent this possibility please remove first the control file(s) manually. You
    can find them in the c:\ and %windir directories.
  • filecomparison
    The way you are comparing kix32.exe files will be implemented in our additional tools
    kixcheck.exe and wkixcheck too. We will use a CRC check on a related
    kixtart files. Tools will becomes flexible enough to handle also newer kixtart
    releases.
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
#67704 - 2002-07-30 05:33 AM Re: Deployment of Kix Scripts
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
On my Wintendos I was replacing a local copy of 3.62 and therefor looking for a way, using your tools. It was some time ago so I don't remember the details. I ended up with a 'belt and suspenders' approach.
IF NOT EXIST C:\kix402.ok GOTO 95_UPDATE
IF NOT EXIST %windir%\kix32.exe GOTO 95_UPDATE

The problem with Wintendo is the cache. Doing another "IF NOT EXIST C:\kix402.ok GOTO ERRORLOG" after the update would leave some false entries in the log. It was because the dir was cached from the first "IF NOT EXIST". Basically, I had to ignore single log entries and only investigate where the same machine was in twice.

It was on Win2k that I was getting false OK files. Even though the user had insufficient rights to install KiX to %windir%, the express would still place the OK file in the root. I ended up using FC both before the update and after.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#67705 - 2002-07-30 05:42 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

Possible we have a solution for this caching problem by using the registry.
We have never hear that there are such problems also.
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
#67706 - 2002-07-30 07:30 PM Re: Deployment of Kix Scripts
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
registry would also be more sure than some file which user can destroy.
_________________________
!

download KiXnet

Top
#67707 - 2002-08-15 09:48 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

Based on the input from Kent Dyer & Les Ligetfa we
have extend the iexpress packages a little bit.
New is:
  • implementation of "terminal service" model.
    we are using drive based on "systemroot" registry setting. it solves
    problems with unavailable C-drive.
    for the temporary files it will use as prefix %tmp% environment
    variable.
  • status of file association .scr untouch by another association.
  • additional information will be written to debugging file. So you can
    see what the actual registry settings for .K2K, .KIX, .SCR and .UDF are.
  • script returns now also a errorlevel- 0 = a complete installation done
    - 1 = a incomplete installation done
    this value can use in your BATch file.
    f.e.
    code:
    @echo off
    %0\..\kix410update.exe /q
    if errorlevel 1 goto server
    if errorlevel 0 goto client
    goto server
    :server
    %0\..\kix32.exe %0\..\your_script.kix
    goto end
    :client
    kix32 %0\..\your_script.kix
    :end
    @echo off

  • in the NTx environment it isn't necessary to install the kx16.dll,
    kx32.dll and kx95.dll.
    we make it possible such installation, but for backward compatibility
    we introduce the additional environment variable kix-only-required.
    its value isn't important.
    the control file shows the result of such installation.
Current environment variables to control packages are
  • kix-debug
  • kix-only-required
  • kix-show
Examples:
  • a standard installation
    code:
    [KiXtart]
    kix32.exe=2002/08/14 02:35:01 -> 2002/07/08 20:41:12 225280 (build 099)
    kx16.dll=2002/08/14 02:35:02 -> 2001/08/27 20:17:29 47104
    kx32.dll=2002/08/14 02:35:02 -> 2002/03/29 12:38:08 49152
    kx95.dll=2002/08/14 02:35:02 -> 2001/11/19 05:00:00 49152
    KiXtart=installation completed at 2002/08/14 02:35:02 (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"
    KiXtart release=ME -> kix 4.10
    KiXtart mode=registry

    kix-only-required specified.
    code:
    [KiXtart]
    kix32.exe=2002/08/14 02:46:02 -> 2002/07/08 20:41:12 225280 (build 099)
    KiXtart=installation completed at 2002/08/14 02:46:02 (+kix32.exe -kx16.dll -kx32.dll -kx95.dll) to "c:\windows\"
    KiXtart release=NT4 -> kix 4.10
    KiXtart mode=registry (only required files)

    -kx16.dll, -kx32.dll and -kix95.dll were removed.

    kix-only-required specified.
    code:
    [KiXtart]
    kix32.exe=2002/08/14 02:57:36 -> 2002/07/08 20:41:12 225280 (build 099)
    KiXtart=installation completed at 2002/08/14 02:57:36 (+kix32.exe ?kx16.dll ?kx32.dll ?kx95.dll) to "c:\windows\"
    KiXtart release=NT4 -> kix 4.10
    KiXtart mode=registry (only required files)

    ?kx16.dll, ?kx32.dll and ?kix95.dll aren't available on drive.
  • the debugging output when kix-debug & kix-only-required are specified
    in a NTx environment:
    code:
    Kixtart 4.10 - NT4 debug mode (vs 3.07)               02:57:34

    Informative INSTALL: copy x:\kix32.exe c:\windows\kix32.exe

    size.old = 225280
    size.new = 225280
    time.old = 2002/07/08 20:41:12
    time.new = 2002/07/08 20:41:12

    company name
    filedescription KiXtart main executable
    fileversion 4, 10, 0, 0
    internalname KIX32
    language 0409English
    legalcopyright Copyright Ruud van Velsen 2002
    legaltrademarks $
    originalfilename KIX32.EXE
    privatebuild
    productname KiXtart
    productversion 4, 10, 0, 0
    specialbuild Build 099

    => KiXtart - kix32.exe - 2002/08/14 02:57:36 -> 2002/07/08 20:41:12 225280 (build 099)
    => KiXtart - - installation completed at 2002/08/14 02:57:36 (+kix32.exe ?kx16.dll ?kx32.dll ?kx95.dll) to "c:\windows\"
    Informative INSTALL: creation of KIX file associations.
    =>
    => .kix kix32 document
    => .k2k kix32 document
    => .scr kix32 document
    => .udf kix32 document
    => kix32 document Edit
    =>
    => KiXtart - KiXtart release - NT4 -> kix 4.10
    => KiXtart - KiXtart mode - registry (only required files)

    logevent = Kixtart-UPDATE 3.07 script completed successfully (02:57:34 - 02:57:36) (+kix32.exe ?kx16.dll ?kx32.dll ?kx95.dll) to "c:\windows\"

    Kixtart 4.10 update completed. ('X:\' -> 'c:\windows\')

  • the debugging output when kix-debug & kix-only-required are specified
    in a 95x environment:
    code:
    Kixtart 4.10 - ME debug mode (vs 3.07)               02:59:26

    Informative INSTALL: copy x:\kix32.exe c:\windows\kix32.exe

    size.old = 225280
    size.new = 225280
    time.old = 2002/07/08 20:41:12
    time.new = 2002/07/08 20:41:12

    company name
    filedescription KiXtart main executable
    fileversion 4, 10, 0, 0
    internalname KIX32
    language 0409English
    legalcopyright Copyright Ruud van Velsen 2002
    legaltrademarks $
    originalfilename KIX32.EXE
    privatebuild
    productname KiXtart
    productversion 4, 10, 0, 0
    specialbuild Build 099

    Informative INSTALL: copy x:\kx16.dll c:\windows\kx16.dll

    size.old = 47104
    size.new = 47104
    time.old = 2001/08/27 20:17:29
    time.new = 2001/08/27 20:17:29

    company name
    filedescription
    fileversion
    internalname
    language
    legalcopyright
    legaltrademarks
    originalfilename
    privatebuild
    productname
    productversion
    specialbuild

    Informative INSTALL: copy x:\kx32.dll c:\windows\kx32.dll

    size.old = 49152
    size.new = 49152
    time.old = 2002/03/29 12:38:08
    time.new = 2002/03/29 12:38:08

    company name
    filedescription KiXtart 32 bit Thunk DLL
    fileversion 3, 61, 1, 0
    internalname KX32
    language 0409English
    legalcopyright Copyright Ruud van Velsen. 2001
    legaltrademarks
    originalfilename KX32.DLL
    privatebuild
    productname KiXtart
    productversion 3, 61, 1, 0
    specialbuild

    Informative INSTALL: copy x:\kx95.dll c:\windows\kx95.dll

    size.old = 49152
    size.new = 49152
    time.old = 2001/11/19 05:00:00
    time.new = 2001/11/19 05:00:00

    company name
    filedescription KiXtart RPC client DLL
    fileversion 3, 60, 0, 0
    internalname KX95
    language 0409English
    legalcopyright Copyright Ruud van Velsen. 2001
    legaltrademarks
    originalfilename KX95.DLL
    privatebuild
    productname KiXtart
    productversion 3, 60, 0, 0
    specialbuild

    => KiXtart - kix32.exe - 2002/08/14 02:59:31 -> 2002/07/08 20:41:12 225280 (build 099)
    => KiXtart - kx16.dll - 2002/08/14 02:59:31 -> 2001/08/27 20:17:29 47104
    => KiXtart - kx32.dll - 2002/08/14 02:59:31 -> 2002/03/29 12:38:08 49152
    => KiXtart - kx95.dll - 2002/08/14 02:59:31 -> 2001/11/19 05:00:00 49152
    => KiXtart - - installation completed at 2002/08/14 02:59:31 (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"
    Informative INSTALL: creation of KIX file associations.
    =>
    => .kix kix32 document
    => .k2k kix32 document
    => .scr kix32 document
    => .udf kix32 document
    => kix32 document Edit
    =>
    => KiXtart - KiXtart release - ME -> kix 4.10
    => KiXtart - KiXtart mode - registry

    logevent = Kixtart-UPDATE 3.07 script completed successfully (02:59:26 - 02:59:31) (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"

    Kixtart 4.10 update completed. ('X:\' -> 'C:\WINDOWS\')

  • a Kix410registry.exe installation when .scr has already another
    file association:
    code:
    Kixtart 4.10 - ME debug mode (vs 3.06)               01:30:11

    Informative INSTALL: copy x:\kix32.exe c:\windows\kix32.exe

    => KiXtart - kix32.exe - 2002/08/08 01:30:18 -> 2002/07/08 20:41:12 225280 (build 099)
    => KiXtart - kx16.dll - 2002/08/08 01:30:18 -> 2001/08/27 20:17:29 47104
    => KiXtart - kx32.dll - 2002/08/08 01:30:18 -> 2002/03/29 12:38:08 49152
    => KiXtart - kx95.dll - 2002/08/08 01:30:18 -> 2001/11/19 05:00:00 49152
    => KiXtart - - installation completed at 2002/08/08 01:30:18 (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"
    Informative INSTALL: creation of KIX file associations.
    =>
    => .kix kix32 document
    => .k2k kix32 document
    => .scr kix32 document test
    => .udf kix32 document
    => kix32 document Edit
    =>
    => KiXtart - KiXtart release - ME -> kix 4.10
    => KiXtart - KiXtart mode - registry

    logevent = Kixtart-UPDATE 3.06 script completed successfully (01:30:11 - 01:30:19) (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"

    Kixtart 4.10 update completed. ('X:\' -> 'C:\WINDOWS\')

  • a Kix410update.exe installation when .scr has already another
    file association:
    code:
    Kixtart 4.10 - ME debug mode (vs 3.06)               01:30:58

    Informative INSTALL: copy x:\kix32.exe c:\windows\kix32.exe

    => KiXtart - kix32.exe - 2002/08/08 01:31:03 -> 2002/07/08 20:41:12 225280 (build 099)
    => KiXtart - kx16.dll - 2002/08/08 01:31:03 -> 2001/08/27 20:17:29 47104
    => KiXtart - kx32.dll - 2002/08/08 01:31:03 -> 2002/03/29 12:38:08 49152
    => KiXtart - kx95.dll - 2002/08/08 01:31:03 -> 2001/11/19 05:00:00 49152
    => KiXtart - - installation completed at 2002/08/08 01:31:03 (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"
    =>
    => .kix
    => .k2k
    => .scr kix32 document test
    => .udf
    => kix32 document
    =>
    => KiXtart - KiXtart release - ME -> kix 4.10
    => KiXtart - KiXtart mode - update

    logevent = Kixtart-UPDATE 3.06 script completed successfully (01:30:58 - 01:31:03) (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "c:\windows\"

    Kixtart 4.10 update completed. ('X:\' -> 'C:\WINDOWS\')

  • the control file when you are installation kixtart files on f.e. X-drive
    code:
    [KiXtart]
    kix32.exe=2002/08/07 23:42:53 -> 2002/07/08 20:41:12 225280 (build 099)
    kx16.dll=2002/08/07 23:42:53 -> 2001/08/27 20:17:29 47104
    kx32.dll=2002/08/07 23:42:53 -> 2002/03/29 12:38:08 49152
    kx95.dll=2002/08/07 23:42:53 -> 2001/11/19 05:00:00 49152
    KiXtart=installation completed at 2002/08/07 23:42:53 (+kix32.exe +kx16.dll +kx32.dll +kx95.dll) to "x:\windows\"
    KiXtart release=ME -> kix 4.10
    KiXtart mode=registry

greetings.

btw: Still to go for a combine installation of kix32.exe & wkix32.exe
_________________________
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
#67708 - 2002-10-05 12:54 AM Re: Deployment of Kix Scripts
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Update.

{Edit - The Infrastructure Master piece was not worded properly}

I apologize for not getting back on this until now, but things are
looking great!

Issues/Hurdles with this upgrade:
  • Two Login scripts, for two companies logging into the same domain
  • Kix3.63 already in the Enterprise
  • GETTYPE.EXE and other Resource Kit utilities were not working
    properly.
  • Files to be distributed were making the NTLOGON.BAT and related
    files convoluted
  • Parent Company (Company A) Users were not only using the NTLOGON.BAT
    file but a secondary Batch file as well.
  • Child Company (Company B) Users were running scripts from the client
    workstation and not the Logon Server.
  • Groups were not be detected properly, we have added in a the “token
    cache” flush - http://helpdesk.kixtart.org/KixManual2001/Reference/GroupMembership.asp
    Also, we encountered an issue with the Infrastructure Master
    in the company.com domain.
Variety of users
  • Locked down
  • Full Administrative Access
  • Domain Admins
  • Servers
  • Terminal Server/Citrix
Design Philosopies/Concepts:
Ability to write to directories/folders
In theory, all users should be able to write to %windir% and not
%windir%\system32, however it was discovered that one of our test users
could not write to %windir%. Because of this, we chose to create a
folder on the same drive on the root, called Scripts.

Ability to write to the Registry
Tried to make the scripts only write to HKEY_CURRENT_USER.
HKEY_LOCAL_MACHINE needs Administrative access

Delivery of the Kixtart Executable
Chose to use a package delivery method to copy the Kix32 to the client
workstations. We are using methods and package tool described at -
http://home.wanadoo.nl/scripting/

This is also discussed at - .KIX -> .EXE: Package and compact your script...

This is from Microsoft and is using the Iexpress Package tool.

This is available from -
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q237803
and the IDK99.EXE is available at the web location
listed.

When investigating this install package script for Kixtart, it was
writing to the C: Drive specifically. Worked with the Developer of the
Package on Kixtart and asked him to modify the script as the maybe
times where Windows is installed on another drive other than C: like M:
for example. With suggestions from myself and another Moderator on
http://kixtart.org for changes, he has
since changed the install script to look for where Windows is installed.

The suggestions the other Moderator made was it is unnecessary to copy
over the DLLS and related files for Windows 9x onto a Windows NT-Class
system (Windows NT, 2000, XP)

This script has been modified and the install script to have it check
for the $SystemDrive + “\Scripts” and if needed create the folder and
copy appropriate files. Also, changed to not add in the Kixtart
Association for .KX, .KIX, and .SCR files in the User’s Registry.
When this install package runs, it creates two log files, one in the
root of the Windows Drive and one in the Scripts Folder on the Windows
Drive. These log files are helpful to see if the client workstation
installation was successful. Additionally, these files can also be
used at login to Deploy/Update Kixtart to the client workstations.

Script conversion
We have two domains… A “parent” and a “child.”
We have embarked on a domain migration to the child domain.

To start, we created a test script for Domain Admins and people in IT
to test and hammer out any kinks. This was also called from a separate
Ntlogon.bat called NTTest.bat and we modified the users testing this
script. The basis of this new NTLOGON.BAT file is from -
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318689

The updated NTLOGON.BAT file is:

code:
::@Echo OFF  

:: LAST EDITED; kld 10.04.02 @10:38PM pst
:: Trimmed down to use less stuff..
:: - From: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318689
:: 3 October 2002 - Changed to Kixtart 4.02

@ECHO off
::SETLOCAL

VER | find "NT" > nul
IF not errorlevel 1 GOTO Win_NT

VER | find "2000" > nul
IF not errorlevel 1 GOTO Win_NT

VER | find "XP" > nul
IF not errorlevel 1 GOTO Win_NT

VER | find "98" > nul
IF not errorlevel 1 GOTO Win_9X

VER | find "95" > nul
IF not errorlevel 1 GOTO Win_9X

GOTO unknown_os

:win_NT
@TITLE Company A / Company B NT Logon Script
ECHO HELLO %USERNAME%!
Echo Welcome to %USERDOMAIN%, Inc. NT Domain Environment
if not exist %SystemDrive%\Scripts\nul md %SystemDrive%\Scripts
if not exist %SystemDrive%\Scripts\kix402.ok
%LOGONSERVER%\NETLOGON\Programs\kix402update.exe /q
%SystemDrive%\Scripts\kix32.exe %LOGONSERVER%\NETLOGON\Kixtart.kix /f
:: -- call should be reserved for calling another batch file
::%windir%\kix32.exe %LOGONSERVER%\NETLOGON\Kixtest.kix
goto end

:win_9X
:: --- CHECK FOR FILES TO SET THE USER NAME
IF NOT EXIST %WINDIR%\PUTINENV.EXE XCOPY
\\EOS\NETLOGON\Programs\Win9x\PUTINENV.EXE %WINDIR%
IF NOT EXIST %WINDIR%\WINSET.EXE XCOPY
\\EOS\NETLOGON\Programs\Win9x\WINSET.EXE %WINDIR%

:: --- SET THE Environment Variables
:: -- Execute the script
::%WINDIR%\SYSTEM\KIX32.EXE %WINDIR%\SYSTEM\W95ENV.KIX

%WINDIR%\PUTINENV.EXE L
%WINDIR%\winset computername=%COMPUTERNAME%
%WINDIR%\winset username=%USERNAME%
%WINDIR%\winset LANGROUP=%LANGROUP%
%WINDIR%\winset LOGONSERVER=%LOGONSERVER%

:: --- DISPLAY THE USER NAME/DOMAIN
ECHO HELLO %USERNAME%!
ECHO Welcome to %LANGROUP%, Inc. Windows 9x Domain
Environment

if not exist c:\scripts\nul md c:\scripts
if not exist c:\scripts\kix402.ok %0\..\Programs\kix402update.exe /q
%0\..\kix32.exe %0\..\kix95.kix
goto end

:unknown_os
:end

The Kixtart Script is too large for posting in this article,
but is generally constructed as follows:
  • Set some Global Variables for Registry Keys
  • If a member of Company B, do some drive mappings
  • Detect the OS
  • If one of the Citrix Servers for Company B, GOTO specific section
    and check for ODBC, environment information and then leave
  • If logging into one of the servers, leave the script
  • If a member of Company A, copy some files to the client workstation
  • Check for files on the workstation
  • Detect what version of VirusScan, Dat, Engine, and etc. being
    reported from McAfee.
  • Check to see if ePO (ePolicy Orchestrator is installed)
  • Determine what time of day it is
  • Build the screen for the user to let them know what is going on
  • Do some common routines for all users
  • Detect which subnet the user is logging in from, if from our VPN
    subnets leave
  • Detect which groups the users are in and map drives and run routines
    for the users
  • Routines used in Groups listed in the previous bullet
We kept copies of script changes in folders under the Netlogon folder
and each is called scriptbak and from each day changes were made; we
called the folder 10042002-orig for the folder name. Sort of a “poor
mans” Visual SourceSafe.
This Test script was a testing ground to have both companies’ scripts
to be integrated into one script.

Once we have started migration to the new domain, we took the script in
the Parent Domain and looked at user groups and checked to see if they
exist in the Child Domain and added notes for each group as such. Any
groups that were Domain specific were prefaced with either
“Parent\GroupName” or “Child\GroupName.” Groups that exist in both
domains did not need to be prefaced, for example “GroupName.” This
operation was then duplicated for the Child Domain Kix Script.

The “Test” Script was copied to the Child Domain.

Integrated the Child Domain Kixtart.KIX into the “Test” Script. Added
in the groups from the Child Domain Script. Checked to see if there
were any missing Groups from the GOSUB Routines. We were
now using WMI for Shortcuts and made the appropriate changes.

Changes in the Kixtart script:
Server-Side Script execution-
The Kix32.EXE file is copied to the client and asks the server for the
Kixtart scripts. The Kixtart scripts for Company B were originally
copied to the client workstation and executed.

Server/Terminal Server Check-
If found, leave from the script. This used to be done from the
NTLOGON.BAT file.

File Checks-
Any Utilities are checked and if needed copied to the Workstation.

Printers-
Copy the Default Printer settings to the User’s Personal Drive. We
have been imaging and updating a number of our users and once the
machine has been imaged or replaced, they lose their printer.

Outlook
Once the user logs in the first time, they get MS-Outlook configured
and setup.

Thanks everybody!

Kent

[ 05. October 2002, 05:57: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#67709 - 2002-10-07 06:47 PM Re: Deployment of Kix Scripts
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Updated - .KIX -> .EXE: Package and compact your script....

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

Top
#67710 - 2002-12-01 07:52 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

Thanks for your excellent feedback.
See the related topic for another reaction to it.
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
#67711 - 2002-12-01 08:02 AM Re: Deployment of Kix Scripts
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
I take it with the new versions of the the update files, there will be the options of not copying the DLLs if you are deploying on to non-Win9x systems and not doing associations with .KIX, KX, and .UDF files?

Have you looked into the use of WINRAR or another package deployment tool rather than IExpress?

Thanks!

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

Top
#67712 - 2002-12-01 08:28 AM Re: Deployment of Kix Scripts
MCA Offline
KiX Supporter
*****

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

No, we doesn't look at winrar. We doesn't want unexpected situation after distribution of
package. Winrar isn't freeware.

We have automate the process to create and to verify new iexpress packages. Only your
feedback results in some changes to scripts and content of the packages.
Mostly when a product has some limitations we will search for another one.
greetings.

(TO_DO)

[ 01. December 2002, 08:29: Message edited by: MCA ]
_________________________
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
Page 2 of 2 <12


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

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.08 seconds in which 0.038 seconds were spent on a total of 13 queries. Zlib compression enabled.

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