Install file in Inno Setup Pascal code using FileCopy function (not to show the installation on wizard form)
问题 How to copy a file using FileCopy function to the application folder, so that it's name does not display on the installing page? ( FilenameLabel ). I.e. I want to use the first option of Inno Setup - How to hide certain filenames while installing? (FilenameLabel) 回答1: Use the FileCopy function in the CurStepChanged event function: [Files] Source: "MyProg.exe"; Flags: dontcopy [Code] procedure CurStepChanged(CurStep: TSetupStep); begin { Install after installation, as then the application