For #1, you should throw a new InstallerException (or something similar to
that) to fail and rollback the installation.
For #2, there's no easy way to do that.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Gianmaria" <no*************@telenet.it>
Subject: Customize setup!!
Date: Mon, 3 Nov 2003 12:39:00 +0100
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <O0*************@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.csharp
NNTP-Posting-Host: host84-14.pool80117.interbusiness.it 80.117.14.84
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:196215
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi,
i'm workin on a deployment project... i added two custom screen to make
sometasks.
1) I need that user insert a serial number for my setup.. next i check the
validity of this serial by a function that returns true if the serial is
valid.. or false if not. Next i want my user interface to stop installation
while the seial is not a valid one. Now, i know how to pass the string of
the serial to my funtion but i dont know how to stop setup if it's not...
something like.. "not valid serial.. try again".
2) I need tha user insert the path for a db, so i have a screen with a text
box where the user can write the db path... how can i do it using a
browse... ??? so i later write this path to a ini file.
Regards,
Gianmaria