topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • May 27, 2018, 11:02 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - owenduffy [ switch to compact view ]

Pages: [1] 2next
1
Tested here and still works fine creating unique filenames as needed; have you possibly disabled the option that tells SC to uniqueify filenames when there is a conflict?
I have not knowingly disabled it, and I did not see that flag when I looked in preferences.

I have switched back to 4.13 and it is working fine.

So, I reinstalled 4.15.0 to check the flag... but it is now working fine.

I was definately crook, now good... I don't know why but I will keep a close eye on it J.

Thanks for the quick response.

Owen


2
Hi J,

I am using File/CreateNewImageFromClipboardImage.

It seems that where it used generate a sequential file name for each new use of this menu function, it now always uses the same file name (silently clobbering what was there).

Is this borked?

Thanks
Owen

3
DcUpdater / Re: .dcupdateredirect Win7
« on: March 12, 2012, 09:27 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


[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]

4
DcUpdater / .dcupdateredirect Win7
« on: March 12, 2012, 07:49 PM »
Are .dcupdateredirect files used still, on Win7?

Where are they located?

Thanks... Owen

5
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 07:55 PM »
great, thanks


Did you see my further update? When I right click the entry, the drop down list shows the date in mm/dd/yyyy format. That is obviously not urgent, but a sign of inconsistent localisation.

Owen

6
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 07:22 PM »
owen, can you try this version (it's just a new exe so replace existing one with this one):
http://www.donationc.../beta/DcUppdater.zip

That resolves the date display issue, I can change the day in the XML to 20, and both display correctly.

Owen

PS: I might mention that when I right click the entry, the drop down list shows the date in mm/dd/yyyy format.

7
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 06:58 PM »
ahhh i didnt even notice the blanks.  ok, i'm on it.

See my updated previous posting for more info... Owen

8
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 06:50 PM »
i dont see any problem in that screenshot.. it may have been only certain plugins or other programs that displayed unusually? anyone have a screenshot of where it's wrong?  

Again, I am depending on memory, and it may be wrong, but my recollection after investigating the thing was that the blank date display is because the date appears to be invalid (eg month>12) due to localisation problems.

Do you have another explanation for the blanks in the date column?

I have just edited the dcupdate.xml file for fsm in the attachment to day from 2 to 20 and it causes a blank date display. The date in the XML file displayed below is 2 July 2010.

Owen

9
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 06:33 PM »
i remember it but could you show me a screenshot of how it looks for you?

My recollection is that the problem is deeper than just display, that date processing needs to be reviewed to see that where appropriate, localisation is performed.

Owen

10
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: October 10, 2010, 05:57 PM »
Mouser,

If/when you get to do some revisions to dcUpdater:

Version dates do not display sometimes in the main dcUpdater window... seems sensitive to date and I think probably an internationalisation issue (I use dd/mm/yyyy format).

...

Mouser, it seems this continues to be an unresolved issue a couple of years later.

Owen

11
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: March 24, 2009, 08:59 PM »
yes i saw that -- doesn't really pose a risk to dcupdater though. -- at least i can't see any way for it to be exploited to make dcupdater do anything bad.

I was really drawing attention to the fact that it should handle redirects (redirect handling is the subject of the problem), and that there is an updated lib.

Owen

12
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: March 18, 2009, 09:16 PM »
ok thank you.. damn libcurl (the library i use in dcupdater) is not following the redirect the way it promises it will.. i may have to detect it manually and simulate the redirect myself if i can't get libcurl to work.  i'm not all that thrilled with libcurl.

http://curl.haxx.se/...cs/adv_20090303.html


13
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: February 16, 2009, 12:15 AM »
ok thank you.. damn libcurl (the library i use in dcupdater) is not following the redirect the way it promises it will.. i may have to detect it manually and simulate the redirect myself if i can't get libcurl to work.  i'm not all that thrilled with libcurl.

I am not really familiar with libcurl... but it looks like you might have to set an option to follow a redirect (CURLOPT_FOLLOWLOCATION).

Owen

14
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: February 15, 2009, 09:34 PM »
we should probably continue this discussion over email, but one thing that is important for me to know is if you've just manually put up a redirect html page, or whether you have told the webserver to send a 301 return code for an official redirect.

i ask because the downloader should follow the redirect if it gets a proper 301 status code reply from the web server.

As advised in email, the Apache web server is performing a redirection as a result of a redirect directive.

Here is a curl of the URL:

C:\>curl -i vk1od.net/nfm/dcupdate.xml
HTTP/1.1 301 Moved Permanently
Date: Mon, 16 Feb 2009 03:28:48 GMT
Server: Apache
Location: http://www.vk1od.net...are/nfm/dcupdate.xml
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.vk1od.net...are/nfm/dcupdate.xml">
here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at vk1od.net Port 80</ADDRESS>
</BODY></HTML>

But, to stress, I did not write this HTTP/HTML, it is created by the web server in response to a redirect directive.

I would expect most objects that open a URL will follow a redirect silently by default.

I open another xml file in the same folder using a VB control, and it works fine.

Owen

15
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: February 15, 2009, 03:19 AM »
owen, can you send me your dcupdate file (or program) and ill see if i can't get redirect options working.  if you send me what you think are the important bugfixes i can try to get them done this week as well. (mouser@donationcoder.com)

Mouser,

The dcupdate file is at the URL in the log message in my earlier post... but that URL is redirected to another URL. If you click on the link it will take you to the redirected URL. It seems that DCUpdater issues a request to fetch the contents at the URL in the config files without allowing / processing redirects.

Owen

16
DcUpdater / Dcupdater problems - v1.23.01?
« on: February 15, 2009, 02:47 AM »
Another problem:

DCUpdater does not follow a redirect returned by the web server when fetching the dcupdate.xml file.

In view of the very long time that other bugs have existed, there is no rush to fix this one, I will remove dcupdate support from my apps over the coming days.

Owen

Log:

Attempting to download 'http://www.vk1od.net/nfm/dcupdate.xml' as 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp'.
Queued download of 'http://www.vk1od.net/nfm/dcupdate.xml' as 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp'.
Nfm: Completed download of C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp (0k).
ERROR: Config File 'C:\DOCUME~1\owen\LOCALS~2\Temp\32B.tmp' could not be loaded by TinyXml lib - Error reading end tag.
Nfm: get version failed

17
DcUpdater / Re: DcUpdater Feature Requests
« on: December 20, 2008, 08:19 PM »

It would just be nice to see the accumulated list of bugs addressed sooner rather than later, it has been a very long time since an update.

DCUPDATER doesn't need to do more so much as do it a little better.

Owen

18
DcUpdater / More than a year since the last updates!
« on: September 10, 2008, 04:29 PM »

Looks like DCUPDATER has been "stabilised", ie no fixes, no enhancements?

Owen

19
DcUpdater / Re: DcUpdater problem - v1.23.01
« on: July 24, 2008, 06:20 PM »
...
ps.
cool to see some icons in there that i don't recognize!!

Yes, I will promote it more when the current issues are addressed... Owen

20
DcUpdater / DcUpdater problem - v1.23.01
« on: July 15, 2008, 05:38 AM »

I am starting dcUpdater with:

C:\PROGRA~1\DCUPDA~1\DcUppdater.exe -nothingexit in the task scheduler.

I note that it flags FARR in need of update, but dcUpdater exits after performing the checks.

Seems like the -nothingexit switch is not working properly.

Screenshot - 15_07_2008 , 19_57_16.png

Owen

21
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: July 01, 2008, 07:54 PM »
G'day Mouser,

...
as for #3b let me think about it.. i think that the updater is assuming that if the dcupdate file is not in its default list, it means its being run for a non-installed temporary download, and so shouldnt be added to the default list.. i'm trying to think of cases where you would have a permanent .dcupdate file that you wanted added, that didnt have a proper way to add itself.

I think the cases where it would be handy is for apps that don't properly install themselves. Some people still distribute apps that don't have an installer... but then I guess they wouldn't be trying to use dcUpdater.

BTW, I have put a menu option in my apps that launches the app's .dcupdate file, so the user can start dcUpdate on the specific app file alone.

Anyway... sounds good, look forward to the release!

Owen

22
DcUpdater / Re: Dcupdater problems - v1.23.01?
« on: July 01, 2008, 04:52 PM »
I'm not completely sure i understand the other two issues.  Could you elaborate?

(2) Right clicking an entry and selecting recheck version does not seem to capture the installation of an update in the current dcUpdater instance.

Here is the scenario: I run dcUpdater and it tells me one package needs update. I select the option to update it, and it runs properly so the package is now up to date. If I now right click and select the 're-check version available on the web', it shows the currently installed version just the same as prior to performing the update. It seems that it might literally recheck the web version... but wouldn't it be sensible to also re-read the installed version data?

(3) It would be nice if when dcUpdater was launched by a specific .dcupdate file, that it could do a version check using the default list, and a right click option to add a .dcupdate file to the defaults if it isn't already there.

If I launch MyApp.dcupdate, dcUpdater starts and shows the details for MyApp, and only MyApp. It would be nice if there was a menu option to 'Check All' meaning to scan the default 'list' ($APPDATA\DonationCoder\DcUpdater\RedirectFiles) used by dcUpdater when it is started with no command line arguments.

The second part of (3) is that if a line item displayed is not in the default 'list' ($APPDATA\DonationCoder\DcUpdater\RedirectFiles), to add a right click option that allows the user to 'install' the MyApp to $APPDATA\DonationCoder\DcUpdater\RedirectFiles.

Does that make sense?

Owen

23
DcUpdater / Dcupdater problems - v1.23.01?
« on: June 30, 2008, 08:42 PM »

Mouser,

If/when you get to do some revisions to dcUpdater:

Version dates do not display sometimes in the main dcUpdater window... seems sensitive to date and I think probably an internationalisation issue (I use dd/mm/yyyy format).

Right clicking an entry and selecting recheck version does not seem to capture the installation of an update in the current dcUpdater instance.

It would be nice if dcUpdater was launched by a specific .dcupdate file, that it could do a version check using the default list, and a right click option to add a .dcupdate file to the defaults if it isn't already there.

Owen

24
DcUpdater / single thread updates
« on: June 30, 2008, 01:29 AM »

Some installers will not allow multiple concurrent instances.

It would be safer if DCUPDATER launched update processes one at a time.

Owen

25
DcUpdater / Re: Integration of dcUpdater with Nullsoft Installer
« on: February 28, 2008, 01:27 PM »
it probably should always create that directory and put itself there, so that if your program is installed, and THEN the dcupdater is installed, it will still find it.

Ok, if you are not going to clobber it, that is fine, I will write it just in case!

Here is the tested changed NSI script segment for my app named FSC:

  ;register FSC with dcUpdater
  SetShellVarContext all
  CreateDirectory $APPDATA\DonationCoder\DcUpdater\RedirectFiles
  FileOpen $0 $APPDATA\DonationCoder\DcUpdater\RedirectFiles\FSC.dcupdateredirect w
  FileWrite $0 "$INSTDIR"
  FileClose $0
  SetShellVarContext current
  IfErrors +1


The uninstall section should also contain:
  Delete $APPDATA\DonationCoder\DcUpdater\RedirectFiles\FSC.dcupdateredirect


Owen

Pages: [1] 2next