Home All Groups Group Topic Archive Search About

Registry entries, Licence Page in VS 2003 Setup Project

Author
14 Jul 2006 10:45 AM
JM
Hi,

I have created a windows application in .NET. For this application I
have created a Setup Project using Visual Studio .NET 2003. But I want
to do some customisation to this basic setup program as follow:

1. My program requires to enter 1 entry in registry during Setup and
deleting that entry during uninstall. Can I do this in VS 2003 Setup
program?

2. I want to add a page with textbox in it showing the licence terms.
How can I do this here?

3. In the above licence page, I want to have an option of "I agree", "I
don't agree" option too.

Is it possible for me to achieve the above in VS 2003 Setup program?

Thanks in advance
JM

Author
15 Jul 2006 8:55 AM
Frans Bouma [C# MVP]
JM wrote:

> Hi,
>
> I have created a windows application in .NET. For this application I
> have created a Setup Project using Visual Studio .NET 2003. But I want
> to do some customisation to this basic setup program as follow:
>
> 1. My program requires to enter 1 entry in registry during Setup and
> deleting that entry during uninstall. Can I do this in VS 2003 Setup
> program?

    Yes, in the installer project, you can select the registry options for
the project in the solution explorer. When you add the registry entry,
you can specify in the properties that is should be removed when
uninstall takes place.

> 2. I want to add a page with textbox in it showing the licence terms.
> How can I do this here?

    Open the user interface options in the solution explorer (via the
buttons at the top) and right-click below start and add a new dialog.
Select the license dialog which allows you to select a textfile or rtf
from the files in the install project to view at install time.

> 3. In the above licence page, I want to have an option of "I agree",
> "I don't agree" option too.

    that's standard.

> Is it possible for me to achieve the above in VS 2003 Setup program?

    Yes. Just try some things out. It's actually pretty straight forward.
From your questions I have the feeling you didn't try some of the
options out. Just experiment, you can always remove the things you
don't like :)

        FB


--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Author
15 Jul 2006 12:05 PM
JM
Thanks for the prompt reply Frans. I will try the options as described
by you. No I havn't tried the details, just created the basic setup.

Thanks JM




Frans Bouma [C# MVP] wrote:
Show quote
> JM wrote:
>
> > Hi,
> >
> > I have created a windows application in .NET. For this application I
> > have created a Setup Project using Visual Studio .NET 2003. But I want
> > to do some customisation to this basic setup program as follow:
> >
> > 1. My program requires to enter 1 entry in registry during Setup and
> > deleting that entry during uninstall. Can I do this in VS 2003 Setup
> > program?
>
>     Yes, in the installer project, you can select the registry options for
> the project in the solution explorer. When you add the registry entry,
> you can specify in the properties that is should be removed when
> uninstall takes place.
>
> > 2. I want to add a page with textbox in it showing the licence terms.
> > How can I do this here?
>
>     Open the user interface options in the solution explorer (via the
> buttons at the top) and right-click below start and add a new dialog.
> Select the license dialog which allows you to select a textfile or rtf
> from the files in the install project to view at install time.
>
> > 3. In the above licence page, I want to have an option of "I agree",
> > "I don't agree" option too.
>
>     that's standard.
>
> > Is it possible for me to achieve the above in VS 2003 Setup program?
>
>     Yes. Just try some things out. It's actually pretty straight forward.
> From your questions I have the feeling you didn't try some of the
> options out. Just experiment, you can always remove the things you
> don't like :)
>
>         FB
>
>
> --
> ------------------------------------------------------------------------
> Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
> LLBLGen Pro website: http://www.llblgen.com
> My .NET blog: http://weblogs.asp.net/fbouma
> Microsoft MVP (C#)
> ------------------------------------------------------------------------

AddThis Social Bookmark Button