in

ASP.NET Weblogs

Extreme JS

JS Greenwood's WebLog on architecture, .NET, processes, and life...

New Setup & Deploy tool "MSI Command Launcher" released

I finished the initial release of my latest (and possibly last for a while) MSI plugin tonight. This one, MSI Command Launcher, extends the ability of custom actions to run user-defined code by:

  • Supporting the execution of batch files (standard Setup & Deploy packages don't allow this)
  • Allowing for roll-back of execution based upon the exit code returned from running a script/executable
  • Provides a standardised Windows GUI for showing command-line input/output, rather than "shelling out" to a DOS box

MSI Command Launcher runs as a proper ProjectInstaller and can be run (i.e. tested) standalone from the command line.  Documentation on usage is included in the archive that can be downloaded from: http://www.altervisitor.com/software/MSICommandLauncher.msi

When running, the application appears as follows:

This is a first release of this application, and I've not tested it as much as the others, so feedback would be great. The only problem I know about is if you're writing huge amounts of text to the console in an interactive script (one that requires user input) - the RichTextBox it writes to is pretty slow to update, meaning that input may be expected (and output blocked) before all of the preceeding text has been written to the screen. In applications that are more judicious in their usage of Console.WriteLine, and applications that don't read from the console, this problem won't exist.

If you do use this in your projects, please drop me a mail to let me know - I'd like to track the uptake of all the tools I put out on the Net, so I know which ones to support/extend.

Published Sep 04 2004, 01:47 AM by jsgreenwood
Filed under:

Comments

 

Josh said:

I'm having trouble installing it...

It brings up the MSI Command Launcher dialoge box which says:

Executing program: "test.bat"
[running file "test.bat]

The butons are disabled and it just sits there.

The installer window's progress bar is 2/3rds completed.

Any ideas?
September 13, 2004 5:19 PM
 

JS Greenwood said:

Ooops. That's what happens when you click *upload* from the "Debug" folder rather than "Release". Apologies - should all be fixed now. :) Just download it again...
September 13, 2004 5:41 PM
 

Josh said:

That did it!

Thanks,

Josh
September 13, 2004 5:54 PM

Leave a Comment

(required)  
(optional)
(required)  
Add