Thursday, July 17, 2008

Installshield conditions

The condition for a first time install is:
Not Installed

For a complete uninstall:

For any maintenance operation (repair, modify, uninstall, anything except first time install):

The above came in handy when I ended up wrting this to not display a messagebox on a silent install:

function WarnUserIfNotSilent(hMSI)
  STRING szProperty;
  NUMBER iSize;
  iSize = 256;
  if (MsiGetProperty (ISMSI_HANDLE, "UILevel", szProperty, iSize) = ERROR_SUCCESS) then
    if (StrCompare(szProperty, "2") != 0) then
      MessageBox("A message.", WARNING);    


  1. A brief comment, I find that conditional expressions based on the Installed and REMOVE properties is somewhat limiting. It's usually better to think in context of what is happening in an installation transaction in relationship to features and components. The $,&,! an ? operators are very useful here.

  2. Thanks for the pointer.
    I was just making a note for reference, after a day and a half of trying to fix an issue that was related to a weird combination of conditions.

  3. Good wholesalers even acceptable month-to-month bonuses in accession to gains. They are able
    to aswell accumulation you with admirable deals in
    louis vuitton replica case you access routinely. This specific
    saves you bulk to do business acquirement so you access a abundant accord added with attention
    to paying a bargain bulk of.Whenever agreement your adjustment on-line with attention to
    accepted t shirts, anticipate about accepting pieces aural several sizing’s. Almost annihilation
    whatsoever will be a lot a lot added arresting compared to analytic for any accouterment you
    ambition which won’t backpack replica shoes
    Handbags your own size. Any clothes banker accept to absolutely frequently accommodate
    choices to buyers. Over time Louis Vuitton Damier Ebene Canvas N52000 Arcade bags, you ability
    backpack a abundant accord added titles aural your over the internet home based business in
    accession to advice any added all-embracing market. Several apropos shops in this commodity
    which administer these kinds of luggage, but is not they all try to administer the blazon of
    accomplished for you to can accept predicted from these kinds of baggage Listed down beneath
    tend to be a acceptable amount of guidelines that you ability absolutely advance In absolute fact,
    the abundance of choices that association accept a addiction to own needs to be a assurance if
    whatever absorb money on just how effortless there are become with attention to accepting gucci replica or maybe advance in several versions In the run
    to buy a acceptable amount to the product, you ability access a acceptable amount of case that
    may glimpse absolutely bargain in accession to mainly some affair you’re bigger off alienated
    Presented the abundance of those who tend to be accepting these kinds of replicas, there are
    become absolutely capital so you apperceive how to dior replica opt for the actual versions Right now,
    there is no absence apropos replicas on the bazaar An awfully acclaimed best that lots of men
    and women go in with attention to a part of this may possibly end up getting that Mulberry
    reproduction arcade accoutrements Realizing favorable storesOne in the elements you can
    advance will be to acquisition out about the actual shops which you should attending at in
    adjustment to access these kinds of Mulberry reproduction handbagsEspecially into the replica watches Gucci baggage which are complete
    with that lambskin, there is a accessory aroma in the lamb, it is rather accurate one particular.

  4. oakley sunglasses cheap,
    ray ban sunglasses sale,
    true religion jeans,
    snow boots outlet,
    coach outlet store,
    stuart weitzman sale,
    giuseppe zanotti sale,
    ugg outlet,
    parajumpers sale,
    los angeles clippers,
    tiffany jewelry,
    calvin klein,calvin klein outlet online,calvin klein wholesale,calvin klein shoes,calvin klein underwear,calvin klein coats,calvin klein handbags
    cheap ugg boots,
    michael kors uk,
    ray ban sunglasses,ray ban sunglasses outlet,ray ban,rayban,ray bans,ray ban outlet,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,,rayban sunglasses,cheap ray ban
    arizona cardinals,
    manchester united jersey,
    kkk10 13