Comments (11)
From [email protected] on July 21, 2010 14:37:25
I've been thinking about something similar, but more generic, where you could define the (relative) path from the DMG and the destination path on the startup disk.
An example:
source_path
SomeDumbPhotoshopPlugin.plugin
destination_path
Applications/Photoshop CS4/Plug-ins/File Formats
and assuming the same plugin works with Photoshop CS5, you could create a second pkginfo item using the same disk image, but with a different destination_path:
destination_path
Applications/Photoshop CS5/Plug-ins/File Formats
Status: Accepted
Labels: -Type-Defect Type-Enhancement
from munki.
From [email protected] on July 21, 2010 14:40:03
Yes, this source_path and destination_path is more like it.
from munki.
From [email protected] on July 21, 2010 14:41:52
Ummm, as I am new to using this GoogleCode, how do I set up the issue type, I do not see any place where to define if it is Defect, Enhancement or some other...?
from munki.
From [email protected] on July 21, 2010 14:47:49
Probably with this new kind of approach you could also consider including support for set permissions array per item? A there may still be some stupid items/plugins which require that some specific admin user has read+write permissions on that item...
from munki.
From [email protected] on July 21, 2010 14:52:06
"Ummm, as I am new to using this GoogleCode, how do I set up the issue type, I do not see any place where to define if it is Defect, Enhancement or some other..."
In the Labels, click the one where "Type-Defect" is pre-entered, and change it to "Type-Enhancement". Feel free to set your idea of the Priority as well.
from munki.
From [email protected] on July 21, 2010 14:53:27
"Probably with this new kind of approach you could also consider including support for set permissions array per item? A there may still be some stupid items/plugins which require that some specific admin user has read+write permissions on that item..."
No, if you need that, repackage.
from munki.
From [email protected] on July 23, 2010 15:00:58
I've been looking at how hard it would be to support copying multiple items from a disk image. As I expected, the data format isn't difficult. It would look something like:
{{{
items_to_copy
source_item
Google Earth.app
destination_path
/Applications
user
root
group
admin
mode
ug-w
source_item
Google Earth Web Plug-in.plugin
destination_path
/Library/Internet Plug-ins
user
root
group
admin
mode
ug-w
}}}
But making a usable interface to makepkginfo to help create pkginfo files with a list like this seems hard. Is it worth doing, or should we limit ourselves to copying a single item from a disk image, and use multiple pkginfo items if we want to copy multiple items?
from munki.
From [email protected] on July 23, 2010 23:33:14
I am used to check manually through all newly-generated pkginfo-files and in many cases I have to do some manual editing on them.
And I am always generating pkginfo-files with .plist suffix so I can more easily access them manually with Property List Editor or TextWrangler.
For me it is not an issue if I have to copy and paste some array items from another pkginfo-file to another.
Although it is not always easy to check a plist manually if you have made an error while editing but usually takes just a couple of minutes to fix it.
And you can always use a previous pkginfo version of the similar pkginfo as a base for the new version.
Usually I create a new pkginfo file from a new version of pkg/app and compare the changes between old and new version.
So I would vote for building that items_to_copy-functionality with multiple items support within one pkginfo-file and leave that development of makepkginfo for a later date.
from munki.
From [email protected] on August 02, 2010 11:51:53
This has been released with munki tools 0.6.0.633.0. The new install type is called "copy_from_dmg". makepkginfo supports a single item to be copied, but the plist format supports an arbitrary number of items to be copied.
Status: Fixed
from munki.
From [email protected] on August 02, 2010 15:18:57
Initially tested copy_from_dmg with munki tools 0.6.0.640.0.
Works with .app, files and folders copied to /Applications and some other specific locations.
And those special file permissions work also if defined correctly in pkginfo.
If copying plain folders/files without any .app in .dmg one have to create pkginfo file manually (or use an existing pkginfo as a template).
And installs-definitions are crucial with this kind of install method as munki has to know where those "special" items were put so it can remove them later if needed.
Thanks, is there any way I could donate to you or someone else?
from munki.
From [email protected] on August 02, 2010 16:09:35
"If copying plain folders/files without any .app in .dmg one have to create pkginfo file manually (or use an existing pkginfo as a template)."
You should be able to use makepkginfo with the --item and --destinationpath flags in this case.
from munki.
Related Issues (20)
- Logic error when processing requires items that fail to download HOT 2
- Minor MSC UI issue - Removing app progress HOT 4
- Option to check for items to install only, 'dry run' HOT 1
- MSC 6.2.1.4599 crashes on macOS 10.13 HOT 18
- munkiimport and munkilib/pkgutils.py crash with packages containing .dist file HOT 13
- Preinstall_alerts not being shown for updated software HOT 3
- Placment of the back button in Managed Software Centre HOT 9
- [Feature Request] - Add a Pkginfo Key to skip update check HOT 2
- security issue: Writing sensitive information into log file HOT 3
- Option to ignore unmanaged preferences HOT 4
- Question: Does munki have a client CLI tool for software installation and update HOT 1
- installable_condition crashes client HOT 10
- Application failing to install HOT 1
- Update Python to Version 3.12 HOT 19
- Improve logging for "could not find unique packages to remove for item_name" warnings HOT 7
- TLS Certificat fΓΌr https://munkibuilds.org/ is not correct HOT 5
- When importing bundle packages in macOS 14.4 RestartAction is set incorrectly HOT 3
- GarageBand Loops Wiki needs updating HOT 5
- BUG: Application info removed from info object during updatecheck and breaks conditions that require said info HOT 2
- catalogs data not being collected in ManagedInstallsInfo after 6.5.1.4661 update HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from munki.