Visual Basic .NET Installation Question

  • Thread starter Thread starter Orwell
  • Start date Start date
O

Orwell

Hi --

I'm writing an installation program to deploy a VB.NET application.
I've created a setup project, associated it as part of the solution,
and everything works great.

My question is this -- I'm including a PDF file as documentation. I
have no problem installing the file, but I want to make sure that the
Adobe Acrobat Reader is installed and, if not, launch the installer to
install the product. I can easily search for the existence of the
acrobat reader and halt the installation if the file is not found, but
I'm not sure how to launch a program if a file is not found.

I know this is easily do-able in Wise and Installshield; can it be
done within VB.NET?

Thanks!
 
On 29 Oct 2003 12:16:31 -0800, (e-mail address removed) (Orwell) wrote:

¤ Hi --
¤
¤ I'm writing an installation program to deploy a VB.NET application.
¤ I've created a setup project, associated it as part of the solution,
¤ and everything works great.
¤
¤ My question is this -- I'm including a PDF file as documentation. I
¤ have no problem installing the file, but I want to make sure that the
¤ Adobe Acrobat Reader is installed and, if not, launch the installer to
¤ install the product. I can easily search for the existence of the
¤ acrobat reader and halt the installation if the file is not found, but
¤ I'm not sure how to launch a program if a file is not found.
¤
¤ I know this is easily do-able in Wise and Installshield; can it be
¤ done within VB.NET?

You should be able to create a Custom Action (Custom Action Editor) that will launch the setup
program if the Launch Condition for your file search is false.


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
Back
Top