Finally…Microsoft released the MSI Utility for Microsoft Virtual Applications (aka the MSI Wrapper) and pretty quiet I might add. Not even a post on the SoftGrid Team Blog. I had expected some sort of announcement. Probably due to holidays or something.
Anyway, I’ve been waiting for this tool for some time and I’m curious if it meets up with my expectations. I know the SMS 2003 connector with its shortcomings and I’m hoping for a simple way to use SoftGrid applications in a SMS2003 / SCCM environment. On the download site I noticed that the tool supported only SoftGrid versions 4.2.1.21 (or later) and 4.1.2.21 (or later). Personally I don’t know these versions and was convinced that 4.1.1.310 (4.1 SP1) and 4.2.0.310 were the latest ones. Still…let’s have a look.
The download (MSI_Utility_1.0.0.16.exe) consists of an MSI Admin Utility Guide, MSI_Utility_Release_Notes and the actual setup. The setup still installs to [c:\program files\softricity\MSI Utility] by default. You would expect that “Microsoft” would have been used as part of the path (as in the 4.5 beta client). After installation, the tool offers a GUI and a command line version (both are included in the installation directory). Both tools are easy to use and can be used with an individual project (. Sprj) by using [MsiUtility / s ] or a directory by using [MsiUtility / f ] The GUI version looks like this

The checkbox “Recursively package all virtual applications in the folder” is ideal to get multiple SoftGrid applications migrated to MSI at once. Just point to the root of your Content share (or any other directory) and start converting. The downside to this mass conversion is that the MSI Utility doens’t change the SFT and it’s version. If you want to (re)distribute already enrolled SoftGrid packages through MSI you might get in trouble on clients that have the same package version in cache.
Anyway in the installation directory remains a file named Template.MSI which is used by the tool for generating the MSI(s). Any amendments made herein are therefore generated in all MSI’s. Very useful if you, for example, want to use project or company info to be included in Add / Remove Programs. So what is generated? The utility generates an MSI file and a xml file (manifest) similar to what can be found natively build-in the SoftGrid 4.5 sequencer. The OSD files, icons and xml file are included in the MSI (respectively in the PackageComponent and IconComponent), but also remains in the source directory (useless??)

The MSI uses LaunchConditions to determine whether SoftGrid client version 4.2.1.21 (or later) and version 4.1.2.21 (or later) is installed. However when I tested the MSI on my SoftGrid 4.5 beta client (which is a later version), the installation failed and told me that I didn’t have a compatible SoftGrid client. This will hopefully be fixed in later versions of the beta. The MSI Utility uses a CustomAction dll (SGDeploy.dll) to talk to the SoftGrid client, while the MSI from the 4.5 Sequencer fires the commands directly through SFTMIME. The three functions responsible for interaction are RemoveSGApps, DeploySGApps and UpgradeSGApps.

Still, when I removed the LaunchConditions from the MSI (and the installation begins to run) it still reported an error. Apparently, the 4.5 Client is not suitable for the commands that the SGDeploy.dll (yet?) Sadly the latest version of the SoftGrid client I had was 4.2.0.310 so I was unable to succesfully deploy an MSI. Eventough this time he recognized that SoftGrid was on the machine, it stated that the version was not correct. Again, removing the LaunchConditions didn’t help.
This means that I will just wait until I have the correct version of the SoftGrid client to see the whole thing work. Despite my disappointment after the long wait, it looks promising. To Be Continued …
December 12th 2007 Posted to
App-V Q&A by
Ment