473,387 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Apr 20 '06 #1
1 1047
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" <no****@nomail.zzz> wrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
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

Apr 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: PatchFactory Support | last post by:
Description: Professional and easy-to-use patch building environment that can help you to create instant patch packages for software and file updating. Generated patch packages are small size...
1
by: Pierre Rouleau | last post by:
Hi all, When building a exe for a Python application under Windows XP with The McMillan installer, the insttaltion succeeds but when I run the resulting executable the application tracebacks...
2
by: Helmut Jarausch | last post by:
Hi, I'd like to install SCons (http://www.scons.org) on my Linux box. There, the cvs version of Python is running. Doing as recommended in the README file export...
0
by: | last post by:
This has only started to happen recently when tryting to Build my VB.NET solution. For some reason as soon as the setup proj tries to build the MSI file the Windows Installer launches. "Please...
2
by: Dirc | last post by:
We are building a threaded application which reacts to an event and starts the required processing on a new thread. However, we are finding it difficult finding a way of getting the function to...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
2
by: harry | last post by:
Hi all I have a browser based application that I am looking to deploy. I have built an installer but need to have the installer do some permission changes. I am looking for someone to point me...
0
by: Simon Verona | last post by:
I have a windows forms application that I wish to build an installer for. Part of this application is an .asp webpage that I wish to install alongside the windows application and create a virtual...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.