Problem building installer...

S

Simon Verona

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
 
S

Simon Verona

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top