- Newest
- Most votes
- Most comments
Hello.
Is the file path where choices.xml is located correct as stated in the error?
Hi,
Please, have a look at last answer of https://github.com/aws/aws-cli/issues/5208
It may be the solution of your problem of your Mac is configured similarly to description.
Best
Didier
This is not exactly same issue to what I have. I have not installed GUI but only trying to install CLI.
Avik, have you found a solution yet? I'm having a similar issue.
choices.xml file is located in Users/myhome
package file was installed with command:
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
in the same folder.
ran:
installer -pkg AWSCLIV2.pkg \ -target CurrentUserHomeDirectory \ -applyChoiceChangesXML choices.xml
in the same folder.
Result:
installer: Package name is AWS Command Line Interface
installer: choices file '/Users/myhome/choices.xml' either could not be found or was malformed.%
choices.xml content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>choiceAttribute</key>
<string>customLocation</string>
<key>attributeSetting</key>
<string>/Users/myhome</string>
<key>choiceIdentifier</key>
<string>default</string>
</dict>
</array>
</plist>
Relevant content
- Accepted Answerasked 2 years ago
- asked a year ago
- asked 8 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
Yes. I have placed the package file also at same place and there is no error. here is my command to install and the path.
installer -pkg /Users/avikmanna/AWS_CLI_Installation/AWSCLIV2.pkg
-target CurrentUserHomeDirectory
-applyChoiceChangesXML /Users/avikmanna/AWS_CLI_Installation/choices.xml