shovel-org / Windows-Sysinternals-Bucket

Shovel bucket containing all Sysinternals tools as separate manifests.
37 stars 6 forks source link

Add `/accepteula` parameter to every bin #2

Closed Ash258 closed 4 years ago

Ash258 commented 5 years ago

Ash258 commented 5 years ago

snippet.

# Single snippet
"body": [
    "\t[",
    "\t\t\"${TM_FILENAME_BASE}.exe\",",
    "\t\t\"${TM_FILENAME_BASE}\",",
    "\t\t\"/accepteula\"",
    "\t]"
],
# Architecture rewrite bin
"body": [
    "\t[",
    "\t\t\"${TM_FILENAME_BASE}64.exe\",",
    "\t\t\"${TM_FILENAME_BASE}64\",",
    "\t\t\"/accepteula\"",
    "\t],",
    "\t[",
    "\t\t\"${TM_FILENAME_BASE}64.exe\",",
    "\t\t\"${TM_FILENAME_BASE}\",",
    "\t\t\"/accepteula\"",
    "\t],",
]
Ash258 commented 5 years ago

Test flow:

  1. Fire up sandbox

  2. Clean: Remove-Item 'HKCU:\Software\Sysinternals' -Force -Recurse

  3. Install 1 manifest

  4. cd $env:SCOOP\apps\$manifest\current

  5. Execute executable directly without parameter

    1. Make sure it will prompt eula
    2. Decline
    3. Execute it again without parameter
  6. Execute it from path with parameter

  7. Should not prompt

  8. Mark manifest name in this post as done and move it to DONE details.

  9. Check if application provide some description inside banner

  10. Check if GUI application have some command line parameters

    • Usually in Help -> Command line menu
Ash258 commented 5 years ago

Each manifest have accepteula by default. Ready to test everything as described in https://github.com/Ash258/Scoop-Sysinternals/issues/2#issuecomment-495542745