Article

lhaeger's picture
article
Reads:

4879

Score:
0
0
 
Comments:

0

Shortcut to Linked App Folder

Author Info

13 April 2005 - 9:41am
Submitted by: lhaeger

(View Disclaimer)

Would you like to place a shortcut to a linked application folder (that appears in start menu) on the desktop or quick launch bar?

Create a simple app that with the following parameters that shows on the desktop and/or quick launch bar.

Path to Executable:
%*WINDIR%\Explorer.exe

Parameters:
"<appfoldername>.{CF8EF420-3DF3-11d0-AC35-00C04FD9338A}" (ZfD 4, ZENworks 6 Suite)
"<appfoldername>.{763370C4-268E-4308-A60C-D8DA0342BE32}" (ZENworks 6.5 Suite)

Working Directory:
"%*StartMenu%"

With ZENworks 6.5 you will also need to make sure that folders do not open in a separate process, otherwise they will not show any apps. Therefore you should always distribute the following key with your app:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\SeparateProcess=0 (REG_DWORD)

EXAMPLE

AXT_FILE 3.1

[Application Name]
Value=Launch_App_Folder_ZEN65

[Application Caption]
Value=Launch App Folder (ZEN 6.5)

[Macro]
Name=FOLDER_NAME
Value=My Folder

[Application Path]
Value=%*WINDIR%\Explorer.exe

[Application Flags]
Flag=No Distribution Window
Flag=Force Run WS Associated Apps In User Space

[Application Parameters]
Value=%FOLDER_NAME%.{763370C4-268E-4308-A60C-D8DA0342BE32}

[Application Platform]
Flag=Windows NT

[Application Working Directory]
Value=%*StartMenu%

[Filter OS Version]
Type=Windows NT
Major Version=5
Minor Version=0
Revision Version=2195
Build Version=0
Flag=Greater Than or Equal

[Filter File Version]
Major Version=6
Minor Version=5
Revision Version=0
Build Version=0
File=%*ProgramFiles%\Novell\ZENworks\NALDESK.EXE
Flag=Greater Than or Equal

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software\Microsoft

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software\Microsoft\Windows

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

[Registry Key Create]
Flag=Write Always
Key=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

[Registry Value Create]
Type=DWORD
Flag=Write Always
Flag=Distribute Setting Per User
Flag=Always Distribute Setting
Key=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Name=SeparateProcess
Value=0x00000000

[Application Association Flags]
Flag=Desktop
Flag=Quick Launch Bar
Flag=Force Cache

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