Briandr Posted August 22, 2012 Posted August 22, 2012 (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 August 23, 2012 by Melba23
abberration Posted August 22, 2012 Posted August 22, 2012 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 Easy MP3 | Software Installer | Password Manager
MrMitchell Posted August 22, 2012 Posted August 22, 2012 Will this work? http://www.novell.com/coolsolutions/tip/16639.html
Briandr Posted August 22, 2012 Author Posted August 22, 2012 (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 August 22, 2012 by Briandr
Briandr Posted August 23, 2012 Author Posted August 23, 2012 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()
Bert Posted August 23, 2012 Posted August 23, 2012 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 replyingYou 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. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Briandr Posted August 23, 2012 Author Posted August 23, 2012 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?
Moderators Melba23 Posted August 23, 2012 Moderators Posted August 23, 2012 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Bert Posted August 23, 2012 Posted August 23, 2012 http://support.novell.com/docs/Tids/Solutions/10092969.html The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now