I have a file update version that I must provide to the user,
I gave the user the opportunity to install the source software wherever they want,
So now, to complete the update, I need the PATH system variable to find out where they installed the software,
I have the following code:
[Setup]
DefaultGroupName={
[Files]
Source: "E:\folder \license.exe"; DestDir: "{app}\temp\installation_files\"; Flags: ignoreversion
But the code causes an installation error!
Does anyone know why?
Maybe I can do it differently
Can someone explain to me a hoe that this function works:
function GetEnv(const EnvVar: String): String;
source
share