Copying Files in a Plugin
Copying Files in a Plugin
- Subject: Copying Files in a Plugin
- From: Howard Shere <email@hidden>
- Date: Wed, 20 Aug 2008 12:36:56 -0500
I need to copy some files into the application bundle which will replace some files installed by my installer.
I wrote an installer plugin to do the work and the files are being put into the installer bundle on the server before the installer is downloaded by the customer.
When the customer runs the installer, it goes through the normal install process and then runs my installer plugin which is supposed to copy files over from the installer bundle to the application bundle.
I have tried Admin and Root access in the installer, but neither seems to make this work. I am told that my plugin cannot remove the existing file in the application bundle because I do not have permissions and I cannot replace it with the file I want from my installer bundle for the same reasons.
Does anyone have any suggestions? I know I can put my files somewhere else (like Application Support) but one file that can be replaced is the application icon and that needs to be replaced in the application bundle itself. The info.plist also needs to be changed to have some different keys in it. I would have the server replace the files inside the pax archives inside the installer bundle directly, but the server does not have the software to manipulate pax files and we don't have control over the server. |
_______________________________________________
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