DonationCoder.com Software > DcUpdater
.dcupdateredirect Win7
(1/1)
owenduffy:
Are .dcupdateredirect files used still, on Win7?
Where are they located?
Thanks... Owen
owenduffy:
I found it, c:\program data. The files don't show up in a search!
I should add some code to setup the redirect file in Inno, it is below.
Cheers
Owen
--- ---
[Files]
Source: "{#MyAppName}.exe"; DestDir: "{app}"; Flags: ignoreversion; AfterInstall: MakeDcFile('{#MyAppName}','{app}')
...
[Code]
procedure MakeDcFile(appname: string; instdir: string);
var
dcf: String;
begin
dcf := ExpandConstant('{commonappdata}\DonationCoder\DcUpdater\RedirectFiles');
ForceDirectories(dcf);
dcf := ExpandConstant('{commonappdata}\DonationCoder\DcUpdater\RedirectFiles\'+appname+'.dcupdateredirect');
SaveStringToFile(dcf,ExpandConstant(instdir),false);
end;
[/code]
Navigation
[0] Message Index
Go to full version