equal
deleted
inserted
replaced
|
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/ |