July 2005 Entries

Removing Files and Directories Windows Installer Does Not Install

The uninstallation behavior of Windows Installer is actually quite efficient. At uninstall time, Windows Installer will only remove the items that have been installed by the package unless the component containing the resources has been marked as permanent. At times, this can pose a problem for the setup developer. Applications will often create files as part of normal everyday usage. Since these resources did not belong to the original installation, they will remain during an uninstall. The same...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

How do I install files to D:\ instead of C:\?

This post provides a tutorial for specifying installation to a partition such as D:\, as opposed to the default installation drive of C:\. Note This will also work on mapped network drives. Caution You will receive an error if your user does not have the network drive mapped or the partition on their computer. You may want to use a custom action to determine the location of the partition or to ensure that the network drive is mapped. For the purposes of demonstration, I am going to hard code the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Introduction

I'd like to use this first post to introduce myself and tell you what qualifies me to talk about setups in the Windows Environment. Over the last 6 years one of the primary functions of my job, no matter what company I have been at, has been to develop installations. I have been working with Windows Installer pretty much since it was introduced, and before that spent time developing script-based installations using both Wise Solutions and InstallShield products. Currently, I work for Wise Solutions...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati