473,396 Members | 1,945 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,396 software developers and data experts.

Creating Customized dilogue box for for ur installer

well friends i have a small tip here which may be helpfull for u

there may be situations where we need to use a customized dilogue box while doveloping setup and dyployment project, so u can do that simply by using custom actions .

1st create setup and deployment project...
add->new project->windows application name it ReadmeDilogue
now customize Form as per ur requirement

now again

Add->newProject->class librery name it ReadmeDilogueExtension

After creating it

Rightclick on classlibrary project -->AddReference->projects->ReadmeDilogue

in calss library project open class file

write this code


namespace ReadMeDilogueExtension
{
[RunInstaller(true)]
public class ReadmeInstaller : Installer
{
ReadmeDilogue.ReadmeForm ReadmeForm = new

public ReadmeInstaller()
: base()
{
}

public override void Install(IDictionary savedState)
{
base.Install(savedState);


ReadmeForm.ShowDialog();
}

}

}

now select ur setup project in solution explorer, Rightclick--->View--->File System

then in file system editor u have three folders
|
----Application Folder
----Users Desktop
----Users Programm Menu

in this select Application Folder Right click Add--->File-->

in classlibrary project folder --bin--debug we have our class file compiled in to dll , select it , press open button
it will be added to Application folder

Now goto solution explorer select class library project RightClick--->View-->Custom Actions

custom actions window will be appeared

u can see four folders

|
--install
--commit
--rollback
--uninstall

select install rightclick ---->Add Custom Action-->


"Select item in project" Dilogu will appear in that select application folder and in that select the dll added by us

now compile the project and select setup project in solution explorer
rightclick ===>install

now ur customized dilogue box will appear before installation, u can write ur code needed for installation or other methods it depends on ur requirement

oky friends
have a nice day bye
Apr 10 '06 #1
0 1799

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: shovan | last post by:
I am creating a customized Purchase order report using asp. I have developed the reoprt as it is displaying the amount against a sales rep within a specific date range.now values are dispalaying...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
1
by: shanthsp2002 | last post by:
Hi Friends, I am doing setup and deployment project for our windows application, it needs a custom diloguebox in which user will select option wether he want to install database or not. if he...
7
by: DanielJohnson | last post by:
I have a small project which has around 10 .py files and I run this project using command line arguments. I have to distribute this project to somebody. I was wondering how can I make an...
3
by: teephish | last post by:
Hello, I'm currently in the process of creating a small access database and I'm having some problems with creating a customized search. I would like the user to be able to search a record by last...
0
by: Nick | last post by:
I have multiple projects in a solution in VS 2003. I am using VB.net, and I have an installer file that build and installs an application with executable output. I also have a project and...
1
by: Israel | last post by:
I found it surprisingly unintuitive and difficult to get the installation code to work properly and I found very little help on the google groups so I figured I’d post the things that burned me so...
0
by: =?Utf-8?B?QkVB?= | last post by:
Folks, I am developing a deployment project with Visual Studio 2005 that produces an .msi installer. I am not understanding how to create some customized install time actions that I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.