- Timestamp:
- Aug 10, 2012 8:21:34 AM (12 years ago)
- Location:
- trunk/src/VBox/Installer/darwin
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r42742 r42744 72 72 73 73 # The location of the productbuild program. 74 ifndef VBOX_P KGBUILD74 ifndef VBOX_PRODUCTBUILD 75 75 VBOX_PRODUCTBUILD := productbuild 76 76 endif … … 209 209 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/*.lproj/*) \ 210 210 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), \ 211 $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_ HTML) \211 $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_RTF) \ 212 212 $(VBOX_BRAND_$(f)_REGISTRATIONPANE_INFOPLIST_STRINGS) \ 213 213 $(VBOX_BRAND_$(f)_REGISTRATIONPANE_LOCALIZABLE_STRINGS)) \ … … 227 227 $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj 228 228 @# Do keyword replacement in the package info and description files. 229 ifdef VBOX_USE_PACKAGEMAKER 229 230 $(SED) \ 230 231 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \ … … 247 248 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.desc/Description.plist \ 248 249 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Description.plist 250 endif # !VBOX_USE_PACKAGEMAKER 249 251 $(SED) \ 250 252 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \ … … 255 257 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \ 256 258 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \ 257 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj/Welcome. html\258 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Welcome. html259 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj/Welcome.rtf \ 260 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Welcome.rtf 259 261 @# Copy the resources. 260 # $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/ReadMe.html $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj/ReadMe.html 261 $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Conclusion.html $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj/Conclusion.html 262 $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/Conclusion.rtf $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/English.lproj/Conclusion.rtf 262 263 $(SED) \ 263 264 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ … … 276 277 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \ 277 278 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \ 278 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Welcome. html\279 $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_ HTML)$(NLTAB) \280 $(INSTALL) -m 0644 $(VBOX_BRAND_$(f)_VIRTUALBOX_CONCLUSION_ HTML) $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Conclusion.html$(NLTAB) \279 --output $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Welcome.rtf \ 280 $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_RTF)$(NLTAB) \ 281 $(INSTALL) -m 0644 $(VBOX_BRAND_$(f)_VIRTUALBOX_CONCLUSION_RTF) $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res/$(VBOX_INSTALLER_$(f)_DARWIN_TARGET).lproj/Conclusion.rtf$(NLTAB) \ 281 282 $(SED) \ 282 283 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ … … 287 288 ) 288 289 @# Build the package. 290 ifdef VBOX_USE_PACKAGEMAKER 289 291 $(VBOX_PACKAGEMAKER) -build -v \ 290 292 -p $@ \ … … 319 321 ) 320 322 endif 323 else # !VBOX_USE_PACKAGEMAKER 324 $(VBOX_PRODUCTBUILD) \ 325 --distribution $(VBOX_PATH_DI_SRC)/VirtualBox_mpkg/distribution.dist \ 326 --package-path $(VBOX_PATH_PACK_TMP)/Packages \ 327 --resources $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res \ 328 --identifier org.virtualbox.mpkg.virtualbox \ 329 --version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ 330 $@ 331 endif # !VBOX_USE_PACKAGEMAKER 321 332 @# Cleanup. 322 333 sudo rm -Rf \ … … 325 336 $(VBOX_PATH_PACK_TMP)/VirtualBox.mpkg.res 326 337 327 338 VirtualBox.mpkg: $(VBOX_PATH_PACK_TMP)/DiskImage/VirtualBox.mpkg 328 339 329 340 # -
trunk/src/VBox/Installer/darwin/VirtualBox_mpkg/distribution.dist
r34631 r42744 2 2 <!-- 3 3 # 4 # Copyright (C) 2008-201 0Oracle Corporation4 # Copyright (C) 2008-2012 Oracle Corporation 5 5 # 6 6 # This file is part of VirtualBox Open Source Edition (OSE), as … … 15 15 <installer-gui-script minSpecVersion="1.0"> 16 16 <title>VirtualBox_title</title> 17 <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" />17 <options customize="allow" allow-external-scripts="yes" rootVolumeOnly="true" hostArchitectures="i386"/> 18 18 <installation-check script="checkPrerequisite()"></installation-check> 19 <domains enable_anywhere=" true"/>19 <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true"/> 20 20 <script> 21 21 /* js:pkmk:start */ … … 68 68 </script> 69 69 <background file="background.tif" alignment="topleft" scaling="none"/> 70 <welcome file="Welcome. html"/>71 < conclusion file="Conclusion.html"/>70 <welcome file="Welcome.rtf" mime-type="text/rtf" uti="public.rtf"/> 71 <!-- <conclusion file="Conclusion.rtf" mime-type="text/rtf" uti="public.rtf"/> -- the default conclusion looks better --> 72 72 <choices-outline> 73 73 <line choice="choiceVBoxKEXTs"></line> … … 76 76 <line choice="choiceVBoxCLI"></line> 77 77 </choices-outline> 78 <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg"start_selected="true" start_enabled="false" start_visible="true">78 <choice id="choiceVBoxKEXTs" title="choiceVBoxKEXTs_title" description="choiceVBoxKEXTs_msg" start_selected="true" start_enabled="false" start_visible="true"> 79 79 <pkg-ref id="org.virtualbox.pkg.vboxkexts"></pkg-ref> 80 80 </choice> … … 82 82 <pkg-ref id="org.virtualbox.pkg.vboxstartupitems"></pkg-ref> 83 83 </choice> 84 <choice id="choiceVBox" title="choiceVBox_title" description="choiceVBox_msg"start_selected="true" start_enabled="false" start_visible="true">84 <choice id="choiceVBox" title="choiceVBox_title" description="choiceVBox_msg" start_selected="true" start_enabled="false" start_visible="true"> 85 85 <pkg-ref id="org.virtualbox.pkg.virtualbox"></pkg-ref> 86 86 </choice> 87 <choice id="choiceVBoxCLI" title="choiceVBoxCLI_title" description="choiceVBoxCLI_msg"start_selected="true" start_enabled="true" start_visible="true">87 <choice id="choiceVBoxCLI" title="choiceVBoxCLI_title" description="choiceVBoxCLI_msg" start_selected="true" start_enabled="true" start_visible="true"> 88 88 <pkg-ref id="org.virtualbox.pkg.virtualboxcli"></pkg-ref> 89 89 </choice> … … 93 93 <pkg-ref id="org.virtualbox.pkg.virtualboxcli" auth="Root">file:./Contents/Packages/VirtualBoxCLI.pkg</pkg-ref> 94 94 </installer-gui-script> 95
Note:
See TracChangeset
for help on using the changeset viewer.