Article

kprior's picture
article
Reads:

4012

Score:
0
0
 
Comments:

0

Completing a SecureLogin Install without Admin Login

Author Info

11 April 2007 - 3:37am
Submitted by: kprior

(View Disclaimer)

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


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell