Reply to Thread

Post a reply to the thread: Unable to Register Clarion Templates

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 04-15-2007, 06:05 PM
    Larry Teames

    Re: Unable to Register Clarion Templates

    Friedrich:

    I understand. Sometimes there just seems to be no apparent reason for differing results. At this point, per your suggestion, I have changed my script to use my DLL.

    Please, might I be able to get a copy of the executable you have been running (as well as the script that generated it). I'm cousious as to whether the same executable that works for you will also work for me. If so, it would tend to point to my SB6 installation not being the same as yours, which could be why we get differing results.

    TIA

    Larry
  • 04-15-2007, 08:50 AM
    linder

    Re: Unable to Register Clarion Templates

    Larry,

    The only difference between our DDE code is that your code is written in Clarion and mine is written in C++. I checked your source code and the functionality is identical.

    I am at a data center right now (to perform final SetupBuilder 6.5 tests) and we have installed C63 on 38 different test machines. I executed your script (compiled with SB60) and it registered all templates without any problem.

    I am completely lost

    Friedrich
  • 04-12-2007, 11:16 AM
    linder

    Re: Unable to Register Clarion Templates

    Hi Larry,

    It would be great if you could send me the code.

    Our DDE code is pure C++ code (tested in the Microsoft labs to demonstrate and work-around a Windows DDE bug) so it "should" be perfectly OK.

    The main problem is that it never fails on any of our machines so I cannot reproduce it and I have no idea where to look.

    I tested this again on my main development machine (Clarion 6.3 build 9055, Clarion IDE not active, protected by ZoneAlarm 7). This time I unregistered only the 2 wizard templates (like you did in your tests). Executed the install that already worked fine on the other machines - it registered the templates without any problem.

    I am lost...

    Friedrich
  • 04-12-2007, 09:47 AM
    Larry Teames

    Re: Unable to Register Clarion Templates

    I just tested my latest script (with my approach added) as follows:

    XP Pro SP2 P4 2.8ghz 2.5gb: mine worked, yours did only 1st
    Vista Ultimate P4 2.0ghz 1.5gb: mine worked, yours did only 1st
    Win2K SP4 P3 850mhz 750mb: mine worked, yours did neither

    All 3 machines are running against C6.3 #9055, and have Avast virus checker. In all cases, I unregistered only the 2 wizard templates (leaving all other templates registered), closed C6.3, then run the install test. Upon completion I open the the template registry and see whats registered.

    I understand that you have tested it extensively, and that it works for you reliably. Unfortunately, it doesn't work as it should for me. It may well be something that exists on all 3 of my machines causing the problem, but DDE is DDE, so i would think that if it is DDE per se, mine would fail as well. Perhaps its some kind of timing issue. Again, I'd be happy to email you my source files so they could be compared against yours to see if here is any significant difference. Not that I think mine is better than yours, but simply different, and perhaps useful in determining why mine and yours produce different results. Just let me know if you want me to send the zip file.

    Thanks

    Larry
  • 04-12-2007, 03:36 AM
    linder

    Re: Unable to Register Clarion Templates

    I have tested this again on five machines here (using your original .sb6 script, compiled with SetupBuilder 6.0 build 1750, OS not running under a VMWare session). Your installer registered all templates without any problem.

    Can you reproduce this problem on another machine?

    Friedrich
  • 04-12-2007, 01:54 AM
    linder

    Re: Unable to Register Clarion Templates

    Larry,

    The only thing I can tell you is that it is not caused by the SetupBuilder DDE code itself. We had a ticket open with Microsoft seven years ago and our DDE code (written in Visual Studio C++) was used to fix a bug in Windows. We did not change anything in that code for seven years now. The *same* DDE function is used in SetupBuilder 3.x, 4.x, 5.x, and 6.x.

    But you can use your own DDE feature without any problem. Just compile your DDE stuff into a DLL and call it from the installer.

    Friedrich
  • 04-11-2007, 01:08 PM
    Larry Teames

    Re: Unable to Register Clarion Templates

    I have created a C6.3 32bit application that does the template registration via Clarion DDE and added it to the prev script I sent you. I added radio buttons for your registration approach and my registration exe.

    When I run choosing your registration, it only registers the 1st template. When I run choosing my registration, it registers both templates without fail (under both XP Pro and Vista).

    How can it be DDE blocking if my app (DDE client) works for me without fail and yours fails for me without fail?

    If you wish, I will email you a zip file containing the new script, and the source and exe I created to do registration.
  • 04-10-2007, 10:25 AM
    linder

    Re: Unable to Register Clarion Templates

    Larry,

    I wrote:

    >
    > IMO, "something" is blocking DDE commands on your machine.
    >

    I remember a NG discussion some time ago (early 2006, late 2005?) about programs that are blocking DDE commands.

    IMO, the first DDE command is executed on your machine (this registers the first template) and then it blocks all the next DDE commands. It has nothing to do with your script, I think it is machine specific.

    I have tested your original script on all machines here and it never failed. But I think Charles Edmonds had a similar problem some time ago.

    Friedrich
  • 04-10-2007, 10:04 AM
    Larry Teames

    Re: Unable to Register Clarion Templates

    You still didn't answer with any ideas as to what would cause it to register only the first template when I run it. I can really use some advice as to what to look for.
  • 04-09-2007, 11:51 PM
    linder

    Re: Unable to Register Clarion Templates

    Larry,

    Yes, I compiled your script with SetupBuilder 6.0 (Build 1750).

    It also works with SetupBuilder 6.5.

    IMO, "something" is blocking DDE commands on your machine.

    Friedrich
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •