Revision: 123
Author:
t...@electrotap.com
Date: Fri Mar 12 11:45:07 2010
Log: misc installer script fixes
http://code.google.com/p/soundflower/source/detail?r=123
Modified:
/trunk/Installer/Soundflower.pmdoc/01soundflower.xml
/trunk/Installer/Soundflower.pmdoc/02soundflowerbed-contents.xml
/trunk/Installer/Soundflower.pmdoc/02soundflowerbed.xml
/trunk/Installer/Soundflower.pmdoc/03readme-contents.xml
/trunk/Installer/Soundflower.pmdoc/03readme.xml
/trunk/Installer/Soundflower.pmdoc/04license-contents.xml
/trunk/Installer/Soundflower.pmdoc/04license.xml
/trunk/Installer/Soundflower.pmdoc/05uninstall-contents.xml
/trunk/Installer/Soundflower.pmdoc/05uninstall.xml
/trunk/Installer/Soundflower.pmdoc/06soundflowerbed-contents.xml
/trunk/Installer/Soundflower.pmdoc/06soundflowerbed.xml
/trunk/Installer/Soundflower.pmdoc/index.xml
/trunk/Tools/installer.rb
=======================================
--- /trunk/Installer/Soundflower.pmdoc/01soundflower.xml Fri Mar 12
10:29:54 2010
+++ /trunk/Installer/Soundflower.pmdoc/01soundflower.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="B747ECB2-BFC8-463C-BA54-FAC6EE7A4399"><config><identifier>com.cycling74.soundflower.pkg</identifier><version>1</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true" mod="true"
includeRoot="true">../Build/Soundflower.kext</installFrom><installTo>/System/Library/Extensions</installTo><flags><followSymbolicLinks/><allowRevert/><mod>allowRevert</mod></flags><packageStore
type="internal"></packageStore><mod>scripts.preinstall.path</mod><mod>scripts.postflight.path</mod><mod>installTo</mod><mod>installFrom.isRelativeType</mod><mod>scripts.postflight.isRelativeType</mod><mod>scripts.preinstall.isRelativeType</mod><mod>parent</mod><mod>scripts.preupgrade.path</mod><mod>identifier</mod><mod>installFrom.path</mod><mod>scripts.preflight.path</mod><mod>postInstall</mod></config><scripts><postflight
relative="true"
mod="true">postflight</postflight></scripts><contents><file-list>01soundflower-contents.xml</file-list><component
id="com.Cycling74.driver.Soundflower"
path="/code/Soundflower/Build/Soundflower.kext" version="1.5.2"
isDowngradeable="true"><mod>isDowngradeable</mod></component><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="B747ECB2-BFC8-463C-BA54-FAC6EE7A4399"><config><identifier>com.cycling74.soundflower.pkg</identifier><version>1</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true" mod="true"
includeRoot="true">../Build/Soundflower.kext</installFrom><installTo>/System/Library/Extensions</installTo><flags><followSymbolicLinks/><allowRevert/><mod>allowRevert</mod></flags><packageStore
type="internal"></packageStore><mod>scripts.preinstall.path</mod><mod>scripts.postflight.path</mod><mod>installTo</mod><mod>installFrom.isRelativeType</mod><mod>scripts.postflight.isRelativeType</mod><mod>scripts.preinstall.isRelativeType</mod><mod>parent</mod><mod>scripts.preupgrade.path</mod><mod>identifier</mod><mod>installFrom.path</mod><mod>scripts.preflight.path</mod><mod>postInstall</mod></config><scripts><postflight
relative="true"
mod="true">postflight</postflight></scripts><contents><file-list>01soundflower-contents.xml</file-list><component
id="com.Cycling74.driver.Soundflower"
path="/code/Soundflower/Build/Soundflower.kext" version="1.5.2"
isDowngradeable="true"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/02soundflowerbed-contents.xml Tue
Sep 1 11:05:36 2009
+++ /trunk/Installer/Soundflower.pmdoc/02soundflowerbed-contents.xml Fri
Mar 12 11:45:07 2010
@@ -1,1 +1,1 @@
-<pkg-contents spec="1.12"><f n="Soundflowerbed.app" o="tim" g="admin"
p="16893"
pt="/Volumes/lime/code/Soundflower/SoundflowerBed/build/Deployment/Soundflowerbed.app"
m="true" t="file"><f n="Contents" o="tim" g="admin" p="16893"><f
n="Info.plist" o="tim" g="admin" p="33204"><mod>mode</mod></f><f n="MacOS"
o="tim" g="admin" p="16893"><f n="Soundflowerbed" o="tim" g="admin"
p="33277"><mod>mode</mod></f><mod>mode</mod></f><f n="PkgInfo" o="tim"
g="admin" p="33204"><mod>mode</mod></f><f n="Resources" o="tim" g="admin"
p="16893"><f n="appIcon.icns" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="English.lproj" o="tim" g="admin"
p="16893"><f n="InfoPlist.strings" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="MainMenu.nib" o="tim" g="admin"
p="33204"><mod>mode</mod></f><mod>mode</mod></f><f n="Info.plist" o="tim"
g="admin" p="33204"><mod>mode</mod></f><f n="menuIcon.tiff" o="tim"
g="admin" p="33204"><mod>mode</mod></f><f n="sf16.tiff" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="sf2.tiff" o="tim" g="admin"
p="33204"><mod>mode</mod></f><mod>mode</mod></f><mod>mode</mod></f><mod>mode</mod></f></pkg-contents>
+<pkg-contents spec="1.12"><f n="Soundflowerbed.app" o="tim" g="admin"
p="16893"
pt="/code/Soundflower/SoundflowerBed/build/Deployment/Soundflowerbed.app"
m="true" t="file"><f n="Contents" o="tim" g="admin" p="16893"><f
n="Info.plist" o="tim" g="admin" p="33204"><mod>mode</mod></f><f n="MacOS"
o="tim" g="admin" p="16893"><f n="Soundflowerbed" o="tim" g="admin"
p="33277"><mod>mode</mod></f><mod>mode</mod></f><f n="PkgInfo" o="tim"
g="admin" p="33204"><mod>mode</mod></f><f n="Resources" o="tim" g="admin"
p="16893"><f n="appIcon.icns" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="English.lproj" o="tim" g="admin"
p="16893"><f n="InfoPlist.strings" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="MainMenu.nib" o="tim" g="admin"
p="33204"><mod>mode</mod></f><mod>mode</mod></f><f n="menuIcon.tiff"
o="tim" g="admin" p="33204"><mod>mode</mod></f><f n="sf16.tiff" o="tim"
g="admin" p="33204"><mod>mode</mod></f><f n="sf2.tiff" o="tim" g="admin"
p="33204"><mod>mode</mod></f><f n="Soundflower.xcconfig" o="tim" g="admin"
p="33204"><mod>mode</mod></f><mod>mode</mod></f><mod>mode</mod></f><mod>mode</mod></f></pkg-contents>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/02soundflowerbed.xml Fri Mar 12
10:29:54 2010
+++ /trunk/Installer/Soundflower.pmdoc/02soundflowerbed.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="24CB701C-B118-40D8-B625-699089189E35"><config><identifier>com.cycling74.soundflower.Soundflowerbed.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom
includeRoot="true">/Volumes/lime/code/Soundflower/SoundflowerBed/build/Deployment/Soundflowerbed.app</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo.path</mod><mod>parent</mod><mod>relocatable</mod><mod>installTo</mod><mod>identifier</mod></config><contents><file-list>02soundflowerbed-contents.xml</file-list><component
id="com.cycling74.Soundflowerbed"
path="/Volumes/lime/code/Soundflower/SoundflowerBed/build/Deployment/Soundflowerbed.app"
version="1.0"
isDowngradeable="true"><mod>isDowngradeable</mod></component><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="24CB701C-B118-40D8-B625-699089189E35"><config><identifier>com.cycling74.soundflower.Soundflowerbed.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true" mod="true"
includeRoot="true">../SoundflowerBed/build/Deployment/Soundflowerbed.app</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo</mod><mod>relocatable</mod><mod>installFrom.path</mod><mod>identifier</mod><mod>parent</mod><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod></config><contents><file-list>02soundflowerbed-contents.xml</file-list><component
id="com.cycling74.Soundflowerbed"
path="/code/Soundflower/SoundflowerBed/build/Deployment/Soundflowerbed.app"
version="1.0" isRelocatable="true"><locator-info><token
title="pkmk-token-34"><search-rule><combo
identifier="com.cycling74.Soundflowerbed"
default-path="/Applications/Soundflower/Soundflowerbed.app"/></search-rule></token></locator-info></component><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/03readme-contents.xml Tue Sep 1
11:05:36 2009
+++ /trunk/Installer/Soundflower.pmdoc/03readme-contents.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkg-contents spec="1.12"><f n="ReadMe.rtf" o="tim" g="tim" p="33188"
pt="/Volumes/lime/code/Soundflower/Installer/ReadMe.rtf" m="false"
t="file"/></pkg-contents>
+<pkg-contents spec="1.12"><f n="ReadMe.rtf" o="tim" g="admin" p="33188"
pt="/code/Soundflower/Installer/ReadMe.rtf" m="false"
t="file"/></pkg-contents>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/03readme.xml Fri Mar 12 10:29:54 2010
+++ /trunk/Installer/Soundflower.pmdoc/03readme.xml Fri Mar 12 11:45:07 2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="E877E8DC-88B1-496F-ADE8-0F29AAFCAC96"><config><identifier>com.cycling74.soundflower.ReadMe.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom>/Volumes/lime/code/Soundflower/Installer/ReadMe.rtf</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>03readme-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="E877E8DC-88B1-496F-ADE8-0F29AAFCAC96"><config><identifier>com.cycling74.soundflower.ReadMe.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true"
mod="true">../Installer/ReadMe.rtf</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installFrom.path</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>03readme-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/04license-contents.xml Tue Sep 1
11:05:15 2009
+++ /trunk/Installer/Soundflower.pmdoc/04license-contents.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkg-contents spec="1.12"><f n="License.txt" o="tim" g="admin" p="33261"
pt="/Volumes/lime/code/Soundflower/License.txt" m="false"
t="file"/></pkg-contents>
+<pkg-contents spec="1.12"><f n="License.txt" o="tim" g="admin" p="33261"
pt="/code/Soundflower/License.txt" m="false" t="file"/></pkg-contents>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/04license.xml Fri Mar 12 10:29:54
2010
+++ /trunk/Installer/Soundflower.pmdoc/04license.xml Fri Mar 12 11:45:07
2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="53F59640-8FE9-4169-8981-5FA19B1AAFDC"><config><identifier>com.cycling74.soundflower.License.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom>/Volumes/lime/code/Soundflower/License.txt</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>04license-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="53F59640-8FE9-4169-8981-5FA19B1AAFDC"><config><identifier>com.cycling74.soundflower.License.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true"
mod="true">../License.txt</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installFrom.path</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>04license-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/05uninstall-contents.xml Tue Sep 1
11:05:15 2009
+++ /trunk/Installer/Soundflower.pmdoc/05uninstall-contents.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkg-contents spec="1.12"><f n="Uninstall Soundflower.scpt" o="tim"
g="tim" p="33188" pt="/Volumes/lime/code/Soundflower/Tools/Uninstall
Soundflower.scpt" m="false" t="file"/></pkg-contents>
+<pkg-contents spec="1.12"><f n="Uninstall Soundflower.scpt" o="tim"
g="admin" p="33188" pt="/code/Soundflower/Tools/Uninstall Soundflower.scpt"
m="false" t="file"/></pkg-contents>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/05uninstall.xml Fri Mar 12 10:29:54
2010
+++ /trunk/Installer/Soundflower.pmdoc/05uninstall.xml Fri Mar 12 11:45:07
2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="685D595D-B607-4606-A7BE-D3FA8E45B4F1"><config><identifier>com.cycling74.soundflower.UninstallSoundflower.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom>/Volumes/lime/code/Soundflower/Tools/Uninstall
Soundflower.scpt</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>05uninstall-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="685D595D-B607-4606-A7BE-D3FA8E45B4F1"><config><identifier>com.cycling74.soundflower.UninstallSoundflower.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true"
mod="true">../Tools/Uninstall Soundflower.scpt</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installFrom.path</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>05uninstall-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/06soundflowerbed-contents.xml Tue
Sep 1 11:05:36 2009
+++ /trunk/Installer/Soundflower.pmdoc/06soundflowerbed-contents.xml Fri
Mar 12 11:45:07 2010
@@ -1,1 +1,1 @@
-<pkg-contents spec="1.12"><f n="Soundflowerbed README.rtf" o="tim"
g="admin" p="33188"
pt="/Volumes/lime/code/Soundflower/SoundflowerBed/Soundflowerbed
README.rtf" m="false" t="file"/></pkg-contents>
+<pkg-contents spec="1.12"><f n="Soundflowerbed README.rtf" o="tim"
g="admin" p="33188" pt="/code/Soundflower/SoundflowerBed/Soundflowerbed
README.rtf" m="false" t="file"/></pkg-contents>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/06soundflowerbed.xml Fri Mar 12
10:29:54 2010
+++ /trunk/Installer/Soundflower.pmdoc/06soundflowerbed.xml Fri Mar 12
11:45:07 2010
@@ -1,1 +1,1 @@
-<pkgref spec="1.12"
uuid="7088D4DF-BE78-4646-81BC-D2F16008674D"><config><identifier>com.cycling74.soundflower.SoundflowerbedREADME.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom>/Volumes/lime/code/Soundflower/SoundflowerBed/Soundflowerbed
README.rtf</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>parent</mod><mod>installTo.path</mod><mod>installTo</mod></config><contents><file-list>06soundflowerbed-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
+<pkgref spec="1.12"
uuid="7088D4DF-BE78-4646-81BC-D2F16008674D"><config><identifier>com.cycling74.soundflower.SoundflowerbedREADME.pkg</identifier><version>1.0</version><description></description><post-install
type="none"/><requireAuthorization/><installFrom relative="true"
mod="true">../SoundflowerBed/Soundflowerbed
README.rtf</installFrom><installTo
mod="true">/Applications/Soundflower</installTo><flags><followSymbolicLinks/></flags><packageStore
type="internal"></packageStore><mod>installTo.path</mod><mod>installFrom.isRelativeType</mod><mod>installFrom.path</mod><mod>parent</mod><mod>installTo</mod></config><contents><file-list>06soundflowerbed-contents.xml</file-list><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref>
=======================================
--- /trunk/Installer/Soundflower.pmdoc/index.xml Fri Mar 12 10:29:54 2010
+++ /trunk/Installer/Soundflower.pmdoc/index.xml Fri Mar 12 11:45:07 2010
@@ -1,1 +1,1 @@
-<pkmkdoc
spec="1.12"><properties><title>Soundflower</title><build>/Volumes/lime/code/Soundflower/Build/Soundflower-1.5.1/Soundflower.mpkg</build><organization>com.cycling74</organization><userSees
ui="both"/><min-target os="3"/><domain
system="true"/></properties><distribution><versions
min-spec="1.000000"/><scripts></scripts></distribution><description>Soundflower
inter-application audio driver.</description><contents><choice
title="Soundflower" id="choice0" starts_selected="true"
starts_enabled="true" starts_hidden="false"><pkgref
id="com.cycling74.soundflower.pkg"/></choice><choice title="Soundflowerbed"
id="choice25" starts_selected="true" starts_enabled="true"
starts_hidden="false"><pkgref
id="com.cycling74.soundflower.Soundflowerbed.pkg"/><pkgref
id="com.cycling74.soundflower.SoundflowerbedREADME.pkg"/></choice><choice
title="Supporting Materials" id="choice30" starts_selected="true"
starts_enabled="true" starts_hidden="true"><pkgref
id="com.cycling74.soundflower.ReadMe.pkg"/><pkgref
id="com.cycling74.soundflower.License.pkg"/><pkgref
id="com.cycling74.soundflower.UninstallSoundflower.pkg"/></choice></contents><resources
bg-scale="none" bg-align="bottomleft"><locale lang="en"><resource
relative="true" mod="true" type="background">bg.tiff</resource><resource
relative="true" mod="true"
type="license">../License.txt</resource><resource relative="true"
mod="true"
type="readme">ReadMe.rtf</resource></locale></resources><requirements><requirement
id="gest" operator="gt"
value="'4175'"><argument>sysv</argument><message-title>Operating System Too
Old</message-title><message>Mac OS 10.5 or higher is required to install
Soundflower.</message></requirement></requirements><flags/><preinstall><action
id="com.apple.packagemaker.actions.unloadkext"><value>/System/Library/Extensions/Soundflower.kext</value><type>absolute-path</type></action></preinstall><postinstall><action
id="com.apple.packagemaker.actions.loadkext"><value>/System/Library/Extensions/Soundflower.kext</value><type>absolute-path</type></action></postinstall><item
type="file">01soundflower.xml</item><item
type="file">02soundflowerbed.xml</item><item
type="file">03readme.xml</item><item type="file">04license.xml</item><item
type="file">05uninstall.xml</item><item
type="file">06soundflowerbed.xml</item><mod>preinstallActions.actions</mod><mod>postinstallActions.actions</mod><mod>properties.title</mod><mod>description</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
+<pkmkdoc
spec="1.12"><properties><title>Soundflower</title><build>/code/Soundflower/Installer/Soundflower/Soundflower.pkg</build><organization>com.cycling74</organization><userSees
ui="both"/><min-target os="3"/><domain
system="true"/></properties><distribution><versions
min-spec="1.000000"/><scripts></scripts></distribution><description>Soundflower
inter-application audio driver.</description><contents><choice
title="Soundflower" id="choice0" starts_selected="true"
starts_enabled="true" starts_hidden="false"><pkgref
id="com.cycling74.soundflower.pkg"/></choice><choice title="Soundflowerbed"
id="choice25" starts_selected="true" starts_enabled="true"
starts_hidden="false"><pkgref
id="com.cycling74.soundflower.Soundflowerbed.pkg"/><pkgref
id="com.cycling74.soundflower.SoundflowerbedREADME.pkg"/></choice><choice
title="Supporting Materials" id="choice30" starts_selected="true"
starts_enabled="true" starts_hidden="true"><pkgref
id="com.cycling74.soundflower.ReadMe.pkg"/><pkgref
id="com.cycling74.soundflower.License.pkg"/><pkgref
id="com.cycling74.soundflower.UninstallSoundflower.pkg"/></choice></contents><resources
bg-scale="none" bg-align="bottomleft"><locale lang="en"><resource
relative="true" mod="true" type="background">bg.tiff</resource><resource
relative="true" mod="true"
type="license">../License.txt</resource><resource relative="true"
mod="true"
type="readme">ReadMe.rtf</resource></locale></resources><requirements><requirement
id="gest" operator="gt"
value="'4175'"><argument>sysv</argument><message-title>Operating System Too
Old</message-title><message>Mac OS 10.5 or higher is required to install
Soundflower.</message></requirement></requirements><flags/><preinstall><action
id="com.apple.packagemaker.actions.unloadkext"><value>/System/Library/Extensions/Soundflower.kext</value><type>absolute-path</type></action></preinstall><postinstall><action
id="com.apple.packagemaker.actions.loadkext"><value>/System/Library/Extensions/Soundflower.kext</value><type>absolute-path</type></action></postinstall><item
type="file">01soundflower.xml</item><item
type="file">02soundflowerbed.xml</item><item
type="file">03readme.xml</item><item type="file">04license.xml</item><item
type="file">05uninstall.xml</item><item
type="file">06soundflowerbed.xml</item><mod>preinstallActions.actions</mod><mod>postinstallActions.actions</mod><mod>properties.title</mod><mod>description</mod><mod>properties.anywhereDomain</mod><mod>properties.systemDomain</mod></pkmkdoc>
=======================================
--- /trunk/Tools/installer.rb Fri Oct 17 14:31:58 2008
+++ /trunk/Tools/installer.rb Fri Mar 12 11:45:07 2010
@@ -17,10 +17,11 @@
Dir.chdir libdir # change to libdir so that requires work
@svn_root = ".."
-@temp = "#{@svn_root}/Installer/root"
-
@version = "9.9.9"
+Dir.chdir @svn_root
+@svn_root = Dir.pwd
+
###################################################################
# sub routines
@@ -92,29 +93,25 @@
create_logs()
@version = getversion()
+@build_folder = "#{@svn_root}/Build/Soundflower-#{@version}"
+
puts " Creating installer directory structure..."
-cmd("rm -rfv \"#{@svn_root}/Installer/Soundflower\"") #
remove an old temp dir if it exists
-cmd("mkdir -pv \"#{@svn_root}/Installer/Soundflower\"") # now
make a clean one, and build dir structure in it
-cmd("rm -rfv \"#{@temp}\"") #
remove an old temp dir if it exists
-cmd("mkdir -pv \"#{@temp}\"") # now
make a clean one, and build dir structure in it
-cmd("mkdir -pv \"#{@temp}/System/Library/Extensions\"")
-
-puts " Copying the installed kext..."
-cmd("cp -rpv \"/System/Library/Extensions/Soundflower.kext\"
\"#{@temp}/System/Library/Extensions\"")
-
-puts " Copying readme, license, etc...."
-cmd("cp \"#{@svn_root}/COPYING.txt\"
\"#{@svn_root}/Installer/Resources/License.txt\"")
-cmd("cp \"#{@svn_root}/COPYING.txt\"
\"#{@svn_root}/Installer/Soundflower/License.txt\"")
-cmd("cp \"#{@svn_root}/Installer/Resources/ReadMe.rtf\"
\"#{@svn_root}/Installer/Soundflower/ReadMe.rtf\"")
+cmd("rm -rfv \"#{@build_folder}\"") # remove an old
temp dir if it exists
+cmd("mkdir -pv \"#{@build_folder}\"") # now make a
clean one, and build dir structure in it
puts " Building Package -- this could take a while..."
cmd("rm -rfv \"#{@svn_root}/Installers/Soundflower.pkg\"")
-cmd("/Developer/usr/bin/packagemaker --verbose --root
\"#{@svn_root}/Installer/root\" --id com.cycling74.soundflower --out
\"#{@svn_root}/Installer/Soundflower/Soundflower.pkg\" --version
#{@version} --title Soundflower --resources
\"#{@svn_root}/Installer/Resources\" --target 10.4 --domain system
--root-volume-only")
-
+#cmd("/Developer/usr/bin/packagemaker --verbose --root
\"#{@svn_root}/Installer/root\" --id com.cycling74.soundflower --out
\"#{@svn_root}/Installer/Soundflower/Soundflower.pkg\" --version
#{@version} --title Soundflower --resources
\"#{@svn_root}/Installer/Resources\" --target 10.4 --domain system
--root-volume-only")
+cmd("/Developer/usr/bin/packagemaker --verbose --doc
\"#{@svn_root}/Installer/Soundflower.pmdoc\" --out
\"#{@build_folder}/Soundflower.pkg\" ")
+
+puts " Copying readme, license, etc...."
+cmd("cp \"#{@svn_root}/License.txt\" \"#{@build_folder}\"")
+cmd("cp \"#{@svn_root}/Installer/ReadMe.rtf\" \"#{@build_folder}\"")
+cmd("cp \"#{@svn_root}/Tools/Uninstall Soundflower.scpt\"
\"#{@build_folder}\"")
puts " Creating Disk Image..."
cmd("rm -rfv \"#{@svn_root}/Installer/Soundflower-#{@version}.dmg\"")
-cmd("hdiutil create -srcfolder \"#{@svn_root}/Installer/Soundflower\"
\"#{@svn_root}/Installer/Soundflower-#{@version}.dmg\"")
+cmd("hdiutil create -srcfolder \"#{@build_folder}\"
\"#{@svn_root}/Build/Soundflower-#{@version}.dmg\"")
puts " All done!"