how to make SIMBL base plugin Package file? - installation

I have created a SIMBL based plugin which runs on safari but i am not able to make package file of my plugin through package maker,
Following step i am doing.
1: in Package make set the my plugin bundle file path "library/Application Support/SIMBL/Plugins".
2: Finish the pkg.
Try to install pkg file and it installs success fully and place my plugin in the target location.
But when i open the Safari my plugin does not come.
And when i compile my code and run plugin comes on safari.
Please help how can i make the package file?
Thanks
Amit Gupta

Take a look at my package installer (a bundle that installs SIMBL and copies a Dictionary.app plugin into .../SIMBL/Plugins folder), that might solve you problem. The source is at https://github.com/pooriaazimi/BetterDictionary (Installer.pmdoc in the Installer folder).

Related

how can I install package from a downloaded zip

I am behind a firewall on MS Windows and setting the proxy in my init file did not work. I can download the zip archive from GitHub, but when the package has many .el files the install-from-file does not work. I tried saving the folder as .tar but it still did not work.
How can I install the downloaded folder? There is a Makefile in the folder, but I have no make or its alternatives on Windows and will not be allowed to install them.
Prior to the migration to GitHub I was able to download a single file from Melpa and that worked fine.
a workaround is to add the package folder to your load-path and then require the package.
This will not take care of any dependencies, so watch in *Warnings* and *Messages* buffers for any problems caused by unmet dependencies.
See the details here.

Ask the developer for Microsoft.NET.Native.Runtime.2.1 package

I am trying to install the .appxbundle file,but it is showing
App Installer failed to install package dependencies. Ask the developer for Microsoft.NET.Native.Runtime.2.1 package.
I downgrade Microsoft.NETCore.UniversalWindowsPlatform to 6.0.1 then it is asking for
Microsoft.NET.Native.Runtime.2.0 package.
If I updated to latest version 6.2.8 it is asking for
Microsoft.NET.Native.Runtime.2.2 package.
Please help me for fix this.
Derive from this case reply, your current os miss
Microsoft.NET.Native.Runtime.2.0 package dependency. you could get them in the AppPackages folder where store the sideload package.
In the AppPackages sub folder we could find Dependencies folder then chose you want platform folder. You will find Dependencies package like following screenshot.
You could install them manually.

Add NuGet package (ie. xunit.runner.console) at solution level

I need a NuGet (example xunit.runner.console) to run UT from command line.
Right now in one of project I have added xunit.runner.console as dependency so it is downloaded, path is known and I can use it in my build script.
This Project was removed and build-script is broken now. I will need to add it to another project, but the same situation can occur again (or other reasons).
I there a way to download this package but don't link it with concrete project?
You can install the nuget cli and then get the package needed using the build script. So, to answer your question, you can just use it in the build script and fetch the package before starting to build your project.

How to Force install location from OSX .pkg

I'm attempting to create a package installer for our product. Previously we installed with a .dmg, and the process was to just drag it to the /Applications folder. Now we want it to install to /Application/Company/Suite/product.
Problem is: If we use the .pkg installer on a system that previously had our product installed it creates the folders, but installs the product over the old location.
How can I make the pkg installer do the following:
Remove the old version
Install new version to proper location
I've had very little experience with OSX - so maybe I'm just missing something? Also looking in the applications folder - it doesn't appear that anything else is installed to a subdirectory, is it unusual to do things this way?
Thank you!
EDIT:
I'm looking into the answers located here OSX .pkg installer sometimes does not install .app file, differently worded problem - but the answer might be just what I need.
EDIT2: OSX .pkg installer sometimes does not install .app file Does not apply. We didn't install with any package manager - so there isn't a previous entry.
EDIT3: We were using dmg, but are now moving to pkg.
So I found the answer.
In order to have it install to a new location:
The plist inside the app package (product.app/Contents/Info.plist) has an identifier "CFBundleIdentifier", these needs to be different from the old application. For instance ours was "Company.Product-Name", I've changed it to "Company.Product.Name". This will allow the new installation to go to the new location.
In order to remove the old installation:
I simply added this line to the preinstall script:
"sudo rm -Rf '/Application/Product Name.app'"
Thank you for your assistance.

How to build firefox as installer

Now I'm trying to build firefox according to https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
So I can get firefox from mozilla-release\obj-i686-pc-mingw32\dist\bin folder.
I want to get setup.exe from this result.
How can I build firefox as installer type.
./mach build installer is both the official way to build a Firefox installer, and the way that worked for me.
Note: it will put the installer in mozilla-release\obj-i686-pc-mingw32\dist\install\sea\firefox-36.0a1.en-US.win32.installer.exe (where “36.0a1” is replaced whatever version you're compiling.
Note 2: You may need to add the line mk_add_options WIN32_REDIST_DIR="$VCINSTALLDIR\redist\x86\Microsoft.VC80.CRT" (or similar) to your .mozconfig to build a version that installs on non-developer’s computers. This part didn’t actually work for me. :(

Resources