473,471 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Incremental increase in setup size

Hello...

I posted this a couple of weeks back, but could't get a reply, so trying
again!

I use the Setup project in C# to create a .msi file to be distributed to the
clients.
The size of .msi is 12 MB. This file works fine on all the target machines,
but on the development machine every time I remove the existing .msi (from
add/remove programs) and install a new version, the size increases by 13-14
MB.
Since i have to install the .msi multiple times... this size increase is
causing a lot of problems.... I am already on 200 MB :)
Any ideas what is going wrong? Is the uninstall not working as expected?
Everything is fine on the target machines though!

Thanks.

Feb 27 '07 #1
4 1998
Which size are you talking about? The size of .msi itself, the installation
directory's size, or whatever shows in the Add/Remove programs UI?

Is the installation directory removed completely after the Uninstall, or are
there some 'leftovers' hanging there?

Does your installation create new Registry keys, which the uninstall process
does not remove?
"Gaurav" <Ga****@discussions.microsoft.comwrote in message
news:28**********************************@microsof t.com...
Hello...

I posted this a couple of weeks back, but could't get a reply, so trying
again!

I use the Setup project in C# to create a .msi file to be distributed to
the
clients.
The size of .msi is 12 MB. This file works fine on all the target
machines,
but on the development machine every time I remove the existing .msi (from
add/remove programs) and install a new version, the size increases by
13-14
MB.
Since i have to install the .msi multiple times... this size increase is
causing a lot of problems.... I am already on 200 MB :)
Any ideas what is going wrong? Is the uninstall not working as expected?
Everything is fine on the target machines though!

Thanks.

Feb 27 '07 #2
Gaurav wrote:
Hello...

I posted this a couple of weeks back, but could't get a reply, so trying
again!

I use the Setup project in C# to create a .msi file to be distributed to
the clients.
The size of .msi is 12 MB. This file works fine on all the target
machines, but on the development machine every time I remove the existing
.msi (from add/remove programs) and install a new version, the size
increases by 13-14 MB.

Since i have to install the .msi multiple times... this size increase is
causing a lot of problems.... I am already on 200 MB :)

Any ideas what is going wrong? Is the uninstall not working as expected?
Everything is fine on the target machines though!
If you are talking about the size reported in Add or Remove programs, that
number is known to be innaccurate on a good day. Perform an uninstall and
then manually check to make sure your installed files are properly removed
and any registry entries you created gone. If that is happening then you
should be OK to not worry about the size reported by Add or Remove programs.
--
Tom Porterfield

Feb 27 '07 #3
The size "reported" by the Add/Remove programs is just an educated guess.
Not to worry too much.
(you can read more about it here:
http://blogs.msdn.com/oldnewthing/ar...9/178342.aspx).
If you see that happening from the disk usage, thats another problem.
If your program creates files under the installation directory at runtime (a
bad habit), the msi uninstall does not remove them, so you could have a lots
of runtime files under there that increase the size every time.
"Gaurav" <Ga****@discussions.microsoft.comha scritto nel messaggio
news:28**********************************@microsof t.com...
Hello...

I posted this a couple of weeks back, but could't get a reply, so trying
again!

I use the Setup project in C# to create a .msi file to be distributed to
the
clients.
The size of .msi is 12 MB. This file works fine on all the target
machines,
but on the development machine every time I remove the existing .msi (from
add/remove programs) and install a new version, the size increases by
13-14
MB.
Since i have to install the .msi multiple times... this size increase is
causing a lot of problems.... I am already on 200 MB :)
Any ideas what is going wrong? Is the uninstall not working as expected?
Everything is fine on the target machines though!

Thanks.

Feb 28 '07 #4
Thanks. I am referring to the size shown in Add\Remove Programs.

After the uninstallation, all traces from the Program Files\[Application
Name] folder are removed. I am not sure why it happens only on the Dev
machine and not on the client machines.

Also, I uninstall the application from Add\Remove programs.
But the incremental increase in size is something which is really strange!!!

"Laura T." wrote:
The size "reported" by the Add/Remove programs is just an educated guess.
Not to worry too much.
(you can read more about it here:
http://blogs.msdn.com/oldnewthing/ar...9/178342.aspx).
If you see that happening from the disk usage, thats another problem.
If your program creates files under the installation directory at runtime (a
bad habit), the msi uninstall does not remove them, so you could have a lots
of runtime files under there that increase the size every time.
"Gaurav" <Ga****@discussions.microsoft.comha scritto nel messaggio
news:28**********************************@microsof t.com...
Hello...

I posted this a couple of weeks back, but could't get a reply, so trying
again!

I use the Setup project in C# to create a .msi file to be distributed to
the
clients.
The size of .msi is 12 MB. This file works fine on all the target
machines,
but on the development machine every time I remove the existing .msi (from
add/remove programs) and install a new version, the size increases by
13-14
MB.
Since i have to install the .msi multiple times... this size increase is
causing a lot of problems.... I am already on 200 MB :)
Any ideas what is going wrong? Is the uninstall not working as expected?
Everything is fine on the target machines though!

Thanks.


Mar 7 '07 #5

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

Similar topics

1
by: jane | last post by:
HI, I had a question on incremental backup. We had an incremental backup every weekend. We did full backup every other week. That is one week incremental + full , the other week is...
1
by: Jimmy Chen | last post by:
Recently I've done a db2 backup and restore/recovery, but the process for recovering the database was different than what I thought to be. here is what I did: DB2 is set in online mode -...
6
by: Rudy Ray Moore | last post by:
I work with a multi-project workspace. One project (the "startup" project) has a "Configuration Type" of "Application (.exe)". The other 40 projects have a "Configuration Type" of "Static Library...
0
by: Rudy Ray Moore | last post by:
I've been having trouble getting incremental linking to work under Visual C++ .net 2003 7.1 for my multi-project workspace. Ronald Laeremans and Carl Daniel (and a few others) helped me figure it...
3
by: Alex Shturm | last post by:
Hi, I am trying to activate incremental link using VC7 (.NET 2003) on a pretty big project (executable size is more than 100Mb, and it gets linked from several dozen of libraries and object...
2
by: rdemyan via AccessMonster.com | last post by:
For some of my really important tables, I have backup tables in the backend file. The idea is that if a user accidentally screws up data, they can go to a form and restore from the backup table...
2
by: Lennart | last post by:
We have recently moved a ClearQuest database to db2 V8 on linux. We take a full compressed backup on sundays (~400Mb) and compressed incremental/incremental delta other weekdays. What puzzles me is...
2
by: Brett.Shearer.AUS | last post by:
I work on a reasonably large project (if yours is bigger, please tell me just how big) and am wondering how other people are partitioning their assemblies/dealing with slow build times? Our...
3
by: Jurgen Haan | last post by:
Hi all. Yesterday we decided to switch from full online nightly backups to the following schema: sun: full online mon-sat: incremental online. Important to note; we don't use deltas. Well...
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,...
1
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...
0
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.