Manually Install/Add Extension to Chrome on Mac OS X - macos

I am developing an installer for Mac using Install4j, where in i need to install a Chrome Extension (.crx file) from the installer. I have tried placing the crx file inside
~USERNAME/Library/Application Support/Google/Chrome/External
and
/Library/Application Support/Google/Chrome/External Extensions/
but non of that worked. I have referenced to this stackoverflow question : How do I manually install extensions on Chrome for OS X?

My Bad, the Deployment options link in the reference url solved the problem for me.

Related

Qt installation on mac OSX gives error Cannot open script file

When I run the Qt5 installer on Mac I get
Cannot open script file at
/var/folders/yr/459cs03n63g185cf1bp_3xvc0000gn/T/remoterepo-6sdgWK/qt.596.qtdatavis3d.android_armv7/installscript.qs:
No such file or directory
Why it cannot open this installscript.qs file?
I'm running macos Sierra
So I want to share my solution: just restart the installer.
Another way to fix most Qt installer problems is to open https://download.qt.io/ and download the complete .dmg installer (from this folder https://download.qt.io/official_releases/qt/)
I had this problem I think because I kept the installation idle for long time trying to solve another problem: the installer couldn't find XCode even if I had it already installed, like in this question
Attempt to install Qt on OS X gives 'You need to install XCode 5.0.0', but this version is so old it's not available

GoogleAppEngine Python installation can't find .dmg file

I downloaded the Google App Engine SDK for Python from here, extracted the zip file, but there's no dmg file that allows me to install it. Here's what the ReadMe says:
INSTALLING ON Mac OSX
=====================
1) Download and install Python 2.7 from http://www.python.org/download/
2) Download the SDK installer from
https://developers.google.com/appengine/downloads
3) Install the SDK by double-clicking on the GoogleAppEngine.dmg file and
running the installer.
I checked every folder but there is no such file! Maybe the ReadMe is obsolete. Please help..
Never mind. I didn't click the button--thought it was just a check image.

How do I build the Mono MDK on mac OS X?

I'm using Xamarin studio to write some C# code on OS X, but I upgraded my computer to OS X 10.11 (El Capitan) developer preview 3, which breaks mono
As per some of the instructions in those threads, I've compiled mono from source, and it appears to work (I can run mono on the command line, etc), however Xamarin studio does not launch because I don't have Mono.framework in my /Library/Frameworks path. I foolishly uninstalled and tried (and failed) when I first discovered Xamarin not working.
I've looked all over, and I've found plenty of instructions for how to compile Mono itself (done) but nothing which tells me how to build and install Mono.framework
I've also tried installing the Mono MDK from the package, then overwriting it's binaries with my custom built ones, but when I do this Xamarin studio fails to launch telling me I don't have the Mono MDK installed.
Can anyone help me out? Thanks
Unfortunately it doesn't appear there is a repo available to build/compile the framework from source. The current Mono MDK package located here only contains the Mono.framework along with the supporting install/uninstall scripts, etc.; current version:
MonoFramework-MDK-4.0.2.5.macos10.xamarin.x86.pkg
The Mono.framework should install to /Library/Frameworks.
If that is indeed the one you've downloaded and installed I would then verify that it has copied the Mono.framework bundle (571.6 MB) into the frameworks directory, open up Console.app then launch Xamarin. If Xamarin doesn't launch again then I would recommend posting the error message here and proceed from there.
Another option is extract the Mono.framework out of the .pkg and manually install it.
You might already have found a solution, but in case somebody else finds this thread; Mono has made a preview version that supports El Capitan:
http://www.mono-project.com/download/

Installing add-on in Firefox 22+ globally on OS X

How do I install an add-on globally in Firefox 22+ on Mac OSX? There have been so many changes to the add-on API and directory structures in the past year nothing I have found seems to work.
Have you tried this approach?
To install an extension to be used by all users on Mac OS X, copy it to:
/Library/Application Support//Extensions//
For example, if you've created a standalone application for Mac OS X that includes a plugin for Firefox, your installer would extract its extensions files to the following folder:
/Library/Application
Support/Mozilla/Extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{dba45d40-f69e-11dc-95ff-0800200c9a66}
Where {ec8030f7-c20a-464f-9b0e-13a3a9e97384} is Firefox's application ID,
and {dba45d40-f69e-11dc-95ff-0800200c9a66} is the extension's ID.
Source : Installing extensions

Where to get macos SDK 10.6 for Xcode?

I am having Xcode 4.4 on OS X Lion. I'd like to install the Mac 10.6 SDK - also known as macosx10.7 SDK - because I need to compile openFrameworks.
I found that I need to download additional tools from this site. However I didn't find any 10.6 SDK there. I also tried looking in Xcode Preferences -> Downloads -> Components, but there is no way.
I am wondering how can I install previous SDKs for Xcode?
Unfortunately, Apple tends to make this much harder than you'd like. You can't download SDKs by themselves. They come as part of specific versions of Xcode. So you have to download the right version of Xcode. Search for "10.6", and you'll see that you want Xcode 4.1.
Once you download that, you can install it (that version will go into /Developer, so it won't break your /Applications version), or you can open up the package and find the SDKs in it. If you don't know how to crack open these packages, just install it.
Once you do that, search for "MacOSX10.6.sdk". I forget exactly where it is in that particular version.
What I do at that point is copy the sdk into a /SDKs directory. That way I always have them all.
Now, you need to add it to your current version of Xcode. You can do that by making symlinks in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs. If you like, you can use my tiny link-sdks script for that.
UPDATE: In modern versions of Xcode (7.3+) to use older SDKs edit MinimumSDKVersion here:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist
All legacy MacOS SDKs can be found on GitHub -
https://github.com/phracker/MacOSX-SDKs
If you search the openFrameworks forums, there are a few posts where people are providing download links from their public Dropbox folders, for example.
Somewhat off topic, but I hit a very similar problem trying to install Erlang using kerl.
Everything worked for me until the "kerl build ..." step. The build log showed the following error:
odbcserver.c:117:10: fatal error: 'sql.h' file not found #include "sql.h"
The problem is that the ODBC is no longer part of the Mavericks installation(i.e., MacOS 10.6 SDK isn't installed). Piecing together advice from a variety of sites, none of which worked by themselves, the following set of steps fixed the issue:
brew install unixodbc - installs the missing ODBC libraries and include files (e.g., sql.h).
Set CFLAGS to point to the include directory for the unixodbc installation as part of the kerl build command (e.g.,):
CFLAGS="-I/usr/local/Cellar/unixodbc/2.3.2/include" ./kerl build R15B R15B
This points the build to the ODBC include files.
My environment is Mavericks, the xcode command line tools, and xcode v5.1.1.
Some SDK(with Xcode) you can download from direct links. List here:
http://iphonesdkdev.blogspot.ru/2010/04/old-versions-of-iphone-sdk.html
Some don't work, but something you can still download. For example:
http://adcdownload.apple.com/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg

Resources