InstallShield 2016 » InstallScript Language Reference
The QueryShellMgr function obtains the name of the program shell being used by Microsoft Windows. For example, if the program shell is Explorer, QueryShellMgr returns the string “Explorer.exe” in svShellMgrName.
Syntax
QueryShellMgr ( svShellMgrName );
Parameters
Parameter |
Description |
svShellMgrName |
Returns the unqualified name (that is, without the drive designation or path) of the shell manager that is currently running. |
Return Values
Return Value |
Description |
0 |
Indicates that the function successfully retrieved the name of the program shell. |
< 0 |
Indicates that the function was unable to retrieve the name of the program shell. You can obtain the error message text associated with a large negative return value—for example, -2147024891 (0x80070005)—by calling FormatMessage. |
Additional Information
If the shell on the target system is not Explorer, you may need to launch that shell with the LaunchApp function. The InstallScript functions that create program folders and program icons use a DDE conversation with the shell to create the program folders and program items. Most alternate shells such as the Norton Desktop emulate the Explorer shell. Therefore, they can create program folders and items.
In shells that do not emulate the Explorer shell, InstallShield cannot use the program folder and program item functions to create or modify the program folders and program items. Check with the manufacturer of the shell to determine how it handles the creation of program folders and program items using Microsoft DDE specifications.
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |