473,725 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ 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 2030
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****@discuss ions.microsoft. comwrote in message
news:28******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. comha scritto nel messaggio
news:28******** *************** ***********@mic rosoft.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****@discuss ions.microsoft. comha scritto nel messaggio
news:28******** *************** ***********@mic rosoft.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
2230
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 incremental only. My question is for the first weekend incremental backup, it took for example 1h, but the second weekend incremental took almost 3 hours. It seems always this way, so I suppose it is not related to the data change. And we almost had some...
1
3482
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 - backup - * backup db2 in full * insert record
6
6557
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 (.lib)". My question: Should the linker incrementally link when I make a change to one of the ..cpps in one of my .lib projects? For VC6 the answer is yes.
0
1671
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 out. Short answer: I should never have expected incremental linking to work. Short answer addendum: Linking is slower in 7.1/.net/2003 than VC++6. ===
3
2271
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 files of different sizes - from less than 1Mb to tens of MBs). The problem is that option /incremental:yes does not have any effect on the link time. I observe that the linker removes existing executable and re-links it from scratch.
2
2987
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 (as opposed to having to use a backup copy of the back-end). In the past, for the table backup operation, I was simply deleting all of the data from the table backup and then using an append query of data from the main table. To restore, I was...
2
3965
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 that despite low activity in the database, the delta backups are the same size as the full backups. Using db2look I've found that there is a number of tables with BLOBS in them. Would it help to move theses tables to a separate tablespace...
2
2008
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 masterfiles assembly (which contains essentially just reference file business objects) is currently 6Mb in size, and changing one line of code causes a complete recompile. I noticed older versions of csc.exe supported the /incremental build option.
3
2921
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 it seems to work.
0
8752
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9174
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6011
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4517
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4782
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
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 we have to send another system
3
2157
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.