pkg-file

Does an universal cross-platform installer exists?

假装没事ソ 提交于 2020-01-18 05:44:09
问题 I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any popular operating system? We have .pkg and .dmg files for mac, .msi and plain .exe installers for windows, .deb packages for linux (in case of debian), but we haven't universal for each platform (like .uoi (Universal Open Installer), lol). One might

How to unpack pkg file from OSX 10.10 and higher

僤鯓⒐⒋嵵緔 提交于 2019-12-13 16:12:24
问题 I tried to extract Essentials.pkg from OS X 10.10 following by solution from this answer. But have no success. I get error gunzip: unknown compression format if i try to extract with cmd: cat Payload | gunzip -dc |cpio -i I get error: tar: Unrecognized archive format if i try to extract with cmd: tar xzvf Payload Could anyone suggest any solution? 来源: https://stackoverflow.com/questions/34989912/how-to-unpack-pkg-file-from-osx-10-10-and-higher

OSX pkg uninstaller - is it possible to change the “Install” text in the title bar?

我只是一个虾纸丫 提交于 2019-12-11 06:21:21
问题 I created a separated uninstaller to: stop service rm plist file rm datadir ... Problem: in the title bar, it's "Install ..." and the welcome title is "Welcome to ... installer". Is it possible to change the title bar to "Uninstall ..." and the welcome title to "Welcome to ... uninstaller"? 来源: https://stackoverflow.com/questions/49643409/osx-pkg-uninstaller-is-it-possible-to-change-the-install-text-in-the-title-b

How to pass arguments to package installer from mac terminal

南楼画角 提交于 2019-12-07 02:25:50
问题 I want to do my installation of pkg file as silent install from mac terminal. So i used the below command to do silent install. sudo installer -store -pkg "/User/MyName/Desktop/helloWorld.pkg" -target / It perfectly installed my application. But i want to pass arguments from this command line script to package installer that was created in package maker. So that i can able to use this argument value in post/pre installation script inside the package installer. Is there any possibility to pass

How to pass arguments to package installer from mac terminal

这一生的挚爱 提交于 2019-12-05 07:51:19
I want to do my installation of pkg file as silent install from mac terminal. So i used the below command to do silent install. sudo installer -store -pkg "/User/MyName/Desktop/helloWorld.pkg" -target / It perfectly installed my application. But i want to pass arguments from this command line script to package installer that was created in package maker. So that i can able to use this argument value in post/pre installation script inside the package installer. Is there any possibility to pass my value as argument in the above command? This is not possible from the command since the " installer

How to unpack and pack pkg file?

╄→尐↘猪︶ㄣ 提交于 2019-11-27 05:51:06
I have a pkg file created by Install Maker for Mac. I want to replace one file in pkg. But I must do this under Linux system, because this is a part of download process. When user starts to download file server must replace one file in pkg. I have a solution how unpack pkg and replace a file but I dont know how pack again to pkg. http://emresaglam.com/blog/1035 http://ilostmynotes.blogspot.com/2012/06/mac-os-x-pkg-bom-files-package.html Packages are just .xar archives with a different extension and a specified file hierarchy. Unfortunately, part of that file hierarchy is a cpio.gz archive of

How do I uninstall nodejs installed from pkg (Mac OS X)?

雨燕双飞 提交于 2019-11-27 02:22:22
I installed NodeJS from pkg file on my Mac. Now I need to uninstall it. Tell me please how to do it. I tried to remove files from this list: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom But node is still on my computer. I ran: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \ | while read i; do sudo rm /usr/local/${i} done sudo rm -rf /usr/local/lib/node \ /usr/local/lib/node_modules \ /var/db/receipts/org.nodejs.* Coded into gist 2697848 Update It seems the receipts .bom file name may have changed so you may need to replace org.nodejs.pkg.bom with org.nodejs.node.pkg.bom in

Does an universal cross-platform installer exists?

两盒软妹~` 提交于 2019-11-26 23:12:57
I wonder is someone tried to create either kinda open standard for cross-platform installer for an application or the installer implementation? That means you can simply download single file from the website, and it's extension recognizable by any popular operating system? We have .pkg and .dmg files for mac, .msi and plain .exe installers for windows, .deb packages for linux (in case of debian), but we haven't universal for each platform (like .uoi (Universal Open Installer), lol). One might think that this approach is impossible because every OS has it's own structure and files organization,

How do I uninstall nodejs installed from pkg (Mac OS X)?

情到浓时终转凉″ 提交于 2019-11-26 12:34:23
问题 I installed NodeJS from pkg file on my Mac. Now I need to uninstall it. Tell me please how to do it. I tried to remove files from this list: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom But node is still on my computer. 回答1: I ran: lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \ | while read i; do sudo rm /usr/local/${i} done sudo rm -rf /usr/local/lib/node \ /usr/local/lib/node_modules \ /var/db/receipts/org.nodejs.* Coded into gist 2697848 Update It seems the receipts

How to unpack and pack pkg file?

ε祈祈猫儿з 提交于 2019-11-26 11:45:53
问题 I have a pkg file created by Install Maker for Mac. I want to replace one file in pkg. But I must do this under Linux system, because this is a part of download process. When user starts to download file server must replace one file in pkg. I have a solution how unpack pkg and replace a file but I dont know how pack again to pkg. http://emresaglam.com/blog/1035 http://ilostmynotes.blogspot.com/2012/06/mac-os-x-pkg-bom-files-package.html 回答1: Packages are just .xar archives with a different