DeleteSubFolder Method
InstallShield 2020 » Automation Interface
Project:This information applies to the following project types:
| • | Basic MSI | 
| • | DIM | 
| • | InstallScript | 
| • | InstallScript MSI | 
| • | InstallScript Object | 
| • | Merge Module | 
Call the DeleteSubFolder method to delete the specified subfolder from the current ISWiFolder object.
Syntax
DeleteSubFolder (pSubFolder As ISWiFolder) As Long
Parameters
| Parameter | Description | 
| Name | Pass the ISWiFolder Object to specify a subfolder that you want to delete from a folder. | 
Example
Set pSubFolder = pFolder.SubFolders("MySubFolder")
If Not pSubFolder Is Nothing Then
pFolder.DeleteSubFolder pSubFolder
Next
Applies To
| • | ISWiFolder |