A place to invest time in technology.

MongoDB startup

C:\node\nodetest1>mongod --dbpath C:\node\nodetest1\data\

WIX MSI WXS to install to different drive letters depending on target computer

Using 3.5 I have been able to setup an MSI that will install on E: if available, otherwise install on C:. Instead of using VBS or a C# custom action, I simply add three lines to the WIX.

<Property Id="ROOTDRIVE" Value="C:\">
<DirectorySearch Id="Root_search" Path="E:\" Depth="1"/>
</Property>

ROOTDRIVE is one of those special, poorly documented WIX properties. Once you know it exists, it's function is pretty obvious. It sets the root drive of the install.

You don't need to change the installation order or create a custom action of any kind.

It is pretty simple and I wanted to share it!

Salesforce Development training

http://wiki.developerforce.com/page/Force.com_workbook

This is an index of available Salesforce developer resources.

Salesforce Development training

http://wiki.developerforce.com/page/Force.com_workbook

This is an index of available Salesforce developer resources.

ManagedQuery is deprecated

http://is.gd/d5sXxx shows some possible answers.

I will update this once I get to it.

Useful Unix reference

A how-to on dealing with file names with spaces and other non-trival file names:
http://www.dwheeler.com/essays/filenames-in-shell.html

Built-in commands reference:
http://linux.about.com/library/cmd/blcmdl1_shopt.htm

A good blog on Visual Studio

http://www.develop-one.net/blog/default.aspx is an interesting blog. I first posted the "hug a developer" video, but now I want to share the rest

Fixing Ubuntu install from 10.04 -> 10.10 -> 11.0

If faced with a grub prompt, I did these commands to fix it:

set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot

after reboot:

sudo grub-install /dev/sda
sudo update-grub

Found in a comment here: http://aaron-kelley.net/blog/2011/04/grub-prompt-after-upgrade-to-ubuntu...

Syndicate content