How can I use GetVolumeInformation in Inno Setup?
问题 I need to get the volume serial number for a drive letter during an installation created with Inno Setup. I know that DLL functions can be imported into Inno, but I'm fairly new to it and having some problems getting it to work. I know that the GetVolumeInformation function in kernel32 can do what I need. Could someone show me how to import and use that functionality in an Inno script to retrieve the volume serial number? Thanks! 回答1: Inno-Setup code:: [Code] function GetVolumeInformation(