packagemaker

PackageMaker Custom UI Dialog

橙三吉。 提交于 2020-01-25 12:48:20
问题 I'm using PackageMaker to build an installer package for my OS X application. I need to customize the dialog that the user sees when installation fails (return non-zero value from post install script). The Edit Interface dialog in PackageMaker does not list the error dialog. Is there a way to manually modify the PackageMaker project to customize this dialog? 回答1: PackageMaker donot give functionality to change the UI. You can only change the message that U want to show to the client. Almost

How can I build a Mac package on linux? (BOM file problem)

让人想犯罪 __ 提交于 2020-01-11 08:25:29
问题 I'm running a business where we are creating email stationeries for people. We have some Mac users that currently have to download a zip file and manually copy that to their mail stationeries directory. I want to automate that process and allow Mac users to download directly a package that will copy those files automatically. I've build a sample package with PackageMaker, created script that will replace Archive.pax.gz with client's stationeries but go an error. I have realized I did not

How can I build a Mac package on linux? (BOM file problem)

杀马特。学长 韩版系。学妹 提交于 2020-01-11 08:25:05
问题 I'm running a business where we are creating email stationeries for people. We have some Mac users that currently have to download a zip file and manually copy that to their mail stationeries directory. I want to automate that process and allow Mac users to download directly a package that will copy those files automatically. I've build a sample package with PackageMaker, created script that will replace Archive.pax.gz with client's stationeries but go an error. I have realized I did not

delete packages of domain by adb shell pm

丶灬走出姿态 提交于 2019-12-30 11:16:06
问题 There is a command to ease the pain of managing packages for Android phone, adb shell pm uninstall org.kde.necessitas.example.one adb shell pm uninstall org.kde.necessitas.example.two But I have many phones and just want to delete all packages from a particular domain on them. It cannot be done by adb shell pm uninstall org.kde.necessitas.example.* what is your suggestion? 回答1: You can use the following in a batch file: (I am assuming Windows though) adb shell pm list packages org.kde

Is PackageMaker considered the standard for Mac OS X software installation? Or is there something else out there?

别来无恙 提交于 2019-12-22 11:59:12
问题 I've put together my very first package with PackageMaker (for a system service), but I am not happy about several faults: Frequent crashes while applying target permissions to my source files Package source files are not automatically or easily refreshed File filter does not work Is there something else out there more capable of this task? Free is not a requirement. 回答1: Yes it is, and yes it's buggy. Apple uses the command line version pretty much exclusively so the GUI tends to have the

Using PackageMaker to run a script on install

旧街凉风 提交于 2019-12-18 11:47:51
问题 I have an app I need to create an installer for, and all the installer needs to do (besides copying the app) is run a script (or executable) that is not part of the app itself. Any help on how I can do this? I see in the Requirements tab there is a Results of Script action, and there is also the Preinstall Actions in the Actions tab which has an Open File action. Will either of these do the job or should I be looking elsewhere? 回答1: Here is a good How-to There are 7 types of scripts than can

Why does this preinstall script just partly run?

牧云@^-^@ 提交于 2019-12-13 04:52:13
问题 I use PackageMaker to create an installation package. The following is my preinstall script to be called by Installer : #!/bin/sh /usr/bin/osascript <<EOF tell application "System Events" if exists (application process "Dictionary") then tell application "Dictionary" to quit end if end tell set theFolder to (path to library folder as text) & "Dictionaries:" set fileNames to {"dict1.dictionary", "dict2.dictionary", "dict3.dictionary", "dict_n.dictionary"} set dict to {} repeat with aFile in

PackageMaker “Result of Script” requirement never passes

时光怂恿深爱的人放手 提交于 2019-12-12 09:54:39
问题 I am trying to use the "Result of Script" Requirement to check if a particular process is running, so that I can message the user before installation begins. My script is a shell script that returns 1 for failure and 0 for success. The problem I'm having is that, regardless of my return value, the installer flow is interpreting it as failure. I am not using an incredibly simple script: #!/bin/bash echo "script starting">> /tmp/myfile true (the echo is to assure myself that the script is, in

Create PackageMaker project file on the command line

左心房为你撑大大i 提交于 2019-12-12 04:04:26
问题 Is there any way of creating a pmdoc (PackageMaker) project from the command line? I am trying to automate the process of creating the installer and would like to script tasks like: Adding another application Updating the installer project when the apps it contains change. My question is: Is there a command line tool I can use to construct a packagemaker project on the command line? For example: packagemaker will build an installer from a .pmdoc folder structure. What can I use to create the

How to pass data to a file while Package installation on mac

自古美人都是妖i 提交于 2019-12-11 13:19:07
问题 I am making an app in python. Using python 2.7 on mac osx 10.8.5. I converted python code into an app using py2app. Then I converted myapp.app into package myapp.pkg using Packages. I am using a configuration file which I kept in Contents-->Resources-->config.cfg. config.cfg file contains data which is necessary for running of app. My issue is how to pass serverIP and serverPort to config.cfg file while installing myapp through myapp.pkg i.e. through Packages . My config.cfg file is like key