सब कुछ 10.5 पर काम किया, लेकिन अब मेरी पैकेजमेकर स्थापना परियोजना टूट गई है। अब मैं कुछ दिनों के लिए एक समस्या से लड़ने के लिए किया गया है, और या तोक्या स्नो तेंदुए पर टूटी हुई प्रीइंस्टॉल स्क्रिप्ट के साथ पैकेजमेकर इंस्टॉलेशन हैं?
- Snow Leopard (ओएस एक्स 10.6.1) PackageMaker प्रतिष्ठानों टूट गया है
- मैं ज्ञान की एक बहुत, बहुत बुनियादी मुलायम भोजन की कमी कर रहा हूँ
समस्या को कम करने के लिए, मैं इस मुद्दे पर मिल गया है:
- एक नया PackageMaker स्थापना
- इसे स्थापित है बनाएं मेरे घर Directoy में एक jpeg छवि
- कि कुछ भी नहीं
#!/bin.sh exit 0
भागो ऊपर करता है एक preinstall
स्क्रिप्ट को परिभाषित करें ... और यह घड़ी काम की तरह नीचे त्रुटि संदेश के साथ विफल घड़ी
Sep 14 15:09:45 manoa installd[5620]: PackageKit: ----- Begin install -----
Sep 14 15:09:45 manoa installd[5620]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Sep 14 15:09:45 manoa installd[5620]: PackageKit: packages=(\n "PKLeopardPackage <file://localhost/Users/stu/Desktop/asdf.pkg>"\n)
Sep 14 15:09:46 manoa installd[5620]: PackageKit: Extracting /Users/stu/Desktop/asdf.pkg (destination=/var/folders/Hb/HbXJFyEpFaupt5QyLN-pTk+++TI/-Tmp-/PKInstallSandbox-tmp/Root/~, uid=501)
Sep 14 15:09:46 manoa installd[5620]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.cmlS2H/Scripts/test.test.5year_header.pkg.PFrHNB
Sep 14 15:09:46 manoa installd[5620]: PackageKit: *** launch path not accessible
Sep 14 15:09:46 manoa installd[5620]: PackageKit: Install Failed: PKG: pre-install scripts for "test.test.5year_header.pkg"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x100149430 "An error occurred while running scripts from the package “asdf”." {\n NSFilePath = "./preinstall";\n NSLocalizedDescription = "An error occurred while running scripts from the package \U201casdf\U201d.";\n NSURL = "file://localhost/Users/stu/Desktop/asdf.pkg";\n PKInstallPackageIdentifier = "test.test.5year_header.pkg";\n}
Sep 14 15:09:46 manoa Installer[5614]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x1195917c0 "An error occurred while running scripts from the package “asdf”."
Sep 14 15:09:46 manoa Installer[5614]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Sep 14 15:09:47 manoa Installer[5614]: IFDInstallController 144040 state = 7
Sep 14 15:09:47 manoa Installer[5614]: Displaying 'Install Failed' UI.
Sep 14 15:09:47 manoa Installer[5614]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
/private/tmp/PKInstallSandbox.cmlS2H/Scripts/test.test.5year_header.pkg.PFrHNB/
में कोई फ़ाइल नहीं है, जो मुझे लगता है कि समस्या पैकेजमेकर के साथ है, और मुझे नहीं। लेकिन मैं ओएस एक्स सॉफ्टवेयर स्थापना की दुनिया में नया हूं, इसलिए संदेह बने रहे।
तो, सवाल: PackageMaker ओएस एक्स 10.6 पर टूट एक preinstall स्क्रिप्ट के साथ है? या क्या प्रीइंस्टॉल स्क्रिप्ट से संबंधित कुछ आवश्यकता है जो मुझे समझ में नहीं आती है?
में इस समाधान ऐसा लगता है कि अपने कुटिया लाइन गलत है मिले। शायद यह "#!/Bin.sh" होना चाहिए –
ओह। यह अभी भी चलता है, लेकिन यह एक अच्छा पकड़ है ... इसे आजमाएगा। –