This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to determine if a directory is empty?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 07, 2020
10:01 AM
How to determine if a directory is empty?
Suppose I install my files to a folder named "C:\\MyTargetDirectory". Is there anyway with InstallScript to determined if the directory is empty? (Contains no files).
(1) Reply
Feb 11, 2020
04:43 AM
write an function which is listing this folder:
https://helpnet.flexerasoftware.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefFindAllFiles_Example.htm?
https://helpnet.flexerasoftware.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefFindAllFiles_Example.htm?