Issue building a Windows setup application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am developing a windows application with Visual Studio 2003 using C#. The
application is complete so naturally I went to create a setup package. I
added a setup project to the solution and I went through the appropriate
steps in attaching the solution dependencies. After completing the setup
package, I attempted to install the application on a co-worker's computer.
Usually, the installation consist of several screens which directs the user
through installation specifics. With this setup application, there is only
one form and it reads "setup complete". There is no form prompting me to
select where I would like the executable placed, nor is there a form
prompting me if this .exe is to be used for everyone or just me. All I get is
one fom displaying the text, "setup is complete."
 
Hi,

Although Visual Studio .NET doesn't produce fully-featured MSI installation
files, it does have the ability to create 'reasonably' customised setup
applications. If you open your solution within Visual Studio .NET and
right-click on your setup project, click View and then User Interface, you
will get a view of layout of the user interface for the setup application for
both non-administrative and administrative users. When you create a new setup
project, the default is structured like this:

Install
Start
Welcome
Installation Folder
Confirm Installation
...(etc)

This basically defines which screens the user will see (and in what order)
during execution of the setup package. Make sure that you have this structure
as if you have accidentally removed the steps, the user will not see any of
these screens and the effect would be similar to what you're seeing. If this
is not the case and you actually have this type of structure (remembering
that if you're a local admin, you will see the effects of the 'Administrative
Install', post again and along with a sample solution if you can and I will
try to build it and test it for you.

Hope this helps.

-Eric
 
Thanks for the reply. However, the structure that is mentioned below is in
place. But for some reason, the setup application skips the first series of
forms and it then displays the last.
 
Back
Top