SMSINST: Install File Script Item May Cause Compile to Stop Responding (305698)
The information in this article applies to:
- Microsoft Systems Management Server Installer 2.0
This article was previously published under Q305698 SYMPTOMS
The System Management Server (SMS) Installer may stop responding (hang) during compilation of an installation script when that script contains an install file script item that uses wildcard (*.*) files for the source and specifies the Include sub-directories option on a folder structure that has more than 16 levels.
Additionally, if you cancel the compilation, the SMS Installer may stop and generate an access violation error message.
CAUSE
This problem occurs because the SMS Installer is limited to 16 sub-folders when you specify wildcard source paths and select the Include sub-directories option for the install file script item.
WORKAROUND
To work around this problem, break the install file script items into multiple install file script items that specify sub-folders below the original folder. This ensures that they include no more than 16 levels of folder structures.
For example, a script may not compile because the folder depth is 17 folders and the Install Files script item is for c:\Myapp\DLL\*.*, include sub-folders. View the sub-folders under C:\Myapp\Dll. There are eight sub-folders, one that goes 16 levels deep. To work around this problem:
- Create a single Install File script item for C:\Myapp\Dll\*.*, but do not choose the Include sub-folders option. This is to get all of the files that are at the root of C:\Myapp\Dll, but not the sub-folders.
- Create eight Install File script items for each of the eight sub-folders under C:\Myapp\Dll, and specify *.* and the Include sub-directories option.
STATUS
Microsoft has confirmed this to be a problem in Systems Management Server Installer version 2.0.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug kberrmsg KB305698 |
---|
|