Windows Installer InstallAware for Windows Installer Header Image Windows Installer without Rocket Science

  InstallAware Blog

   

Archive for the 'MSIcode Scripting' Category

Extending MSI command line switches

Monday, March 9th, 2009

Hi there! Today I’m going to show you how to extend your InstallAware setup packages to support custom command line switches. A frequent question we get is “why don’t standard MSI command line switches work?” The answer is really simple – InstallAware has its own bootstrapper and the command line parameters it accepts are well [...]

Using compiler variables to customize setup at build time

Friday, May 16th, 2008

Hello everyone, I hope you’ve all been well! This post’s topic: How to customize your setup at build time. This could be used for different products, when only very few things change between them, and having a unique setup project for each one turns into a major copy and clone nightmare. It’s really a quite [...]

How to detect Windows Server 2008

Tuesday, March 4th, 2008

Hi. Many of you have asked if InstallAware supports detecting the newly released Windows Server 2008. It’s very easy by using the code below: Set Variable SERVER2008 to FALSE Get System Setting Service Pack 1 into SP1 Get System Setting Windows Vista into VISTA Get System Setting Windows with Server Features into SERVER if Variable [...]

How to run a third party EXE using InstallAware

Sunday, February 10th, 2008

In my last post, we covered using InstallAware to install or un-install a third party MSI package. In this post we’ll cover a related task, running a third party EXE setup package, using the Run Program As command. What does Run Program As do? As the name suggests, it runs a program (an EXE file) [...]

How to install (or remove) a third party MSI using InstallAware

Saturday, February 2nd, 2008

Hello everybody! In this post I’m going to show you how to install third party MSI files using InstallAware. We’ll achieve this functionality using the (Un)Install MSI Setup and File Bag MSIcode commands. First, what does the File Bag command do? Think of it as an extended support files mechanism. While support files (also called [...]

Online Serial Key Validation with InstallAware, the Code Part

Saturday, January 5th, 2008

Hi all! It’s been a few days since my last post about wrapping our update mechanism around your application and it’s time for some web server code samples; but first, I wanted to make an enhancement to the update script. If we want to change our “Run Program As” commands, we’ll have to edit multiple [...]

Online Serial Key Validation with InstallAware, the Updates Part

Saturday, December 15th, 2007

A question we get a lot here is how exactly our update mechanism works. It’s actually very straightforward. You define your existing software update packages inside our IDE, which saves that information inside an updates.ini file. You then upload both the update installers (patches, single exe’s, whatever you like) and the updates.ini file, overwriting the [...]

Online Serial Key Validation with InstallAware

Friday, November 23rd, 2007

I’ve spent a lot of time thinking about my next blog post. I’ve had some really crazy ideas like creating a plug-in to run my own scripting language on top of InstallAware’s MSIcode. Yeah, I know it sounds crazy but it’s doable. InstallAware sets no limits on your imagination. After getting down to earth, I [...]