Sign in to follow this  
Followers 0
Briandr

Removing the Novell Client

9 posts in this topic

#1 ·  Posted (edited)

Hi All,

I dug this script up for removing the Novell Client. Two problems with the way that is setup. That is not to say it doesn't work because it does.

Run("RUNDLL32.EXE NWSETUP.DLL NWUninstallClient")

If WinWaitActive("RUNDLL", "loading NWSETUP", 3) = 1 Then

Send("{ENTER}")

Exit

EndIf

If WinWaitActive("Uninstall Novell Client for Windows", "uninstall the Novell Client") = 1 Then

Send("{ENTER}")

WinWaitActive("NMAS Client Components", "remove NMAS Client Components", "&Yes")

Send("!y")

WinWaitActive("NMAS Client Components", "has been successfully uninstalled")

Send("{ENTER}")

WinWaitActive("Uninstall Novell Client for Windows", "shut down and restart your computer")

Send("!n")

EndIf

First problem is the user is being prompted prior to uninstalling the Novell Client and they are also being prompted to restart. Second problem is the end user can see the uninstall taking place. How can the prompts be surpressed and the uninstall completely silent.

Thank you.

Edited by Melba23

Share this post


Link to post
Share on other sites



It is a good thing that the user is prompted before rebooting. What if they have unsaved documents open?

Also, I looked on Novell's site for silent uninstall switches and they say silent uninstalls are not supported.

http://support.novell.com/docs/Tids/Solutions/10092969.html


RAID Calculator | Software Installer

The truth has been suppressed since the dawn of time.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

File shares were moved over to Microsoft shares so that would not come into play in this equation. Could someone show me how to surpress the prompts? I am not sure about silent uninstall switches. You could very well be right. I am checking into this myself right now. Thanks for replying

Edited by Briandr

Share this post


Link to post
Share on other sites

Hi,

This is another version of this script that someone was nice of to send to me. Again the same two problems exists. First problem is the user is being prompted prior to uninstalling the Novell Client and they are also being prompted to restart. Second problem is the end user can see the uninstall taking place. How can the prompts be surpressed and the uninstall completely silent?

ProcessClose("nwtray.exe") ; Close the Novell Client Process

$path = @ProgramFilesDir & "SysconfigCLT491SP5REDIRSETUPW2k.exe"

;^^--Full path to the SetupW2K.exe file (may be different depending on version)

$arg = 'C:PROGRA~1COMMON~1INSTAL~1engine6INTEL3~1Ctor.dll,LaunchSetup "C:Program FilesInstallShield Installation Information{F02DBC5D-33E3-45E9-B0F8-B7745229ED1C}Setup.exe" -uninst /s /a /s'

;^^--Argument needed to uninstall the NICI piece

ShellExecuteWait($path, "/u ms_nwspx", "", "", @SW_HIDE)

ShellExecuteWait($path, "/u ms_nwnb", "", "", @SW_HIDE)

ShellExecuteWait($path, "/u ms_nwipx", "", "", @SW_HIDE) ;<---Remove the 6 NW Client components.

ShellExecuteWait($path, "/u nw_wm", "", "", @SW_HIDE)

ShellExecuteWait($path, "/u nw_ndps", "", "", @SW_HIDE)

ShellExecuteWait($path, "/u nw_nwfs", "", "", @SW_HIDE)

ShellExecute("RunDll32", $arg, "", "", @SW_HIDE) ;<---Remove the NICI client.

WinWait("NICI", "")

Send("Y")

WinWait("NICI", "")

Send("{ENTER}")

;_cleanup()

Func _cleanup()

Share this post


Link to post
Share on other sites

File shares were moved over to Microsoft shares so that would not come into play in this equation. Could someone show me how to surpress the prompts? I am not sure about silent uninstall switches. You could very well be right. I am checking into this myself right now. Thanks for replying

You didn't do what you were going to do. Look at command line switches. That is your answer. You can do this with ONE line of code if you use command line switches.

Share this post


Link to post
Share on other sites

Problem with Novell and their software is that is alot of cases there may not be a command line switch to make the install silent. If that is true and from what I am reading I may be correct, can't we at least code something that would click the button at the beginning and end of the installation?

Share this post


Link to post
Share on other sites

Briandr,

Please use more descriptive titles in future - "Newbie needs help" is not very informative. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0