Completing a SecureLogin Install without Admin Login



By: kprior

April 11, 2007 4:37 am

Reads: 191

Comments:0

Rating:0

Problem

When you install SecureLogin and reboot, you must login as an Administrator equivalent to complete the install. This must be done in order to register some files that are needed for using SecureLogin. This extra step can be time-consuming.

Solution

1. Read the information added by the Install to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce” in the entry “InstallShieldSetup”.

2. Run the following script before rebooting. To assist in this, use the free AutoIT tool (http://www.autoitscript.com/autoit3/scite/downloads.php).

Note: Modify the automate.ini and setup.ini as noted in this AppNote:
http://www.novell.com/coolsolutions/appnote/18364.html

Example Script

; AutoIt Version: 3.0
; Language:       English
; Platform:       Windows 2000 and above
; Author:         Kevin Prior
;
; Script Function:
;   Install NSL and register Dll's.
;

;MsgBox(0, "NSL v6.05", "NSL Install will begin now.")
WinMinimizeAll()
$message = "Novell SecureLogin v6.05 is now being installed to your computer.  
Upon completion your computer will be restarted.  
At this time your keyboard and mouse have been locked to allow for a seamless install."
SplashTextOn("Information...", $message, 500, 175, -1, -1, 0, "Tahoma", "18", "")
ControlSetText("Information...", "", "Static1", $message)
; Run the Setup.exe for NSL install using an edited automate.ini
RunWait("setup.exe", "", @SW_HIDE)

; Register dll's before reboot thus no Admin must login to complete the install

; Message to notify installer
SplashTextOn("Novell SecureLogin Install", 
"The dll registration before reboot will start now, please stand by."
, 500, 175, -1, -1, 0, "", 24)
Sleep(1500) ;Sleep for 1.5 Seconds
$var = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "InstallShieldSetup")
Sleep(1500) ;Sleep for 1.5 Seconds
RunWait(@ComSpec & " /c " & $var, "")
RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "InstallShieldSetup")
Sleep(1500) ;Sleep for 1.5 Seconds

;Reboot
Shutdown(6)  ;Force a reboot

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: SecureLogin, Technical Solutions

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Comment