Customize setup!!

  • Thread starter Thread starter Gianmaria
  • Start date Start date
G

Gianmaria

Hi,
i'm workin on a deployment project... i added two custom screen to make some
tasks.

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
 
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.
 
Back
Top