Re: Packages - deleting older files on newer installation
Re: Packages - deleting older files on newer installation
- Subject: Re: Packages - deleting older files on newer installation
- From: Mike Pullen <email@hidden>
- Date: Thu, 30 Mar 2017 15:22:49 -0500
Stephen,
I don't think it's necessary, or even a good idea, to do things in "public" places like /Applications as any given user. As long as the installer requires admin permissions to install, the script should run with admin permissions and should be able to remove those files. So, there shouldn't be any need to masquerade as a console user for this-- if there is a console user at the moment.
I'll harp again: Are you absolutely certain that your app will never be installed when noone is logged in (like, pushed by ARD or a software deployment mechanism when the machine is at the login screen, or shutting down)?
(I don't wanna be a broken record-- I just hate to see anyone invest time on an installer that would break any of the "
Commandments of Mac Packaging"! There is
no downside to embracing those commandments with
every installer... : )
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden