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

Custom forms in installation project

Hi there,

I'm creating an installation project where at a particular point in the
installation I want the user to be able to specify a filepath for use in the
program. My idea was to create a form that allowed the user to choose the
datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for
doing this?

Cat
Nov 16 '05 #1
4 8891
Follow these steps, to create the custom dialog.

1. Create a new Setup Project
2. In the solution Explorer toolbar, click User Interface Editor
3. You can see a bunch of dialog icons in a Tree format.
4. In one the Node (preferably "Start" node, becoz thats where u need
dialog) right click and click again Add dialog.
5. There is a custom dialog Template, which has lot of combinations, with
textboxes, checkboxes.
6. Pick the closet one you required.
7. Go to the properties and remove the unwanted controls by setting Visible
= False;

--
Shak
(Houston)
"logicalfeline" <lo***********@yahoo.co.uk> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I'm creating an installation project where at a particular point in the
installation I want the user to be able to specify a filepath for use in the program. My idea was to create a form that allowed the user to choose the
datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for
doing this?

Cat

Nov 16 '05 #2
Ok, but is it possible to write code behind the dialog that does something
with the user input? I did try this approach but didn't get very far..
"Shakir Hussain" <sh**@fakedomain.com> wrote in message
news:ec**************@TK2MSFTNGP12.phx.gbl...
Follow these steps, to create the custom dialog.

1. Create a new Setup Project
2. In the solution Explorer toolbar, click User Interface Editor
3. You can see a bunch of dialog icons in a Tree format.
4. In one the Node (preferably "Start" node, becoz thats where u need
dialog) right click and click again Add dialog.
5. There is a custom dialog Template, which has lot of combinations, with
textboxes, checkboxes.
6. Pick the closet one you required.
7. Go to the properties and remove the unwanted controls by setting Visible = False;

--
Shak
(Houston)
"logicalfeline" <lo***********@yahoo.co.uk> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I'm creating an installation project where at a particular point in the
installation I want the user to be able to specify a filepath for use in

the
program. My idea was to create a form that allowed the user to choose the datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for doing this?

Cat


Nov 16 '05 #3
To write the code for custom dialogs

You can create seperate c# project(exe ) and include it by going to the menu

Custom actions editor->Install->Add Custom action

--
Shak
(Houston)
"logicalfeline" <lo***********@yahoo.co.uk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Ok, but is it possible to write code behind the dialog that does something
with the user input? I did try this approach but didn't get very far..
"Shakir Hussain" <sh**@fakedomain.com> wrote in message
news:ec**************@TK2MSFTNGP12.phx.gbl...
Follow these steps, to create the custom dialog.

1. Create a new Setup Project
2. In the solution Explorer toolbar, click User Interface Editor
3. You can see a bunch of dialog icons in a Tree format.
4. In one the Node (preferably "Start" node, becoz thats where u need
dialog) right click and click again Add dialog.
5. There is a custom dialog Template, which has lot of combinations, with
textboxes, checkboxes.
6. Pick the closet one you required.
7. Go to the properties and remove the unwanted controls by setting

Visible
= False;

--
Shak
(Houston)
"logicalfeline" <lo***********@yahoo.co.uk> wrote in message
news:uz**************@TK2MSFTNGP09.phx.gbl...
Hi there,

I'm creating an installation project where at a particular point in the installation I want the user to be able to specify a filepath for use
in the
program. My idea was to create a form that allowed the user to choose

the datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for doing this?

Cat



Nov 16 '05 #4
unfortunately, without using one of the premium install products,
there is no 'dialog editor' that comes with the basic visual studio.
I'm not even aware of any good dialog editor tools out there to use
with install.

On Fri, 25 Jun 2004 17:42:07 +0100, "logicalfeline"
<lo***********@yahoo.co.uk> wrote:
Hi there,

I'm creating an installation project where at a particular point in the
installation I want the user to be able to specify a filepath for use in the
program. My idea was to create a form that allowed the user to choose the
datapath and confirm it then add this to the installation project. I'm
having trouble with this however. Does anyone know a simple procedure for
doing this?

Cat


Nov 16 '05 #5

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

Similar topics

1
by: Petrucci2000 | last post by:
Hi All, I am looking to create an installation package (MSI ) which will fire off few of my custom .vbs during the install process. How to accomplish this task? TIA PS: I tried to include...
3
by: | last post by:
I have created a web setup project for my ASP.NET application that works fine. Also, I have followed the instructions for using a custom action to launch a web page after the installation is...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
3
by: Eric | last post by:
Using VS.Net 2003 .Net framework 1.1 SP1 Our installation project calls a Custom Action dll to perform post install actions. It fails if the .msi file is launch from a directory that contains...
0
by: Kemin | last post by:
Recently I built an ASP.NET application Installation program for deployment. The ASP.NET app use a Sql Server db, I package it into the installation file too. The general step of building an...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
13
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Actually, my installer package is not for a Windows Service, but for a WinForms application. Well, it is kind of both: this is a multi-project solution with its main target being a WinForms...
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.