I'm trying to install DEV-PHP2 in a restricted environment. Meaning that I've got no rights to write to the registry of the Windows XP installation.
IDE Basic version 2.1.2.288 fails when I close the application. It gives me all kind of access violations. The changed settings are not saved either. I guess that those errors are caused by access limitations to the registry.
Can it be a registery problem? Or is it caused by something else.
Which version does not write to the registry and saves all settings in a local config file. Does the USB version this?
With kind regards,
Zuijberknaf
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> IDE Basic version 2.1.2.288 fails when I close the application.
> I guess that those errors are caused by access limitations to the registry.
Dev-PHP doesn't access to the registry except to register files extensions.
The caption of the button is 'register' or 'unregister'
in Options » General Options - The last but one tab.
When closing the application, Dev-PHP writes several configuration files to %APPDATA%\devphp directory
This could be a problem, depending on some security levels...
> Which version does not write to the registry and saves all settings in a local config file.
All versions are working like that : do not write to the registry and save settings in local files.
> Does the USB version this ?
Excellent ! I think that you're right about the USB version.
1) At this time there's only one method
You can select which directory will contain the configuration files.
However this directory must be relative to the path of the program.
Of course, you must have rights to write there.
Set an environment variable named 'DevPHP_AppFolder' to the value 'AppData' (for example) @set DevPHP_AppFolder=AppData
Launch devphp
2) Soon, there will be another method
Working without environment variable,
it should be based upon configuration file (.ini file)
in order to be 'portableapps.com' compliant.
However the AppData directory will still have to be relative to the path of the program.
But this is another story :)
Best regards,
Pierre.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I'm trying to install DEV-PHP2 in a restricted environment. Meaning that I've got no rights to write to the registry of the Windows XP installation.
IDE Basic version 2.1.2.288 fails when I close the application. It gives me all kind of access violations. The changed settings are not saved either. I guess that those errors are caused by access limitations to the registry.
Can it be a registery problem? Or is it caused by something else.
Which version does not write to the registry and saves all settings in a local config file. Does the USB version this?
With kind regards,
Zuijberknaf
Hi Zuijberknaf,
> IDE Basic version 2.1.2.288 fails when I close the application.
> I guess that those errors are caused by access limitations to the registry.
Dev-PHP doesn't access to the registry except to register files extensions.
The caption of the button is 'register' or 'unregister'
in Options » General Options - The last but one tab.
When closing the application, Dev-PHP writes several configuration files to %APPDATA%\devphp directory
This could be a problem, depending on some security levels...
> Which version does not write to the registry and saves all settings in a local config file.
All versions are working like that : do not write to the registry and save settings in local files.
> Does the USB version this ?
Excellent ! I think that you're right about the USB version.
1) At this time there's only one method
You can select which directory will contain the configuration files.
However this directory must be relative to the path of the program.
Of course, you must have rights to write there.
Set an environment variable named 'DevPHP_AppFolder' to the value 'AppData' (for example)
@set DevPHP_AppFolder=AppData
Launch devphp
2) Soon, there will be another method
Working without environment variable,
it should be based upon configuration file (.ini file)
in order to be 'portableapps.com' compliant.
However the AppData directory will still have to be relative to the path of the program.
But this is another story :)
Best regards,
Pierre.