is it possible to unpack a temporary resource into the %USERPROFILE%\AppData\Local\Temp folder?? Reason I ask, is in my environment, users do not have the ability to write a temporary file to the C:\Program Files\ebook path. I need the files to extract to a that folder.
Current code is:
[code]
// IPTV
procedure ChangeScreen;
var
MyProgram: String;
begin
MyProgram := UnpackTemporaryResource(“iptvchangescreen.exe”);
RunAProgram(MyProgram, “”, ExtractFilePath(MyProgram), false, SW_SHOWNORMAL);
end;[/code]