VirtualBox

Changeset 99676 in vbox


Ignore:
Timestamp:
May 8, 2023 3:38:02 PM (19 months ago)
Author:
vboxsync
Message:

repack scripts: adding option to ignore ExtPacks for Combined3-Repack.cmd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Scripts/Combined-3-Repack.cmd

    r98103 r99676  
    5151set _MY_OPT_SIGNED_AMD64=
    5252set _MY_OPT_SIGNED_X86=
     53set _MY_OPT_NOEXTPACK=
    5354
    5455:argument_loop
     
    6566if ".%1" == ".-e"                   goto opt_e
    6667if ".%1" == ".--extpack"            goto opt_e
     68if ".%1" == ".-n"                   goto opt_n
     69if ".%1" == ".--no-extpack"         goto opt_n
    6770if ".%1" == ".-o"                   goto opt_o
    6871if ".%1" == ".--outdir"             goto opt_o
     
    107110goto end_failed
    108111
     112:opt_n
     113set _MY_OPT_NOEXTPACK=1
     114shift
     115goto argument_loop
     116
    109117:opt_o
    110118if ".%~2" == "."            goto syntax_error_missing_value
     
    197205if not exist "%_MY_REPACK_DIR_X86%"     goto error_x86_repack_dir_not_found
    198206
     207if ".%_MY_OPT_NOEXTPACK%" == ".1"       goto no_enterprise_check
    199208if not exist "%_MY_OPT_EXTPACK%"        goto error_extpack_not_found
    200209if not ".%_MY_OPT_EXTPACK_ENTERPRISE%" == "." if not exist "%_MY_OPT_EXTPACK_ENTERPRISE%" goto error_enterprise_extpack_not_found
     210:no_enterprise_check
    201211
    202212if not exist "%_MY_OPT_SIGNED_AMD64%"   goto error_signed_amd64_not_found
     
    283293)
    284294
     295if ".%_MY_OPT_NOEXTPACK%" == ".1" goto no_enterprise_repacking
    285296
    286297rem
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette