Problem building installer...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Verona

    #1

    Problem building installer...

    This may be slightly off-topic for this group, but I hope that somebody can
    give me a pointer.

    I'm building an installation project for my vb.net application, which I want
    to install a third party product...

    I've got this working fine, I've added the installation files for the third
    party software and configured the installer to run the setup.exe within the
    "Commit" section of the Custom Action.

    However, I don't want to run the setup.exe file if the application is
    installed...

    So... I created a Launch condition to test for the existence of one of the
    files that is installed by the setup.exe so I know if it's already
    installed... I've no problems with this step..

    Now, I want to change the custom action which runs the setup.exe so that it
    *doesn't* run if the launch condition has passed ... I can't work out how
    to do this - I know that testing for the launch condition is simply a case
    of putting the name of the launch condition in the "condition" property of
    the custom action but I can't work out how to only run if the launch
    condition failed.

    Hope that this is clear and somebody can assist.

    Many thanks in advance
    --
    =============== =============== ==
    Simon Verona
    Dealer Management Service Ltd
    Stewart House
    Centurion Business Park
    Julian Way
    Sheffield
    S9 1GD

    Tel: 0870 080 2300
    Fax: 0870 735 0011


  • Simon Verona

    #2
    Re: Problem building installer...

    Well, I kind of solved it by adding a seperate custom action which is a
    vbscript file that tests for the file existing and executes the install
    program if required, The only annoying side-affect of this is that my
    installed says it finished whilst the second application is still
    installing...

    Regards
    Simon

    --
    =============== =============== ==
    Simon Verona
    Dealer Management Service Ltd
    Stewart House
    Centurion Business Park
    Julian Way
    Sheffield
    S9 1GD

    Tel: 0870 080 2300
    Fax: 0870 735 0011

    "Simon Verona" <nomail@nomail. zzz> wrote in message
    news:%23YwtinJZ GHA.4164@TK2MSF TNGP04.phx.gbl. ..[color=blue]
    > This may be slightly off-topic for this group, but I hope that somebody
    > can give me a pointer.
    >
    > I'm building an installation project for my vb.net application, which I
    > want to install a third party product...
    >
    > I've got this working fine, I've added the installation files for the
    > third party software and configured the installer to run the setup.exe
    > within the "Commit" section of the Custom Action.
    >
    > However, I don't want to run the setup.exe file if the application is
    > installed...
    >
    > So... I created a Launch condition to test for the existence of one of the
    > files that is installed by the setup.exe so I know if it's already
    > installed... I've no problems with this step..
    >
    > Now, I want to change the custom action which runs the setup.exe so that
    > it *doesn't* run if the launch condition has passed ... I can't work
    > out how to do this - I know that testing for the launch condition is
    > simply a case of putting the name of the launch condition in the
    > "condition" property of the custom action but I can't work out how to only
    > run if the launch condition failed.
    >
    > Hope that this is clear and somebody can assist.
    >
    > Many thanks in advance
    > --
    > =============== =============== ==
    > Simon Verona
    > Dealer Management Service Ltd
    > Stewart House
    > Centurion Business Park
    > Julian Way
    > Sheffield
    > S9 1GD
    >
    > Tel: 0870 080 2300
    > Fax: 0870 735 0011
    >
    >[/color]


    Comment

    Working...