Mittwoch, 19. Dezember 2007

Creating custom project types with Visual Studio

Mike Hadlow gives a fairly good overview on how to build a custom project type for Visual Studio:
Code rant: Building a Visual Studio Custom Project Type

Please note, that at least in Visual Studio 2008 you'll have to create a project template to show your own project type under File -> New Project. You don't get any error if you don't do this, but your project type will not be shown.

Sonntag, 16. Dezember 2007

How to debug variables and conditions in IzPack



From IzPack 3.11 on, there's a built-in debugger for variables and conditions. The debugger is activated when the installer is called with -DTRACE=true as JVM option.




Ex.1:


java -DTRACE=true -jar myInstaller.jar




The debugger shows up as a panel in the east of the InstallerFrame or if the guiModifier showDebugWindow is set to true, it will show up as seperate window.




Ex.2:


<modifier value="true" key="showDebugWindow">








Freitag, 14. Dezember 2007

Registering assemblies in GAC programmatically

Dmitry Pavlov found an very easy way to register assemblies in GAC programmatically without using the gacutil.

new System.EnterpriseServices.Internal.Publish().GacInstall(”myassembly.dll”);

IzPack now has built-in conditions

IzPack now has built-in conditions which means, that there are some predefined conditions which can be used in the installer. These conditions are:


  • izpack.windowsinstall

  • izpack.linuxinstall

  • izpack.solarisinstall

  • izpack.macinstall

There's also a PackSelectionCondition for every pack. The Ids for these condition will be built up from the pack id or if not specified, the pack name. If there's a pack called Testpack with id test.pack, there will be a condition called izpack.selected.test.pack

Donnerstag, 15. November 2007

R.I.P DRHost

The source code of DRHost was lost after a harddisk crash. The backup cd is unreadable :-(

As I don't play VGAPlanets 4 any longer, the development of DRHost for VGAPlanets 4 has been canceled for now.

Dienstag, 13. November 2007

Sideboard als Raumteiler

Unter der unten angegebenen URL findet man einen super Bauplan für ein Sideboard, was sich auch als Raumteiler verwenden lässt.

http://www.bosch-do-it.de/heimwerker/houseofbosch/807/houseofbosch.shtml?view=list

Montag, 12. November 2007

IzPack 3.11.0-beta1 coming soon...

The next version of IzPack installer is coming soon. There will be a preview on November, 30th. This should be a feature complete version. The final version will be released after a documentation update.

See http://www.izpack.org/ for more information.

RuleEngine (conditions): new features in 3.11
  • conditional expressions:
    use + (and), (or), \ (xor) or ! (not) in your conditionids:
    there are two conditions with ids cond1 and cond2.
    ex1. pack test can be installed if cond1 and cond2 are evaluated to true:

    ex2. pack test can be installed if cond1 or cond2 is evaluated to true:

    ex3. pack test can be installed if cond1 is evaluated to false:
  • added support for conditions in jobs in ProcessPanel:
    ex1. ...
  • fixed condition evaluation in PacksPanel

Freitag, 29. Juni 2007

Freitag, 30. März 2007

IzPack 3.10.1 released

Ein Service-Release des Java Freeware-Installer IzPack wurde veröffentlicht.

Donnerstag, 22. März 2007

Distributed .NET: Learn The ABCs Of Programming Windows Communication Foundation

'Distributed .NET: Learn The ABCs Of Programming Windows Communication Foundation:

"Windows Communication Foundation unifies the existing suite of .NET distributed technologies into a single programming model to improve the developer experience. This article introduces WCF so you'll be prepared to take advantage of all the new capabilities."

Reach me via Live Messenger