Blog Archives

Platform Agnostic apps failing on a 64 bit machine.

  Ran into this issue yesterday, thought I will post it out here for anyone who runs into the same issue, since this is a very common issue with open source projects. After wiring up the bits from CruiseControl.Net 1.4.4

Posted in Programming Tagged with: , , , ,

MSBuild ItemGroup element issue

So you just moved from NAnt to MSBuild and put together the following MSBuild script to copy files (just like in my case) <Project xmlns=”http://schemas.microsoft.com/developer/msbuild/2003″> <PropertyGroup> <Configuration Condition=” ‘$(Configuration)’ == ” “>Debug</Configuration> <WSPDir>.\release</WSPDir> </PropertyGroup> <ItemGroup> <CompiledBinaries Include=”.\bin\debug\*.dll” /> <ProjectReferences Include=”$(WSPDir)\**\*.*proj”/>

Posted in Programming Tagged with:

Sharepoint Debugging with WSS V3

SharePoint debugging experience in WSS V3 can get annoying, when exceptions start looking like this generic message “An unexpected error has occurred” To enable stack trace similar to the ASP.NET error page, edit your web.config at C:\Inetpub\wwwroot\wss\VirtualDirectories and edit the

Posted in Programming Tagged with: ,

RIApalooza

  RIApalooza was a Chicago based event focused on exploring the development of Rich Internet Applications which was held at the Illinois Technology Association between May 30-31, 2008.   RIA in the recent history has changed the IT industry’s outlook

Posted in Programming Tagged with: , , ,

Disk Cost Issue with ReserveCost!

  This was an interestingly annoying issue I came across with Windows Installer, when you use the ReserveCost Element to specify the disk space by populating the disk cost for your components in the ReserveCost Table. Here is the scenario:

Posted in Programming, Windows Installer XML Tagged with: ,

CustomActionData in WiX with Deferred Custom Actions

Here is a major gotcha that you will encounter when you try to configure your product with deferred actions using configurable properties during the installation. Deferred actions do NOT have access to the MSI session objects which means that if

Posted in Programming, Windows Installer XML Tagged with: ,

How to print EULA from WiX

Again there is absolutely no documentation out there on this, WiX provides out of the box support for doing this though. Just define a custom action into wixca.dll with entry point PrintEula <CustomAction Id="PrintEula" BinaryKey="wixca" DllEntry="PrintEula" Return="ignore" Execute="immediate" /> And

Posted in Programming, Windows Installer XML Tagged with: , ,

How to customize the install directory dynamically in WiX?

This is one of those elusive topics whose answer is hard to find with googling around, but you will discover that it’s pretty easy, again if only you knew the magic words.   Define this in your Main.wxs: <Property Id="_BrowseProperty"

Posted in Programming, Windows Installer XML Tagged with: ,

WiX tools, Logging and Silent installation

Some useful WiX tools and Windows installer notes: WiXEdit WiXEdit is a decent WiX editor (open source). I used it extensively during the initial UI design, it works for most purposes but don’t expect it to be very intuitive like

Posted in Programming, Windows Installer XML Tagged with: ,

WiX and Databases

Since WiX is still fairly new and is an Open Source project, don’t be surprised if you hear a lot of noise about the little or no documentation available . In this and the coming few posts I am going

Posted in Programming, Windows Installer XML Tagged with: , , ,