Check for GroupWise Notify During Upgrade
Novell Cool Solutions: Tip
By Steve Eschenburg
Digg This -
Posted: 11 Sep 2003
Problem: User didn't get the GroupWise upgrade or somehow GroupWise was not installed on their PC and now they want it.
If they had it, the upgrade will remove Notify from the Startup group but it won't put it back by default. That's a problem.
Solution: Create a batch file (Yes, a !DOS! batch file.) as shown in the example. Ours is called GROUP.BAT. Place it in SYS:\PUBLIC. When they call to say they want GroupWise, or if you see that they don't have the update, simply have them go to Start...Run and execute the GROUP.BAT file. It checks for the existense of Notify in the Startup Group, installs/updates GroupWise, and returns the Notify icon to Startup if it was there to begin with. If it wasn't then it ignores that part.
@ECHO OFF cls echo. echo Checking for GroupWise Notify in the Startup group... echo. if exist "C:\WINDOWS\Start Menu\Programs\StartUp\GroupWise Notify.lnk" SET VERSION=9X if exist "C:\WINDOWS\Start Menu\Programs\StartUp\NOTIFY.EXE" SET VERSION=9X if "%VERSION%"=="9X" GOTO INSTALL if exist "C:\Documents and Settings\All Users\Start Menu\Programs\ Startup\GroupWise Notify.lnk" SET VERSION=2K if exist "C:\Documents and Settings\All Users\Start Menu\Programs\ Startup\NOTIFY.EXE" SET VERSION=2K if "%VERSION%"=="2K" GOTO INSTALL if exist "C:\WINNT\Profiles\All Users\Start Menu\Programs\Startup\ GroupWise Notify.lnk" SET VERSION=NT if exist "C:\WINNT\Profiles\All Users\Start Menu\Programs\Startup\ NOTIFY.EXE" SET VERSION=NT if "%VERSION%"=="NT" GOTO INSTALL Set VERSION=NONE :INSTALL echo Starting the GroupWise Setup... echo. \\GW_TYDOM1\SYS\Public\Grpwise\Software\Client\Win32\Setup.EXE echo Wait for the GroupWise Setup to finish. Then press a key to continue. pause > nul echo. echo Replacing the GroupWise Notify icon in the Startup group, echo if it was there before the upgrade... echo. if "%VERSION%"=="NONE" GOTO END if "%VERSION%"=="9X" copy "C:\WINDOWS\Start Menu\Programs\Novell GroupWise\ GroupWise Notify.LNK" "C:\WINDOWS\Start Menu\Programs\StartUp" > nul if "%VERSION%"=="2K" copy "C:\Documents and Settings\All Users\ Start Menu\Programs\Novell GroupWise\GroupWise Notify.lnk" "C:\Documents and Settings\All Users\ Start Menu\Programs\Startup" > nul if "%VERSION%"=="NT" copy "C:\WINNT\Profiles\All Users\Start Menu\ Programs\Novell GroupWise\GroupWise Notify.lnk" "C:\WINNT\Profiles\All Users\Start Menu\ Programs\Startup" > nul :END echo Done. If this window is still open you may close it now. echo.
For more tips see:
|submit a tip|
Here's a chance to share your experiences using GroupWise. Just send us a tip about using (or installing, deploying, troubleshooting, etc.) GroupWise, and if it looks like something we can use, we'll send you a Novell t-shirt, post your tip, and make you famous beyond your tamest dreams. Submit your tip here: http://www.novell.com/coolsolutions/forms/submit_a_tip.html
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com