#47013 - 2003-10-19 09:53 PM
Re: DEL command not deleting read-only files
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
SETFILEATTR should do it before the file Deletion.
Kent
|
Top
|
|
|
|
#47016 - 2003-10-19 11:19 PM
Re: DEL command not deleting read-only files
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
There are many ways to upgrade when each computer has the binaries loaded locally.
You definitely should get off of 3.x version.
See the posts in http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=2;t=003344#000000 for some ideas. I believe the FAQ forum also some ideas as well MCA's web site.
I check for the proper verion each and every logon and can uipgrade all client anytime. My web site also has some logon script design thoughts.
|
Top
|
|
|
|
#47019 - 2003-10-19 11:54 PM
Re: DEL command not deleting read-only files
|
Everyone
Getting the hang of it
Registered: 2003-10-19
Posts: 81
Loc: Beale Air Force Base, CA
|
I am aware of all that. It's more not being allowed to upgrade, than not knowing how to.
I appologize for not mentioning the version of Kixtart being used before. As far as the rest of "Section F". For security reasons, I cannot disclose any further details on my network environment.
Aside from waiting on permission to upgrade, I have limitations on upgrading. (SMS and other simular options are beyond my control)
Pretty much the only option I have for upgrading is via the login scripts themselves.
This is a very large network (over 5000 users), with a few dozen different login scripts depending on where users are assigned to. (trying to consolidate this mess down into one script)
A batch file cannot determine the version of Kixtart alread installed on the system. A Kixtart script can determine which version is running, however it cannot copy a new version over the top of itself, because kix32.exe will be in use while the script is running. (actually it can do this, but only if the upgrade code is at the very end of a script, and only one script is being run, however several scripts are currently being run at once)
Version determination is very important due to the volume of users on the network. Having a batch script blindly replace existing Kixtart files every time a user logs on, would result in unacceptable amounts of network traffic during peak logon times (shift changes), and could potentially cause many other problems.
I am considering having a text file copied along with the Kixtart files, and having the batch script copy the newer Kixtart files only if the text file is not present. This is the only feasable option I have been able to come up with thus far. Only obstacle in that is sorting through the mess of login scripts left by those who came before me.
So I'm stuck with 3.63 until authorization is given to upgrade, and must make due with features availible within it until then.
|
Top
|
|
|
|
#47020 - 2003-10-19 11:58 PM
Re: DEL command not deleting read-only files
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You need to read my batch file. It is the second post of the link I posted above. I use a CRC32 check and replace any file that is not what it should be (version or otherwise.) [ 20. October 2003, 02:32: Message edited by: Howard Bullock ]
|
Top
|
|
|
|
#47022 - 2003-10-20 12:06 AM
Re: DEL command not deleting read-only files
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
|
Or, depending on how fast your network is, don't even bother copying the executable to the clients. Just dump everything into the NETLOGON share. Then you don't have to worry whether a client has an incorrect version, no Kixtart at all, or whether somebody tries to break the login script. Granted it adds about 300k of traffic for each user, but, unless you're using dial-up or ISDN, you should be fine with this. It will also make version control easier.
The FAQ Forum contains multiple threads about this. [ 20. October 2003, 00:24: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.
|
Top
|
|
|
|
#47024 - 2003-10-20 12:20 AM
Re: DEL command not deleting read-only files
|
Everyone
Getting the hang of it
Registered: 2003-10-19
Posts: 81
Loc: Beale Air Force Base, CA
|
Yeah, it would be much easier like that, I've thought of that option before. ;-)
Bandwith isn't that much an issue... however with over 5000 users, mass amounts of open sessions on a server causes problems with the server.
Open sessions on the server often remain, even after the program has stopped running. So you end up with a bunch of workstations connected to your servers, not doing anything, but not letting other workstations do anything either. Some times clearing the sessions will fix it, some times you have to reboot.
I had a small one-way messaging program being run off of a file server on each workstation via login script once. After the program was loaded into memory, the workstations weren't releasing there sessions on the file share. There was no reason the sessions should be kept open, and not every workstation kept them open, but enough of them did to keep crashing it. Ended up having to copy the program to each workstation, instead of running it off the server.
Probably wouldn't be a problem in a smaller environment.
Wasn't very fun.
quote: Or, depending on how fast your network is, don't even bother copying the executable to the clients. Just dump everything into the NETLOGON share. Then you don't have to worry whether a client has an incorrect version, no Kixtart at all, or whether somebody tries to break the login script. Granted it adds about 300k of traffic for each user, but, unless you're using dial-up or ISDN, you shoudl eb fine with this. It will also make verison control easier.
The FAQ Forum contains multiple threads about this.
-------------------- Jens
|
Top
|
|
|
|
#47025 - 2003-10-20 12:22 AM
Re: DEL command not deleting read-only files
|
Everyone
Getting the hang of it
Registered: 2003-10-19
Posts: 81
Loc: Beale Air Force Base, CA
|
Did I say "installed"? I meant copied. ;-)
quote: And actually kix doesn’t need to be installed, just copied
|
Top
|
|
|
|
#47029 - 2003-10-20 01:45 AM
Re: DEL command not deleting read-only files
|
Howard Bullock
KiX Supporter
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
My method is still the best. IMHO YMMV
|
Top
|
|
|
|
#47030 - 2003-10-20 01:57 AM
Re: DEL command not deleting read-only files
|
Everyone
Getting the hang of it
Registered: 2003-10-19
Posts: 81
Loc: Beale Air Force Base, CA
|
Looks that way so far.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 369 anonymous users online.
|
|
|