I have to run an application when the installation is taking progress. But I get the error message that the permission is denied when it is executed during the installation like shown in the image below,
asked 03 May '13, 06:02
It is also possible that you are trying to directly execute an application bundle directly (the black boxes do not let me see the extension :)). In that case, you will either have to call its CFBundleExecutable (defined under application.app/Contents/Info.plist) as:
Or use the
The above will call it in the background. If you need to do it in the foreground, you will need the
answered 03 May '13, 06:34
You'll want to elevate your installer program's file access permissions.
The easiest way to to this is to add the
Then, upon launch of your installation program, the user is asked to enter their administrative credentials, and your installer program can perform administrative tasks (such as running scripts with administrative permissions).
answered 03 May '13, 06:14