I have a .iss script with the following code:
[Files]
Source: "..\*.ext"; DestDir: "{tmp}\Test\"; \
AfterInstall: DoSomething('{path}'); Flags: ignoreversion recursesubdirs createallsubdirs;
[Code]
procedure DoSomething(path: string)
...
end;
I need to call a procedure DoSomething()and pass it the path to the current copied file for each file. How can I get the path to the current file from the section [Files]?
source
share