About Dovetail

Read more about Dovetail Software and our HR applications that will transform your Employee and HR Experience
Overview
Request Demo

Our Story

With over 20 years of
CRM & HR experience...
Read on >

Our People

The Dovetail culture code
is our key to success
Discover >

Partners

Working with the best
partners around the globe
Learn more >

Careers

Fancy a career with Dovetail?
If you are a rockstar...
Join us >
Dovetail Flair

Why Us?

The easiest to use HR Case Management & Employee Portal solution for your business
Benefits of Dovetail HR Service Delivery

Our Difference

The Dovetail difference
is what sets us apart
Read on >

Our Customers

Learn more about our customers
and why they chose Dovetail
Discover >

Implementation & Support

Hear how we delight our
customers right from the start
Learn more >

Our Innovation

The Dovetail innovation team
is at the forefront of technology
Explore >
Dovetail Flair

Our Solutions

We create HR Case Management Solutions that are tailored to your needs

HR Transformation

You're embarking on
your HR Transformation
journey, see how Dovetail..
Read on >

HR Shared Services

Find out more about
our Workday Select
Partner Certification
Learn more >

Employee Relations

Learn how Dovetail helps
you track your employee
relations cases
Find out more >

Workday Customers

Find out more about
our Workday Select
Partner Certification
Learn more >

HRIS

Manage and track
technical questions
from your HR team
Discover >

Clarify Customers

Breathe new life into your
Amdocs Clarify system with
our technology and services
Find out more >

Learn

Discover new insights and thought leadership content to help you continuously improve your HR Service Delivery

Blog

Stay updated on HR
Shared Services with insights
from the Dovetail community
Join the conversation >

Events & Live Shows

Meet the Dovetail team at
leading industry events
and live shows
Meet us >
Dovetail HR Dog
Dovetail Flair

Dovetail for Clarify

2 min read

Refreshing Component Guids in your Wix XML

By Kevin Miller on Jul 14, 2010 6:51:51 PM

Right now I am working once again with Wix which can be quite shall we put it nicely: freaking traumatic. I promise this post will not entirely be me moaning about Windows Installer crap-titude. Rather, this post may actually help you out of a weird jam some day.

Continue Reading
2 min read

Adding a Custom Dialog To Your Wix Installer

By Kevin Miller on Nov 4, 2009 10:44:02 PM

installer ninja

Continue Reading
3 min read

Creating Windows Installers: Web Applications and Virtual Directories

By Kevin Miller on Dec 11, 2007 9:58:04 PM

So far on our journey into building windows installers we have gone from just getting started to generating Wix content for all the files in your application. There is an important little something something missing from our toy installer. Pleats (fake product of Pants Enterprises) is supposed to be a web application that runs on IIS. It would be great to add support in the installer to create a virtual directory for the web application. With Wix this is quite easy. Here we go.

A virtual directory for your web application

 

I like to compartmentalize my units of install where practical. Because having the installer integrate with IIS and create a virtual directory is completely different than copying files I feel that this piece of the install belongs in its own component.

 

    
  
  
  
  
      
   
   
   
   
Id="pleatsVirtualDirectory" Directory="INSTALLDIR"
Alias="Pleats" WebSite="DefaultWebSite">


 

The XML above is declaring that a virtual directory called Pleats enabled as a web application should be created under the Default Web Site. The Default Web Site in this case is a reference to a <WebSite> element we will add elsewhere. The <WebVirtualDir> needs to have a <WebApplication> when you are deploying classic ASP or ASP.Net web applications.

 

...




...

 

Above we define the web site that is being referenced by our IIS integration.

Oops need to link to the server custom action library

 

If you add these two blocks of XML to your .wxs file and try to build the installer using the NAnt build automation I created in my previous posts you will get a linker error because we are now using Wix schema elements that are dependant on the Server Custom Action library.

 

(project root)>.\tools\nant\nant build-installer

 

NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

 

build-installer:

 

[exec] Microsoft (R) Windows Installer Xml Compiler version 2.0.5325.0
[exec] Copyright (C) Microsoft Corporation 2003. All rights reserved.
[exec] pleats.wxs
[exec] Microsoft (R) Windows Installer Xml Linker version 2.0.5325.0
[exec] Copyright (C) Microsoft Corporation 2003. All rights reserved.
[exec] C:\projects\pleats\wix\pleats.wxs : error LGHT0112 : Unresolved reference to symbol 'CustomAction:ConfigureIIs' in section 'Product:A263E591-B290-4DB2-BF08-0C6FF24959A3'.

 

 

To fix this problem you just need to update the linker execution (light.exe) with a reference to the sca.wixlib here is the updated NAnt target for building the installer.

 

    
  
  
  
   
      
   
   
   
   






workingdir=".\wix"
commandline="pleats.wxs " />
workingdir=".\wix"
commandline="pleats.wixobj ${wix.dir}\wixui.wixlib ${wix.dir}\sca.wixlib
-loc ${wix.dir}\WixUI_en-us.wxl
-out ${release.dir}\pleats.msi"/>

 

Build It, Install It

 

Building the installer should now work that the Server Custom Actions are linked in. Let's take a look at what Internet Information Services Manager on Windows XP looks like after the installer is completed.

 

pleats-iis-snapin_thumb[3]

Conclusion

 

There is a lot more customization you can do for web application configuration. For example, want to run your web applications in their own Application Pool  use <WebAppPool>. If you using the excellent MonoRail web application framework and you want your installer to register the .castle file extension to be handled by ASP.Net I believe you can use <WebApplicationExtension> to do this rather than doing it manually.

Continue Reading
7 min read

Creating Windows Installers : Generating Wix XML using Tallow

By Kevin Miller on Dec 9, 2007 10:02:23 PM

Now that our journey has begun and we have a basic Wix installer under our belt, we need to get the rest of our web application's files into the installer. Creating all the <Directory> and <Component> and <File> elements by hand gets very tedious especially if you have a lot of directories and files in your projects. Thankfully there is a utility included with Wix called Tallow that takes care of most of the busy work for you. In this post I will show you how to use Tallow against your release folder to do a one time generation of Wix XML for your project. Don't have a release folder yet? Let's begin with automating the creation of one.

Continue Reading
10 min read

Creating Windows Installers Using WIX: The Journey Begins

By Kevin Miller on Dec 6, 2007 7:00:38 PM

We all use them. Installers. They help get that sexy, shiny, new software safely onto our PCs and into our lives letting us frolic and play. Later, if things go sour or if the thrill is gone the installer is still there to reverse the process to help arbitrate the separation and keep what's yours intact.

Continue Reading

Featured