Loading
How to calculate the size of a directory using Installshield ?

Hello,

 

I am looking for a way to calculate the size of a directory using Installshield 2024 R2 (Windows 11)?

I tried GetFileInfo ( szPath, FILE_SIZE, nSizeW, svSize ) function but nSizeW is always equal to 0 and svSize is empty "".

 

I made the test with szPath pointing to a folder with files.

 

I guess GetFileInfo with FILE_SIZE is not working.

 

Could you help me ?

 

Best regards

Bernard

 


Loading
Feed Detail