test/jdk/tools/jpackage/macosx/dmg/install.sh
branchJDK-8200758-branch
changeset 57446 5a5b85f00a63
parent 57438 4a31db8d42bd
child 58147 45a9084fe981
equal deleted inserted replaced
57445:405ddd80496e 57446:5a5b85f00a63
       
     1 echo "Note: This script will install DMG files silently. In order to verify UI, each .dmg needs to launched manually via Finder."
       
     2 
       
     3 # Test
       
     4 hdiutil attach Test-1.0.dmg
       
     5 sudo /usr/sbin/installer -pkg /Volumes/Test/Test-1.0.pkg -target /
       
     6 hdiutil detach /Volumes/Test/
       
     7 
       
     8 # LicenseTest
       
     9 hdiutil attach LicenseTest-1.0.dmg
       
    10 sudo /usr/sbin/installer -pkg /Volumes/LicenseTest/LicenseTest-1.0.pkg -target /
       
    11 hdiutil detach /Volumes/LicenseTest/
       
    12 
       
    13 # AssociationsTest
       
    14 hdiutil attach AssociationsTest-1.0.dmg
       
    15 sudo /usr/sbin/installer -pkg /Volumes/AssociationsTest/AssociationsTest-1.0.pkg -target /
       
    16 hdiutil detach /Volumes/AssociationsTest/
       
    17 
       
    18 # OptionsTest
       
    19 hdiutil attach OptionsTest-1.0.dmg
       
    20 sudo /usr/sbin/installer -pkg /Volumes/OptionsTest/OptionsTest-1.0.pkg -target /
       
    21 hdiutil detach /Volumes/OptionsTest/
       
    22 
       
    23 # InstallDirTest
       
    24 hdiutil attach InstallDirTest-1.0.dmg
       
    25 sudo /usr/sbin/installer -pkg /Volumes/InstallDirTest/InstallDirTest-1.0.pkg -target /
       
    26 hdiutil detach /Volumes/InstallDirTest/