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

Pack and Deply. creates EXE and Installer??

al
Greetings,

I have just finished packaging and deploying winapp. Packing went
fine and so did the deplo. However, I have noticed that there are two
files, not one, that were created by VB.NET. One is application.exe
and the other one is installer that has all the dependencies. Any
idea why is that??

MTIA,
Grawsha
Nov 20 '05 #1
7 1394
* gr*********@yahoo.com (al) scripsit:
I have just finished packaging and deploying winapp. Packing went
fine and so did the deplo. However, I have noticed that there are two
files, not one, that were created by VB.NET. One is application.exe
and the other one is installer that has all the dependencies. Any
idea why is that??


Mhm... There should be at least an MSI file and maybe three executables
(one called "Setup.exe" and two versions of MSI).

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
al
hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<eo**************@TK2MSFTNGP11.phx.gbl>...
* gr*********@yahoo.com (al) scripsit:
I have just finished packaging and deploying winapp. Packing went
fine and so did the deplo. However, I have noticed that there are two
files, not one, that were created by VB.NET. One is application.exe
and the other one is installer that has all the dependencies. Any
idea why is that??


Mhm... There should be at least an MSI file and maybe three executables
(one called "Setup.exe" and two versions of MSI).


Hi,
Should not there be only .msi file? why there is setup.exe?
Nov 20 '05 #3
* gr*********@yahoo.com (al) scripsit:
I have just finished packaging and deploying winapp. Packing went
fine and so did the deplo. However, I have noticed that there are two
files, not one, that were created by VB.NET. One is application.exe
and the other one is installer that has all the dependencies. Any
idea why is that??


Mhm... There should be at least an MSI file and maybe three executables
(one called "Setup.exe" and two versions of MSI).


Should not there be only .msi file? why there is setup.exe?


"Setup.exe" can do some checks before launching the setup (for example
remove previous versions, ...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Ot

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OO**************@TK2MSFTNGP12.phx.gbl...
* gr*********@yahoo.com (al) scripsit:
Mhm... There should be at least an MSI file and maybe three executables (one called "Setup.exe" and two versions of MSI).


Should not there be only .msi file? why there is setup.exe?


"Setup.exe" can do some checks before launching the setup (for example
remove previous versions, ...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


That's way cool. How do I get the installer to remove prior version?

I have VB.NET Standard. In my setup project I generate an .msi file and
there is a "setup.exe" separate from that .msi file. When I send my
application to a second machine I can run the .msi and get my application
onto that computer. However, even though I set the "Remove prior versions"
to true, it stops and tells me to use add/remove to remove the prior
version.

I have executed other people's msi files and they can remove prior
versions.

Executing the "setup.exe" directly or simply running the .msi both lead the
the same window:

== window contents==
Windows Installer X

Another version of this product is already installed.
Installation of this version cannot continue. To
configure or remove existing version of this product,
use Add/Remove Programs on the Control Panel.

[ OK ]
==end window contents==

Regards,
Ot
Nov 20 '05 #5
* "Ot" <ur***@tds.invalid (use net)> scripsit:
"Setup.exe" can do some checks before launching the setup (for example
remove previous versions, ...
That's way cool. How do I get the installer to remove prior version?

I have VB.NET Standard. In my setup project I generate an .msi file and


Select the setup project in the project explorer and have a look at the
property window. There you will find an option to do that.
there is a "setup.exe" separate from that .msi file. When I send my
application to a second machine I can run the .msi and get my application
onto that computer. However, even though I set the "Remove prior versions"
to true, it stops and tells me to use add/remove to remove the prior
version.


That's a problem some people reported. I don't have more info on that
topic.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
al
hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<bt************@ID-208219.news.uni-berlin.de>...
* "Ot" <ur***@tds.invalid (use net)> scripsit:
"Setup.exe" can do some checks before launching the setup (for example
remove previous versions, ...


That's way cool. How do I get the installer to remove prior version?

I have VB.NET Standard. In my setup project I generate an .msi file and


Select the setup project in the project explorer and have a look at the
property window. There you will find an option to do that.
there is a "setup.exe" separate from that .msi file. When I send my
application to a second machine I can run the .msi and get my application
onto that computer. However, even though I set the "Remove prior versions"
to true, it stops and tells me to use add/remove to remove the prior
version.


That's a problem some people reported. I don't have more info on that
topic.


Wagner,

Thank you, that did clear something to me. There is another strange
behavior of vb.net P&D. My app (NorthwindApp) includes Excel related
com files. When I was doing the P&D, I went to File System option of
the setup project and added the EXE of NorthwindApp to a sub folder I
created in the "User's Program Menu". I installed NorthwindApp on my
development machine. I was able to run NorthwindApp(including opening
Excel) just fine from the installation directory. however, when I go
to Start-->Programs-->NorthwindApp, and try to open Excel, the whole
app crashes, saying some Excel related files are missing??????

Any idea how this happened??

MTIA,
Grawsha
Nov 20 '05 #7
Ot

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bt************@ID-208219.news.uni-berlin.de...
* "Ot" <ur***@tds.invalid (use net)> scripsit:

Select the setup project in the project explorer and have a look at the
property window. There you will find an option to do that.

That's a problem some people reported. I don't have more info on that
topic.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>


I found some answers to my own question, but not all.

After you pointed me at the setup properties... I found this:

RemovePreviousVersions

Specifies whether an installer will remove previous versions of an
application during installation. If this property is set to True and an
earlier version is detected at installation time, the previous version's
uninstall function will be called.

Note The installer checks UpgradeCode and ProductCode properties to
determine whether the earlier version should be removed. The UpgradeCode
must be the same for both versions; the ProductCode must be different.

Important: Note the last 5 words. I found that when I did, indeed, make a
different Product Code in the deployment project it went ahead and
installed over the prior stuff.

Also...

DetectNewerInstalledVersion

Specifies whether to check for newer versions of an application during
installation on a target computer. If this property is set to True and a
higher version number is detected at installation time, installation will
end.

As near as I can tell, this checks the version number located in the
deployment project properties, not the version number found in the
assembly.vb.

Regards,
Ot

Nov 20 '05 #8

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

Similar topics

2
by: Jim Slade | last post by:
I downloaded the .NET Framework SP2 exe to a Windows Server 2003 (standard) machine, double clicked on the exe and got a message that starts out: "The upgrade patch cannot be installed by the...
0
by: Tiziano | last post by:
I currently have installed .NET Framework 1.1 (_not_ the SDK version, though) on a Win2K PC. I am unable to apply the above-mentioned service pack via Windows Update. In the middle of the...
3
by: Ian Rowland | last post by:
Is there a way, using managed code, to determine the Service Pack of the OS without resorting to registry calls? OSVersion doesn't give this information. It seems the only way is to use the...
0
by: InstallAware | last post by:
Dear Group If you want to perform a slipstreamed install of .NET Framework 1.1, including Service Pack 1, here's how. First, what do we mean by slipstreamed install? It means that version 1.1...
18
by: jayderk | last post by:
a customer was trying to install some of our software after they installed the windows XP service pack 2 and he is getting a message that says something about it not being compatable with windows...
1
by: Mark Fitzpatrick | last post by:
I haven't seen anyone mention it here yet so I thought it would be worth noting that MS has apparently released VS 2005 Service Pack 1. It's available at:...
29
by: Mark Rae | last post by:
http://msdn.microsoft.com:80/vstudio/support/vs2005sp1/default.aspx 1) This is big - nearly 500Mb 2) If you have WAP installed, you must uninstall it first - WDP doesn't need to be uninstalled...
3
by: cpasmwalolo | last post by:
Hello thezre, I recently installed the SP1 of visual studio, just before releasing a new version of my application. And I never though that this SP1 could change something fondamental in the...
0
by: =?Utf-8?B?VmFpYmhhdg==?= | last post by:
i m getting an error while intalling MUI Pack on Windows server 2003 R2 64 bit SP2 version. Error in eventvwr is " Windows installer package cannot install or upgrade one or more windows protected...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.