Errors after installing in BDS2006 on Vista

contains all delphi packages mentioned below

Errors after installing in BDS2006 on Vista

Postby cmatrix » Wed Feb 14, 2007 8:59 pm

BDS 2006 (Turbo Delphi)
Vista

I just installed MadCollectionVista. On starting Delphi I get an error for every mad bpl: Can't load package...Access is denied... How do I get rid of these errors?

thanks
cmatrix
 
Posts: 7
Joined: Wed Feb 14, 2007 8:52 pm

Postby madshi » Thu Feb 15, 2007 10:56 am

Hmmmm... That sounds interesting. Can you please check NTFS security attributes for the madCollection installation folder? Just as a test please add "Everyone". You can remove it later, it's just a test to find out whether that's the problem or not.
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Postby cmatrix » Thu Feb 15, 2007 7:30 pm

Adding "Everyone" to the DeXter folder had no effect.
cmatrix
 
Posts: 7
Joined: Wed Feb 14, 2007 8:52 pm

Postby madshi » Fri Feb 16, 2007 11:50 am

Are the packages listed in the list of installed packages in the Delphi IDE? If so, are they checked there? If not, could you please try to check "madBasic_.bpl"? What happens then? If you can't check it, could you please try to load it into the editor? Of course you'll get junk into the editor, as it's not a text file. But I just want to find out whether opening and reading the file works.

Thanks!
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Postby cmatrix » Fri Feb 16, 2007 12:58 pm

The packages are listed as installed packages in the Delphi IDE but are not checked. When I try to check "madBasic_.bpl" I get the exact same error as on starting the IDE. When I try to load it into the editor it says "You don't have permission to open this file".

No matter what perms I set on the folders they are not propagating to the files themselves. I have to add the User group to the file permissions of each bpl file. Then they all load.
cmatrix
 
Posts: 7
Joined: Wed Feb 14, 2007 8:52 pm

Postby madshi » Fri Feb 16, 2007 1:16 pm

That's quite strange. I mean if the madCollection installer was able to CREATE these files, why is Delphi not able to read them? Very strange...

Anyway, can you live with the workaround to give the bpls additional permissions?

Addins permissions to folders only works if you ask Windows to propagate the added permissions to subfolders, I think. But sometimes this whole rights management system can be quite confusing... :confused:
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Postby cmatrix » Fri Feb 16, 2007 4:33 pm

The files would have been created with the Admin account but they need to be given permissions for ordinary users to read them. It's now working for me but as more move to Vista you're probably going to see this problem again.

Now I can load Delphi but when I try to compile an app I get [Pascal Fatal Error]...F1026 File not found: 'C:\Program Files\madCollection\madExcept\DeXter\madExcept.dcu'. The weird thing is I have put 'C:\Program Files\madCollection\madExcept\DeXter' in both the Library path and the Browsing path. Again it is found when you give the dcu file read perms for Users. AFAICS C:\Program Files\ has read perms for User and it is supposed to propagate to all subfolders...Aghhh!

:crazy:
cmatrix
 
Posts: 7
Joined: Wed Feb 14, 2007 8:52 pm

Postby madshi » Fri Feb 16, 2007 4:38 pm

Ok, thanks, I'll see whether I can solve this problem in one of the next builds. For now I guess you have to manually set the appropriate access rights... :?
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Postby cmatrix » Fri Feb 16, 2007 8:13 pm

Someone from the MS groups thinks the User group should always already have read access to the Program Files group. Is it possible the madCollection installer is overwriting these perms?
cmatrix
 
Posts: 7
Joined: Wed Feb 14, 2007 8:52 pm

Postby madshi » Fri Feb 16, 2007 9:35 pm

No, madCollection is not changing NTFS rights! Not intentionally, anyway...
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Re: Errors after installing in BDS2006 on Vista

Postby RobinP » Sat Aug 30, 2014 10:31 am

Hi,
FYI - I just got this again when installing on Windows 7 for C++ Builder XE3. It seems the directories all have read access from the "Users" group, but not the actual files. I've solved it in the meantime by installing to "C:\Components", where I have other stuff that has obviously had the same problem. Robin
RobinP
 
Posts: 5
Joined: Sat Aug 30, 2014 9:06 am

Re: Errors after installing in BDS2006 on Vista

Postby RobinP » Tue Sep 02, 2014 9:07 am

Update: installing in C:\Components still didn't fix it, I had to manually change the permissions for the whole directory.
RobinP
 
Posts: 5
Joined: Sat Aug 30, 2014 9:06 am

Re: Errors after installing in BDS2006 on Vista

Postby madshi » Thu Sep 04, 2014 9:40 am

Sounds strange. I've no idea why that happens. The weirdest thing is that it seems to work just fine for 99.9% of all users... :confused:
madshi
Site Admin
 
Posts: 9338
Joined: Sun Mar 21, 2004 5:25 pm

Re: Errors after installing in BDS2006 on Vista

Postby Krystian » Fri Sep 12, 2014 9:01 am

I've had similar/same issue on madExcept installation directory few months ago (XE5.2, Win7Pro64 SP1). There was also some issues with Owner of files/directories. IIRC it was after updating madExcept, but I cannot reproduce it now.
I'm not installing it in Program Files, but in C:\DelphiComponents\madCollection

I've ended up with:
- uninstalling madExcept
- removing madCollection directory (as I remember I had to take ownership of directory with "Replace owner on subcontainers and objects")
- clean install od madExcept
- and after that installation there was no changes on directories/files permissions.
Krystian
 
Posts: 3
Joined: Fri Aug 08, 2014 7:19 am


Return to madCollection

Who is online

Users browsing this forum: No registered users and 1 guest

cron