question about PackageMaker and scripting - macos

I am using PackageMaker to create our installer. I want the installer to execute a script that is in:
${INSTALL_DIR}/${APP_NAME}/resources/script
I guess I don't really get how the 'scripts' work in PackageMaker and Apple's documentation doesn't help much there either.
Can someone please help?
Oren

problem with my script was that it didn't have !#/bin/shat the beginning

Related

Execute a command in the terminal from Netlogo

I hope you can help me with this.
I'm new to Netlogo and I would like to execute a command line from Netlogo. I've been looking but I haven't find yet how to do it. Does anyone know a way?
Thank you a lot in advance.
Best,
Miquel
Use NetLogo's shell extension for this:
https://github.com/NetLogo/Shell-Extension

Installing libqxt VS2010

Sorry if I'm a bit of a noob when it comes to this sort of stuff, but thanks anyway.
Basically I've managed to install QT4.7 properly and it works and compiles stuff. (I'm using it conjunction with vs2010). However, I wanted to try something that requires libqxt. Unfortunately this seems to be the only installation guide out there. And I'm really not getting it. It mentions this little bit:
"configuration
Make sure qmake is in your PATH and run"
I think this is where I'm getting tripped up. Is this the qmake the same one I used for QT4.7? (If this is the case I shouldn't have to change anything right? It ought to look like this: "c:\Qt\4.7\bin". Which is added by going to >
Control Panel|System|Advanced|Environment variables menu. And which is already there from installing qt4.7)
Or is there a new qmake for libqxt somewhere? Am I understanding the term PATH incorrectly?
In any case right now clicking on configure.bat just echoes back "searching" and then closes before I can read what else it says. Would I be better off just opening a cmd prompt and cd'ing to the libqxt directory and running the configure file from there?
If anyone knows of an alternate install libqxt tutorial somewhere that'd probably helpful to me as well. Thanks to anyone who can take a minute to point me in the right direction.

Google-like online installer and updater using NSIS

I would like create Google-like online installer and updater using NSIS.
What plugins should I use?
And maybe somebody can recommend any existing solutions or examples?
You can use the Inetc plug-in to download files, it can also perform HEAD requests if you want to perform the version check on the server. Everything else really depends on your specific setup but creating multi-stage online installers/updaters is not easy; see this answer for a list of things you need to think about/figure out...

how to create a dylib on mac

I created a dll in Windows. Now i wanted to created something similar on mac/iPhone. I figured out, we can bundle a dylib with the app and that will be the best way to do it.
Firstly, is this the right approach?
Secondly, I'm trying to figure out how to create a dylib and use it in my app/xproj. Could someone please point me to any tutorial or if this query is already answered, please point me to it.
Thank you,
Vinu.

Hello world example for circos?

Can somebody provide me with a "hello world" example for circos? (www.circos.ca)
I know there are tons of tutorials provided with the zipped distribution, yet the way I learn is to take the very minimum config and then build from that - and I could not find that.
So, anyone to help me please?
The developer of circos answered my question on another forum:
https://groups.google.com/forum/?fromgroups#!topic/circos-data-visualization/FGWmZqNexoM
Yeah, Martin (circos's author) is very nice in circos's google group ( http://groups.google.com/group/circos-data-visualization ).
BTW, your problem is very simple :) Just follow this after you download and install circos :
cd your-circos-root-dir
bin/circos -conf example/circos.conf
Maybe you will meet some common errors like perl modules installation error when install circos, just follow here: http://circos.ca/documentation/tutorials/configuration/

Resources