Welcome Guest.   Make a donation to an author on the site August 22, 2014, 10:46:14 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2010! Download 24 custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: .dcupdateredirect Win7  (Read 1125 times)
owenduffy
Honorary Member
**
Posts: 27

View Profile Give some DonationCredits to this forum member
« on: March 12, 2012, 07:49:37 PM »

Are .dcupdateredirect files used still, on Win7?

Where are they located?

Thanks... Owen
Logged
owenduffy
Honorary Member
**
Posts: 27

View Profile Give some DonationCredits to this forum member
« Reply #1 on: March 12, 2012, 09:27:30 PM »

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

[copy or print]

[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]
« Last Edit: March 12, 2012, 11:07:55 PM by owenduffy » Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.02s | Server load: 0.08 ]