I want to use the [Files]
section to create a new file which has the format:
Program Name plus date plus time .fmpur
I'd be grateful for any ideas.
Text := 'TMemo'; Memo. Parent := Page. Surface; Lbl := TLabel. Create(Page); Lbl.
The Inno Setup Example Scripts are located in a separate folder. Please click the "Inno Setup Example Scripts" shortcut created in the Start Menu when you installed Inno Setup, or open the "Examples" folder in your Inno Setup directory.
For instance the following way. How to modify a date time pattern, see the GetDateTimeString
page:
[Setup]
AppName=My Program
AppVersion=1.5
DefaultDirName={pf}\My Program
#define FileNamePattern SetupSetting("AppName") + " " + GetDateTimeString('dd-mm-yyyy hh-nn-ss', '-', ':') + ".fmpur";
[Files]
Source: "MyProg.exe"; DestDir: "{app}"; DestName: "{#FileNamePattern}"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With