These are the rough instructions on how to install and configure the Lotus Notes Smart Upgrade service feature on to a Windows Vista / Windows 7 that already has Notes installed but at a lower version level than Notes 8.5.3.
- Copy file SUService.exe to the Notes installation location on the target machine. By default this directory is "C:\Program Files\IBM\Lotus\Notes".
This can be done either directly on the machine or remotely. An Administrative account is typically required to write to subdirectories under the "C:\Program Files" location. The file SUService.exe will be installed as part of Notes 8.5.3 and can be copied directly from an installed version of Notes 8.5.3 to a network share, USB drive or other media.
- Create and configure the service on the target machine.
There are several ways to manually create services. This can be done either directly on the machine or remotely. Windows ships with a built in utility that allows service creation locally or remotely if the user is a Administrator of the machine. SC is the utility (http://technet.microsoft.com/en-us/library/bb490995.aspx , http://support.microsoft.com/kb/251192 ) To create the Notes Smart Upgrade service locally an Administrative user would type in the following command into a command prompt.
sc create LNSUSvc binPath= "C:\Program Files\IBM\Lotus\Notes\SUService.exe" type= own type= interact start= auto error= normal displayName= "Lotus Notes Smart Upgrade Service"
To create the same service remotely using the sc tool the Administrator would need to type the following command into a command prompt (where RemoteMachine is the name of the machine)
sc \\RemoteMachine create LNSUSvc binPath= "C:\Program Files\IBM\Lotus\Notes\SUService.exe" type= own type= interact start= auto error= normal displayName= "Lotus Notes Smart Upgrade Service"
- Once the service has been successfully created, it must be started prior to use. The SC tool can also be used to start a service, both locally and remotely. The following command will start the Lotus Notes Smart Upgrade service.
Locally: sc start LNSUSvc
Remotely: sc \\RemoteMachine start LNSUSvc
- To verify that the service is created and started successfully, the SC utility can be leveraged as well.
Locally: sc query LNSUSvc
Remotely: sc \\RemoteMachine query LNSUSvc
- Now that the target machine is ready to start the upgrade, the SUSetRunAsWizard would be run and the SURunAs.exe upgrade package would be generated as normal, using the SUSetRunAsWizard.exe from the Notes 8.5.3 Administrator install kit.
Jeff Mitchell | 14 October 2011 10:39:42 AM ET | Littleton, MA | Comments (12)
where can I find the Notes 8.5.3 Administrator install kit so I can start using SUSetRunAsWizard.exe?
found it in the Notes program directory once I installed the 8.5.3 admin client.
Is the new SUservice.exe routine compatible with XP as well?
Yes, the SURunAs will continue to work on Windows XP and does not require the new SUService to work.
Jeff, I have an open PMR. When attempting to do this I find there is a bug with Smart Upgrade itself. It seems to think that it is done right away and either restarts notes right away or puts a message that the install is done while the install is still running (dependent on what you selected in the kit doc).
Can you confirm?
SmartUpgrade was tested end to end using this procedure before we released Notes 8.5.3. What command line are you specifying in the SURunAs? Can you grab the SULog.Log and SUService.log from the root of the drive Windows is installed on (typically C:\)?
I've started testing a batch file to install LNSUSvc and install Notes 8.5.3 as well:
=== start of DoUpgrade.cmd ===
@echo off
SET R85FILESPATH=%~dp0
echo "getting Lotus Notes program path..." >>%R85FILESPATH%DoUpgrade.log
reg query "HKLM\Software\Lotus\Notes" /v Path | find "Path" >%R85FILESPATH%LNPath.txt
set /p _LNTemp=<%R85FILESPATH%LNPath.txt
call set _LNPath=%_LNTemp:~16%
echo %_LNPath% >>%R85FILESPATH%DoUpgrade.log
echo "checking for Lotus Notes Smart Upgrade service..." >>%R85FILESPATH%DoUpgrade.log
sc query LNSUSvc | find "STATE" | find "RUNNING" >>%R85FILESPATH%DoUpgrade.log
if errorlevel 1 goto installLNSUSvc
goto LNSUSvc_OK
:installLNSUSvc
echo "installing Lotus Notes Smart Upgrade service..." >>%R85FILESPATH%DoUpgrade.log
copy %R85FILESPATH%SUService.exe %_LNPath%\SUService.exe /y >>%R85FILESPATH%DoUpgrade.log
sc create LNSUSvc binPath= "%_LNPath%\SUService.exe" type= own type= interact start= auto error= normal displayName= "Lotus Notes Smart Upgrade Service" >>%R85FILESPATH%DoUpgrade.log
sc query LNSUSvc >>%R85FILESPATH%DoUpgrade.log
sc start LNSUSvc >>%R85FILESPATH%DoUpgrade.log
sc query LNSUSvc >>%R85FILESPATH%DoUpgrade.log
:LNSUSvc_OK
echo "kicking off Lotus Notes 8.5.3 Standard setup.exe">>%R85FILESPATH%DoUpgrade.log
%R85FILESPATH%setup.exe /s /v"ALLUSERS=1 TRANSFORMS=%R85FILESPATH%LotusNotes853.mst /qb+!"
echo "done with Lotus Notes 8.5.3 Standard setup.exe">>%R85FILESPATH%DoUpgrade.log
:the_End
=== end of DoUpgrade.cmd ===
Above might need some tweaking but my first test shows that you can install LNSUSvc and install Notes 8.5.3 in one go.
Following steps are required:
1.) Copy SUService.exe to your PostTuner folder
2.) Create DoUpgrade.cmd batch file (see above)
3.) Run SUSetRunAsWizard.exe as usual but select DoUpgrade.cmd as the file to execute instead of setup.exe
4.) Test SURunas.exe (which I've renamed Notes853StandardClientOnlypackage.exe)
Regards,
Hubert
Hubert.Wagner@gmail.com
Our users do not have access to the root of their C: drives, so they observe an error during the upgrade process -- "Failed to open teh log file C:|SUService.log : 32".
Is there any way to divert the log to another location?
Hi Terry We have the same problem were you able to solve it
Regards
Kaare Ulleberg
Hi Jeff,
Just to let you know of a potential issue that we may be raising a PMR for once we've conducted further testing. Since upgrading Server Admin staff who have roaming profiles in Win 7 from Notes 8.5.2(FP3) to 8.5.3, both the login directly on the PC and via RDP are now taking 10-20 minutes longer. If we disable the Smart Upgrade service and restart Windows they log in without the extended delay.
Regards,
Mike
Just to update from last week, it just needed a reboot. Sorry about that! None of them had rebooted after the Smart Upgrade, just logged out.
