Skip to content

Added install.ps1 and mysqlconfigurer.ps1#502

Open
drupaladmin wants to merge 24 commits intomasterfrom
feature_windows_installer
Open

Added install.ps1 and mysqlconfigurer.ps1#502
drupaladmin wants to merge 24 commits intomasterfrom
feature_windows_installer

Conversation

@drupaladmin
Copy link
Copy Markdown
Contributor

Added install.ps1 and mysqlconfigurer.ps1 to simplify installation and applying configurations for Windows users.

…sensitive properties, reorganized dashboard launch properties, and updated package references in CustomActions project.
…ady dialog and adjust navigation controls accordingly
…xe during build; it will now be downloaded during installation. Update Product.wxs to reflect changes in executable component handling.
… process and enhance UI by adding logo bitmap to Configuration and Install Ready dialogs.
…ning in Configuration and Install Ready dialogs for improved layout.
…tion between dialogs, and enhance Configuration dialog with API key retrieval button.
…nd permissions guide buttons, introducing new custom actions for URL management.
…ting layout for API key, MySQL settings, and query optimization controls for improved clarity and usability.
…ion processes. Updated custom actions to run install.ps1 with parameters collected from the UI, improved error handling, and removed obsolete download logic for the executable. Adjusted directory names for consistency and clarity.
…d applying configurations for Windows users.
…ontext.txt'; enhance MySQL configuration script to support non-interactive rollback confirmation via environment variable.
@drupaladmin
Copy link
Copy Markdown
Contributor Author

Added tests

@kochetovd
Copy link
Copy Markdown
Collaborator

Updating process doesn't download binary script of the agent.

@kochetovd
Copy link
Copy Markdown
Collaborator

I got error when try to run the installation script twice

PS C:\Windows\system32> $env:RELEEM_ENV="dev"; $env:RELEEM_MYSQL_MEMORY_LIMIT=0; $env:RELEEM_API_KEY="apikey"; $env:RELEEM_MYSQL_ROOT_PASSWORD="test"; $env:RELEEM_CRON_ENABLE=1; $env:RELEEM_QUERY_OPTIMIZATION="true"; iwr -useb https://releem.s3.amazonaws.com/v2/install.ps1 | iex
Install mode
Using MySQL client: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe
Creating required directories...
Directory ready: C:\ProgramData\ReleemAgent
Directory ready: C:\ProgramData\ReleemAgent\conf.d
Directory ready: C:\Program Files\ReleemAgent
Downloading Releem Agent from https://releem.s3.us-east-1.amazonaws.com/v2/releem-agent.exe ...
ERROR: Failed to download Releem Agent binary. The process cannot access the file 'C:\Program Files\ReleemAgent\releem-agent.exe' because it is being used by another process.
Install log uploaded to Releem API.

It's nessary to try to stop the agent.

@kochetovd
Copy link
Copy Markdown
Collaborator

There is no possibility apply the config noninteractive without restart.

kochetovd and others added 7 commits March 16, 2026 18:34
- Added support for a new test (test_05_update_delegation) in run_tests_windows.sh and run_all.ps1.
- Updated usage instructions to reflect the addition of the new test option.
- Modified Terraform configurations to conditionally manage SSH firewall rules based on OS type.
- Removed SSH-related configurations from Windows bootstrap scripts to streamline setup.
- Updated MySQL configurer script to refresh the installer script and delegate updates more effectively.
- Updated run_tests_windows.sh and run_all.ps1 to include a new test (test_06_reinstall_existing_install) and adjusted usage instructions accordingly.
- Improved the installation script by adding a helper function (Stop-ReleemAgentForReplacement) to safely stop the Releem Agent service before updates and reinstalls.
- Modified test success criteria to dynamically reflect the number of expected suite passes based on the selected test.
- Updated run_tests_windows.sh and run_all.ps1 to include two new tests: test_07_apply_without_restart and test_08_queue_apply, expanding the test suite.
- Adjusted usage instructions to reflect the addition of new test options.
- Modified mysqlconfigurer.ps1 to introduce new parameters for non-interactive configuration application and job queuing, improving flexibility in configuration management.
- Updated test success criteria to accommodate the increased number of expected suite passes.
…ions

- Added test_09_reinstall_rewrites_config_without_prompt to run_tests_windows.sh and run_all.ps1, expanding the test suite.
- Updated usage instructions to reflect the addition of the new test option.
- Modified expected suite passes in run_tests_windows.sh to account for the new test.
- Enhanced the installation script to streamline configuration generation and permissions management.
…sqlconfigurer into feature_windows_installer
@drupaladmin
Copy link
Copy Markdown
Contributor Author

All issues were fixed @kochetovd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants