Hi all,COMSOL has a method of unattended installation which I figure may be possible directly in Munki, but I'm not sure how.
At present, I'm repackaging.The method:Download the latest version as an ISO from: Full DVD Download 4.1 GB (I think this requires a login first)Mount the ISOExtract "setupconfig.ini" and tweak settings.Run /Volumes/COMSOL44/setup -s /path/to/amended/setupconfig.iniCurrently I'm using The Luggage to repackage, with the above process in the postinstall script, and then munkimport the pkg. Is that the best way?Also, this method means that the "setup" process runs as root. The installation checks the license server, and fails if the current user is not in the license file.
This means that I would have to leave root as a licensed user for it to work in Munki, which in turn (I think) means that anyone who runs COMSOL as sudo would gain access to the license, whether they are really licensed or not. Is there a way of running a process as the current user, but with admin rights, within a package?
Cheers, Graham
On Aug 19, 2014, at 7:38 AM, Graham Pugh <g.r....@gmail.com> wrote:Hi all,COMSOL has a method of unattended installation which I figure may be possible directly in Munki, but I'm not sure how.What is it? If It's a script that can be run and does not present a UI or expect user interaction, most likely Munki can run it.
Also, this method means that the "setup" process runs as root. The installation checks the license server, and fails if the current user is not in the license file.That's silly. You need elevated permissions to install, yet not every user that runs software should be required to have elevated permissions. It should check when the software is _launched_, not when it is _installed_.
This means that I would have to leave root as a licensed user for it to work in Munki, which in turn (I think) means that anyone who runs COMSOL as sudo would gain access to the license, whether they are really licensed or not. Is there a way of running a process as the current user, but with admin rights, within a package?Not really. When Munki is installing something, there may be no GUI user at all, and therefore no "current user".
Munki can do only so much to address dumb vendor installers.
--
You received this message because you are subscribed to the Google Groups "munki-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.