Adding the GroupWise Client Shortcut to the All Users Profile
Novell Cool Solutions: Tip
By Patrick Fronteri
Reader Rating
from 3 ratings
|
Digg This -
Slashdot This
Posted: 21 Feb 2006 |
Problem
We needed to add the GroupWise client Shortcut to the All Users profile. SETUP.EXE of the GroupWise 7 client adds shortcuts to the user profile of the user installing GroupWise, but it will not add it to the All Users profile. This means that other users using the same computer will not have the new shortcut on the desktop.
The same thing goes for the "Novell GroupWise" folder on the Start menu. This is not added in my batch files, but it could be added if you want.
Solution
One solution is to use the AddOn feature of the GroupWise client installation. Here are the steps to follow:
1. Create a new directory under the ..\CLIENT\WIN32\ADDONS directory, you can call it anything you like (e.g., "AllUsers").
2. Copy the 'GroupWise.lnk' file from your desktop to this directory.
3. Create two files: ADDON.CFG and a batch file that does the copy job (I've called it COPYLINK.BAT in the example below).
The most important line in ADDON.CFG is the INSTALL=copylink.bat in the [GroupWiseAddon] section, where you tell what the addon should process - the batch file you create to copy the shortcut. You also have the [Name] and [Description] sections that can be displayed during the installation of the GroupWise client.
I've created the batch file (COPYLINK.BAT) that checks to see if I have an English or Norwegian version of Windows installed (because then the directory names are different, of course). You should modify and adjust it to your language. I also copy the link into the Quick Launch bar of the Default User profile, so that new created local users will have it. I didn't find this to work with the All Users profile. So, already-created local users will not get this shortcut. If anyone has a solution for this, please add modifications!
If you prefer you can also add this icon through the Login Script or ZENworks, of course.
Good luck, and have fun!
Note: This solution was tested using the GroupWise 7 Windows Client.
Example
################ ADDON.CFG ################ [GroupWiseAddon] ; Install - Install executable Install=copylink.bat ; Parameters - Parameters to be passed to install Parameters= ; Silent - Parameters to appended on a silent install Silent= ; Size - Installed size of the addon (in K) Size=1 ; Record - If the install supports a record parameter, list it here Record= ; Workstation - Yes = Allow for a workstation install ; No = Do not allow for a workstation install ; ; The shipping default for Workstation is: Workstation=Yes ; Workstation=Yes ; Default - Yes = Default checked in list of components ; No = Default unchecked ; ; The shipping default for Default is: Default=Yes ; Default=Yes ; Hide - Control whether addon shows in list of components ; Yes = Hide option, uses Default to install or not ; No = User can choose to install or not ; ; The shipping default for Hide is: Hide=No ; Hide=No ; If this addon appears in the client setup for user selection, this is the ; name that will appear ; [Name] US=Shortcut for ALL USERS NO=Snarvei for alle brukere ; If this addon appears in the client setup for user selection, this is the ; description that will appear ; [Description] US=Adds a GroupWise shortcut on the desktop to the All Users profile NO=Legger til en snarvei til GroupWise klienten p? skrivebordet i profilen for All Users #################### END of ADDON.CFG ##################### ################ COPYLINK.BAT ################ @echo off cls ECHO #---------------------------------------------------------------------# ECHO #-- PF; 2005.12.01 - Batch file for copying the GroupWise 7 shorcut ECHO #-- to the All Users profile of Windows ECHO #---------------------------------------------------------------------# IF EXIST == "%ALLUSERSPROFILE%\Skrivebord\" GoTo NO IF EXIST == "%ALLUSERSPROFILE%\Desktop\" GoTo EN GoTo END :NO ECHO Kopierer snarvei for GroupWise klient til All Users Skrivebordet! copy GroupWise.lnk "%ALLUSERSPROFILE%\Skrivebord\" GoTo DEFAULTUSER :EN ECHO Copies the GroupWise client Shortcut to All Users Desktop! copy GroupWise.lnk "%ALLUSERSPROFILE%\Desktop\" GoTo DEFAULTUSER :DEFAULTUSER IF EXIST == "C:\Documents and Settings\Default User\Programdata\Microsoft\Internet Explorer" GoTo NOD_USER IF EXIST == "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer" GoTo NOD_USER GoTo END :NOD_USER ECHO Kopierer snarvei for GroupWise klient til hurtigtast p? menylinja for Default User profilen! MD "C:\Documents and Settings\Default User\Programdata\Microsoft\Internet Explorer\Quick Launch" copy GroupWise.lnk "C:\Documents and Settings\Default User\Programdata\Microsoft\Internet Explorer\Quick Launch" GoTo END :END_USER ECHO Copies the GroupWise client shortcut to Quick Launch of the Default User profile! MD "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" copy GroupWise.lnk "C:\Documents and Settings\Default User\Application Data\Microsoft\Internet Explorer\Quick Launch" GoTo END :END #################### END of COPYLINK.BAT #####################
Reader Comments
- this is not a cool solution this is a bug the develpers modified the nature of the Groupwise install and made it a per user install not a per machine this will be corrected in SP1 for groupwise 7
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
