473,387 Members | 1,528 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.

Customize setup!!

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
Nov 15 '05 #1
1 1783
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


Nov 15 '05 #2

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

Similar topics

3
by: Hennie | last post by:
I have create a program that works with some directories.When I create a setup.exe with the application setup wizard I can't add the directories that the programm needs. (only files) Thanks for...
1
by: Samuel Bernard | last post by:
Hi, How can I customize an addin-setup coming from a VS.NET Add-ins project? I found that it is possible to insert a step into the user interface of the setup. I created a page where the user...
2
by: Gianmaria | last post by:
Hi, I'm building a setup for a win App. I have 2 problems. I've created some dll that validate a serial number.. now i want during setup that the user must insert his serial number and this serial...
13
by: johnb41 | last post by:
I'm testing out the Visual Basic 2005 Express Edition, and I like it thus far... but i'm puzzled. I want to add a "Setup Project" to my solution. When i go to Add Project, I don't see the...
0
by: Will Asrari | last post by:
I am creating a web setup project in Visual Studio .NET 2003 and have completed this task successfully. As of now the client who will be receiving this setup package will get the MSI along with a...
1
by: Matt Fielder | last post by:
I need to customize the build process beyond just selecting which projects get built in what order. What I want to happen is when I select "Release" 1: Pop a dialog confirming I want to build...
1
by: André Dumolas | last post by:
I use the setup project of Microsoft Visual Studio. I would like to customize one of the textbox in the user interface dialog box of my program setup. I would like to know if there is a way to...
2
by: =?Utf-8?B?Um9nZWxpbw==?= | last post by:
I know this has been answered, I just can't find it. can someone point me to a URL or thread that shows how to install a web service in a Windows Setup Project ? I need to install a windows app,...
0
by: gkinu | last post by:
I have a Visual Studio 2005 Windows Application. I want to customize the setup. Specifically, I want the following. 1. If not already done, the database to be created and configured as necessary 2....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.