Install madExcept3 in D2007 on Windows 10

delphi package - automated exception handling

Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Dec 19, 2016 7:59 am

Hi all!

I have difficulties getting madExcept3 to run in my Delphi 2007 (I know, old stuff) on Windows 10. I'm normally working with a non-admin account, so I had to install Delphi and madExcept using a different account with admin rights. The madExecept installation worked without complaint, but I don't have the madExcept config menu item in the Delphi IDE. When I'm adding the missing Known Packages entries with regedit, I get this when starting Delphi:
[Window Title]
Fehler

[Content]
Package C:\Program Files (x86)\madCollection\madBasic\BDS4\madBasic_.bpl kann nicht geladen werden.
Zugriff verweigert.
Soll dieses Package beim Laden des nächsten Projekts geladen werden?

[Ja] [Nein]

The same configuration worked on my previous Windows 7 computer. What can I do?

Best regards,
Uli
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Wed Dec 21, 2016 12:05 pm

Try adding NTFS read/execute rights for "Everyone" to the madCollection installation folder, that should solve the problem.
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 7:11 am

Thanks for your answer, madshi, and happy new year!

I tried to follow your advice, but I have no "Everyone" on the security page for the folder. Every item I have there besides "CREATOR OWNER" already has "Lesen, Ausführen" rights. I tried adding them for "CREATOR OWNER" too, but the they're silently reset everytime. :-(
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 7:30 am

I just tried re-installing madCollection to a non-restricted folder. Didn't work either.

FWIW: Using MSBuild inside a batch file to build our main project I get
Schwerwiegend: F1026 Datei nicht gefunden: 'C:\DelphiKomp\madCollection\madExcept\BDS4\madExcept.dcu'
. But the DCU is exactly there. I got this error earlier too with the default installation location.
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 9:01 am

In German it's "Jeder" instead of "Everyone". In the "Sicherheit" tab you need to click on "Bearbeiten", then "Hinzufügen", type in "Jeder", make sure that "Lesen, Ausführen" is activated for "Jeder".
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 9:22 am

Windows won't let me add "Jeder" that way, but I can add "Everyone" despite having a German system. "Lesen, Ausführen" is active by default in the new entry. Unfortunately this still doesn't help.
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 9:41 am

You may also have to activate it for all sub folders. You can do that by clicking on "Erweitert" and then check "Alle Berechtigungen für untergeordnete Objekte..." and "Übernehmen".

Are you in an ActiveDirectory environment? In that case I suppose the users might be coming from the server and that might make them English? I've no idea, just guessing. Normally, it's "Jeder" for a German OS.
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 10:20 am

madshi wrote:You may also have to activate it for all sub folders. You can do that by clicking on "Erweitert" and then check "Alle Berechtigungen für untergeordnete Objekte..." and "Übernehmen".

Still no luck. :sorry:

madshi wrote:Are you in an ActiveDirectory environment? In that case I suppose the users might be coming from the server and that might make them English? I've no idea, just guessing. Normally, it's "Jeder" for a German OS.

I guess so. My "normal" user is "in the domain" whereas my admin account is local.
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 10:22 am

Hmmmm... Not sure what's happening there.

We could do a TeamViewer session, maybe?
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 10:24 am

P.S: After all this trouble you've had it's possible that Delphi stored the madExcept runtime packages in the "Disabled Packages" (or was it "DisabledPackages"?) registry key. Could you double check if that's the case? If so, just delete these entries, maybe that fixes the remaining issues?
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 10:50 am

madshi wrote:P.S: After all this trouble you've had it's possible that Delphi stored the madExcept runtime packages in the "Disabled Packages" (or was it "DisabledPackages"?) registry key. Could you double check if that's the case? If so, just delete these entries, maybe that fixes the remaining issues?

I had an entry "C:\Program Files (x86)\madCollection\madBasic\BDS4\madHelp_.bpl" for my normal user (not in the admin account) which I removed. Didn't change the IDE problem.

But my major pain point seems gone - I just could do an MSBuild of our project in madExcept configuration.
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 10:53 am

Ok, still not sure why it doesn't work yet. My dev PC is Windows 8.1 x64, but I have all Delphi versions installed and running fine from Delphi 4 to the latest.
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm

Re: Install madExcept3 in D2007 on Windows 10

Postby uligerhardt » Mon Jan 02, 2017 10:58 am

May there be a difference between madExcept 3 and 4 regarding this?
uligerhardt
 
Posts: 13
Joined: Wed Oct 24, 2012 9:39 am

Re: Install madExcept3 in D2007 on Windows 10

Postby madshi » Mon Jan 02, 2017 11:05 am

Not really. madExcept 3 stops at some higher Delphi version, but D2007 should still be supported. OS support is no different between v3 and v4.
madshi
Site Admin
 
Posts: 9414
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 3 guests