matatua / cnpack

Automatically exported from code.google.com/p/cnpack
0 stars 0 forks source link

Delphi XE Crashes upon Exit. CNPack trying to save data to Program Files (x86) #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clean installation of Windows 7 64bit
2. Clean installation of Delphi XE
3. CNPack 1.0.0.638, 1.0.1.655 or 1.0.2.666.
4. Run Delphi then Quit it.
5. A dialog pops up saying "Embarcadero RAD Studio for Windows has stopped 
working".

This does not happen if the CNPack Customize User Data Folder is set to a 
folder that allows its content to be changed like for instance inside My 
Documents. CNPack is trying to change data inside the Program Files (x86) 
folder for which it gets access denied. If checked by Process Monitor then you 
can see that it is trying to access the "c:\Program Files 
(x86)\CnPack\CnWizards\User" folder which does not exist upon installation and 
then it seems that it tries to create it which gives it the access denied. If 
the folder is created manually then CNPack tries to create files inside it 
which again creates an Access Denied. The problem with setting a manual entry 
in the Customize User Data Folder is that CNPack does not read Delphi 
Environment Variables like BDSUSERDIR which I would have liked to use to set 
the user data folder to so that it always points to it even if I change the 
folder to which BDSUSERDIR points.

What is the expected output? What do you see instead?
Delphi should exit without a glitch or error.

What version of the product are you using? On what operating system?
Windows 7 64bit. Delphi XE. CNPack 1.0.0.638, 1.0.1.655 or 1.0.2.666

Please provide any additional information below.

Original issue reported on code.google.com by gemoed...@gmail.com on 20 May 2014 at 4:07

GoogleCodeExporter commented 9 years ago
I came across a similar issue....
Issue 6: BDS-Crash when closing Delphi 2007. Solution: Don't store application 
data inside the Programs Folder

...and there it states that the issue has been resolved

Original comment by gemoed...@gmail.com on 20 May 2014 at 4:10