Skip to content
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

Tried to install using an invalid installer (Sierra) #298

Closed
dnikles opened this issue Oct 14, 2022 · 1 comment
Closed

Tried to install using an invalid installer (Sierra) #298

dnikles opened this issue Oct 14, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dnikles
Copy link

dnikles commented Oct 14, 2022

Describe the bug
Script saw that a build was invalid, but continued to try to use it

To Reproduce
Current OS = 11
Installer on disk = /Applications/Install macOS Sierra.app
options given = --version=12.6 --update --check-power --power-wait-limit 300 --reinstall --pkg --move --min-drive-space 30 --current-user --rebootdelay 10

Expected behavior
Download a new installer

Code/log output

   [erase-install] Caffeinating this script (pid=1815)
   [check_free_space] OK - 930 GB free/purgeable disk space detected
   [check_power_status] OK - AC power detected
   [erase-install] Looking for existing installer app or pkg
   [find_existing_installer] Installer found at /Applications/Install macOS Sierra.app.
   [check_installer_is_valid] Checking validity of /Applications/Install macOS Sierra.app.
   [check_installer_is_valid] Using DTSDKBuild value from Info.plist
   [compare_build_versions] Comparing (1) 20F71 with (2) 16A322
   [compare_build_versions] 20F71 > 16A322
   [check_installer_is_valid] Installer: 16A322 < System: 20F71 : invalid build.
   [erase-install] Running on architecture i386
   [erase-install] Installer is at: /Applications/Install macOS Sierra.app
   [erase-install] Invoking --move option
   [move_to_applications_folder] Valid installer already in /Applications folder
   [erase-install] Closing jamfHelper download message (language=en)
   [check_free_space] OK - 930 GB free/purgeable disk space detected
   [erase-install] WARNING! Running /Applications/Install macOS Sierra.app with reinstall option
   [erase-install] Opening jamfHelper message (language=en)
   [launch_startosinstall] Launching startosinstall
Usage: startosinstall --applicationpath <install macOS.app path> --volume <target volume path>

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS version 11
  • erase-install version 27
@dnikles dnikles added the bug Something isn't working label Oct 14, 2022
grahampugh pushed a commit that referenced this issue Oct 14, 2022
@grahampugh
Copy link
Owner

Should hopefully be fixed in the latest v27.0 upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants