adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
84 stars 100 forks source link

WindowsPB: Update Wix5 Installation To Be Global #3628

Closed steelhead31 closed 1 day ago

steelhead31 commented 5 days ago

Update Wix 5 installation to be global, rather than user specific. This change allows Wix 5 to be installed and be accessible by all users, and not just the jenkins user. This allows the playbook to follow the standard process of having the installation carried out by the administrative user, and executed by other users.

This also allows the playbook to be tested successfully via the VPC check process.

To Clarify When using the --global switch , the Wix package gets installed into a user specific directory, this is usually the administrators home directory, and not accessible for other users e.g. Jenkins.

By using --tool-path, the tool can be installed into a directory that is available to the system, so that jenkins, vagrant and other users can execute wix.

Checklist

VPC in progress : https://ci.adoptium.net/job/VagrantPlaybookCheck/1888/

steelhead31 commented 5 days ago

Reverting to draft, whilst I figure out the fix for GPG verification of Ant