473,498 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

simple .NET application installation problem

Hi,

I am developing a .NET app in C# and I am using the VS 2005 built in
installer. Everything works fine except that when I build the installation
project, it produces 2 files, a .msi and a setup.exe, when I really just want
1 setup.exe file. Any help would be greatly appreciated.
--
Thanks
Apr 20 '06 #1
2 1644
I think the setup.exe is a bootstrapper, which runs the MSI anyway. You
should be able to just deploy the MSI without the .EXE in most cases.

"rkrane99" <re******@community.nospam> wrote in message
news:D2**********************************@microsof t.com...
Hi,

I am developing a .NET app in C# and I am using the VS 2005 built in
installer. Everything works fine except that when I build the
installation
project, it produces 2 files, a .msi and a setup.exe, when I really just
want
1 setup.exe file. Any help would be greatly appreciated.
--
Thanks

Apr 20 '06 #2
Hi,
Everything works fine except that when I build
the installation project, it produces 2 files, a .msi
and a setup.exe, when I really just want 1 setup.exe file.


The .msi file is your program's main installation package, and the
setup.exe file is that installation package's bootstrapper. A bootstrapper
is used to check the target machine whether have the necessary
prerequisites for installing/running the application, if not, it will
prompt/redirect the user to install those prerequisites at first. On the
other hand, if the prerequisites are ready, the bootstrapper will load the
corresponding .msi file to install the application. The general convention
is to deploy the bootstrapper (setup.exe) and the corresponding
installation package (appname.msi) in the target machine.

So in your case, your setup.exe will check the .NET Framework 2.0 or any
other prerequisites your application may require in the target machine. The
user should use the setup.exe to start the installation process, then the
setup.exe will invoke the installation package (appname.msi) install your
application automatically.
Thanks!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 20 '06 #3

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

Similar topics

3
2073
by: Ryno Rijnsburger | last post by:
I am busy packaging our product as a standard Setup project in VS.NET that uses a bunch of merge modules (basically, a merge module for every key infrastructure component in our system). Part...
5
2171
by: Sue | last post by:
How do I launch an executable at the end of an installation created by Microsoft Visual Studio setup and deployment project?
2
5319
by: MENTAT | last post by:
Hi, I am trying to create an installer for my web application. So I added a web setup project to my solution (I am using VS.NET 2003). Been playing around with it since then and it basically...
5
6035
by: Lili | last post by:
I'm having problems creating a simple stored procedure in DB2. Can someone help? Here is the screen dump when I tried to load the stored procedure. Thanks for any help. Create procedure...
6
2469
by: Jeff Smythe | last post by:
Why does Session_Start in Global.asax fire for every page opened during a session of an ASP.NET application? Am I wrong to expect that it would fire only when the first page (i.e., any page in...
3
1192
by: ALI-R | last post by:
Hi ALl, If I create an ASP.NET application and deploy it to IIS ,it works but if I want to install an ASP.NET application (any kind which uses setup file) ,,it just simply gives me some memory...
6
2020
by: Jim M | last post by:
I've been distributing a fairly mature, very specific MS Access application to end users in small offices of colleges for several years now. This is a part-time venture and low volume operation-...
2
1996
by: salad | last post by:
Hi. I have some questions regarding the distribution and installation of an application. My current application is written in A97. I figure its time the application is upgraded to A2003 to...
0
950
by: Claire | last post by:
I have built several very simple setup projects where I just install a single application. I am using the installation tools that come with Visual Studio 2005. This setup I want to build has 2...
0
7126
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
7005
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
7381
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...
0
5465
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4595
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
659
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.