-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement relocatable binaries for windows installer #550
Implement relocatable binaries for windows installer #550
Comments
Currently OPENSSLDIR is used in the construction of the following variables/macros:
given this set of use cases I think it would be sufficient to simply store default values for these environment variables in the register for all users |
Other things to consider are MODULESDIR and ENGINESDIR |
agreed, I do need to deal with those, but they are fortunately likewise specify-able at run time with environment variables |
Right - but if they are not specified they have a built-in default which should probably come from the registry |
Right, thats the interesting bit though. As I'm reading about this, I've discovered that environment variables in windows are in fact just Registry keys. specifically they are stored in: |
Our OpenSSL build anchors several paths at build time using the OPENSSLDIR/ENGINESDIR/MODULESDIR variables (and subordonate paths based on them),which is unworkable as on windows, with an installer, the selection of the install location is separated from the build time selections. We need to be able to select those paths at install time and have the openssl binaries read them at run time. We should use registry keys to store these paths on a per-installation basis.
Note: This is dependent on #129
The text was updated successfully, but these errors were encountered: