Page 1 of 1 1
Topic Options
#102969 - 2003-07-16 03:19 PM man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
guys, at the end of my very short packaging rope to do with the MS ADSI dsclient.exe install package. When this package runs (either interactivly or quitely) it wants to perform a reboot and I am desperately trying to stop it from doing that.

The package is here:

Active Directory Client Extensions for NT Workstation 4.0

It runs silently like this:

DSCLIENT /Q

if one runs this:

DSCLIENT /Q /N

it launches into some internalized setup proggie and give more of a help on what is going on. it wont install the package so no worries.

So I then extracted the contents of the package like this:

dsclient /c /t:c:\dsclient

[just say yeah to the eula and it will extract files to a directory ... it WONT install it.]

When extracted, there is a proggy called setup.exe and an INF called DSCLIENT.INF ... I'm thinking that there must be a setting in the INF or a switch on the wrapper or for setup.exe itself (setup /? yields nothing) to stop the REBOOT from happening ...

Anyone got a clue ?

[ 16. July 2003, 15:31: Message edited by: Shawn ]

Top
#102970 - 2003-07-16 03:23 PM Re: man-over-board: dsclient and disabling reboot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I thought I just last night showed you what it does...
_________________________
!

download KiXnet

Top
#102971 - 2003-07-16 03:25 PM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
basta, guess I was tired and must have missed the important bit, so to stop dsclient from automatically rebooting I must ____________ ?

-Shawn

Top
#102972 - 2003-07-16 03:44 PM Re: man-over-board: dsclient and disabling reboot
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
parse what the executables does...

actually, checked again and indeed there seems to be no way of skipping the reboot if you use the main setup.
anyway, doing the setup by yourself is not an option?

only leads I could find was the "commandline":
adsix86.exe /C:"rundll32 advpack.dll,LaunchINFSection adsix86.inf,RegADSIWithDsclient,,N" DoDscSetup dscsetup.dll

I'm almost sorry of not providing the solution [Wink]
_________________________
!

download KiXnet

Top
#102973 - 2003-07-16 03:47 PM Re: man-over-board: dsclient and disabling reboot
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Shawn what is wrong with the reboot? If you don't reboot then the user may not reboot in a reasonable amount of time and your client could fail because the DSClient is not active. Just inform the user to close all program before procedding and that a required reboot will happen automatically.

[ 16. July 2003, 15:50: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#102974 - 2003-07-16 03:54 PM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Howard, the reason I'm (we're) not wanting to do a reboot is because this package is going to be distributed through Tivoli. Tivoli doesn't like it when packages do their own reboot. Tivoli likes to perform its own reboot so that it can set itself up to reconnect to the wkstn and proceed with a ton of other installs that is going out with this particular upgrade ...
Top
#102975 - 2003-07-16 04:05 PM Re: man-over-board: dsclient and disabling reboot
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3E54FE75.943607AF%40hydro.com&rnum=2&prev=/groups%3Fq%3Ddsclient%2Bno%2Breboot%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3D en

[ 16. July 2003, 16:07: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#102976 - 2003-07-16 04:10 PM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
holy crap - what a peice of sh*t !

- thanks Howard, did not see that link in any of my STFWs ... at least I can take this information back to our Tivoli packaging guys and it will justify a package reboot - like this guy, we are really trying to reduce the number of reboots in this gigantic package we are assembling ...

thats great. really great bbs you have here [Wink]

Top
#102977 - 2003-07-17 12:01 AM Re: man-over-board: dsclient and disabling reboot
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
Shawn,

There seems to be an issue with the DSCLIENT on NT4.
BUT, have you tried;
code:
DSCLIENT /Q:A /R:N

Could also be:
code:
DSCLIENT /Q:A /C:"Setup.exe" /R:N

But the parameter:
/C:
(The command to execute after unpacking)
Is normally only required if the command following:
/Q:A
(Quiet:Administrative - install)

Is NOT:
"Setup.exe"

By the way, the parameter:
/R:N
Means Reboot:NO (Not even if required)

-Erik

Top
#102978 - 2003-07-17 02:15 AM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hi Erik, Don't think I tried that particular combination ... tried the one that they said "didn't work" in the link referenced by Howard above ... I tried it anyways because I thought maybe MS fixed something in the install package after this info was posted, here's what I tried:

dsclient.exe /r:n /c:"setup.exe /q /r:n"

it still rebooted [Frown] but unless you think otherwise, going to try your suggestions first thing in the morning ...

-Shawn

Top
#102979 - 2003-07-17 03:16 PM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Erik,

This command:

DSCLIENT /Q:A /R:N

launched into silent install and rebooted. This command:

DSCLIENT /Q:A /C:"Setup.exe" /R:N

launched into the full interactive install. Seems to have ignored the orig. /Q:A switch altogether ?!?!?!

-Shawn

Top
#102980 - 2003-07-17 03:31 PM Re: man-over-board: dsclient and disabling reboot
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
C'mon Shawn,

one more reply [Wink]

Ummm ... have you tried to get rid of your Tivoli team yet ? Only got bad experiences on Win32 Systems yet [Frown]
_________________________



Top
#102981 - 2003-07-17 10:07 PM Re: man-over-board: dsclient and disabling reboot
kholm Offline
Korg Regular
*****

Registered: 2000-06-19
Posts: 714
Loc: Randers, Denmark
Shawn,

I just tested this on a Win95 client:

dsclient /c /t:c:\dsclient
c:\dsclient\Setup /q

This dos not automatically reboot the PC, but it ends up with the dialog:
Do you want to reboot your computer now.

Mayby you can use KiXtart or AutoIt to answer no to this question ?

This is assuming the Dsclient for NT behaves the same way as the 9x client

-Erik

Top
#102982 - 2003-07-17 10:27 PM Re: man-over-board: dsclient and disabling reboot
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Erik,

Going to give that cmd a try as soon as my NT ghost restores ! For the time-being, we have pulled the DSCLIENT package from the distrib.

I just got off the phone with our packaging guys and we're considering tearing the package apart and using the "Install Sheild Repackager" to do one of those before and after snapshot type re-packaging deals... this scares the hell out of me to be honest ... its kinda like ghosting an install ... thing is, what the snapshot looks like on one machine, may not be what the snapshot looks like on another machine (even though both machines are NT4) but I don't know, guess that would depend on the package.

Looking deeper into dsclient, it doesn't seem like its doing rocket science ... just a bunch of dll copies and some regsvr32's [Wink]

-Shawn

Top
#102983 - 2003-07-21 12:10 AM Re: man-over-board: dsclient and disabling reboot
masken Offline
MM club member
*****

Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
Yeah.. perhaps a sysdiff or some spying on the installer could solve it?
_________________________
The tart is out there

Top
#102984 - 2003-07-21 07:16 AM Re: man-over-board: dsclient and disabling reboot
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Since PCMag does not have this for free anymore, you can grabe this from, for example -

Inctrl - An installation monitor

HTH,

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

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.106 seconds in which 0.063 seconds were spent on a total of 12 queries. Zlib compression enabled.

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