Hi all
I guess it is not the right group for this problem, but I can't find a
Newsgroup about Setup projects.
Visual studio 2005 SP1
My Setup project (.vdproj) is very simple. The project's output (msi
package) contain one EXE and three DLLs (created in C#) that should be
copied to an existing folder, where an older version already exist. The
installer should replace these files with the new ones.
The existing files are NOT write-protected.
If I run the Setup when the old files exist in the target folder, they are
NOT replaced. If the old files are removed, the new ones are installed
properly.
Any solution?
TIA
Boaz Ben-Porat
Milestone System
Denmark 6 5764
Could the files you're trying to replace be currently in use?
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote. http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Boaz Ben-Porat" wrote:
Hi all
I guess it is not the right group for this problem, but I can't find a
Newsgroup about Setup projects.
Visual studio 2005 SP1
My Setup project (.vdproj) is very simple. The project's output (msi
package) contain one EXE and three DLLs (created in C#) that should be
copied to an existing folder, where an older version already exist. The
installer should replace these files with the new ones.
The existing files are NOT write-protected.
If I run the Setup when the old files exist in the target folder, they are
NOT replaced. If the old files are removed, the new ones are installed
properly.
Any solution?
TIA
Boaz Ben-Porat
Milestone System
Denmark
"Boaz Ben-Porat" <bb*@milestone.dkwrote in message
news:uC**************@TK2MSFTNGP03.phx.gbl...
Hi all
I guess it is not the right group for this problem, but I can't find a
Newsgroup about Setup projects.
Visual studio 2005 SP1
My Setup project (.vdproj) is very simple. The project's output (msi
package) contain one EXE and three DLLs (created in C#) that should be
copied to an existing folder, where an older version already exist. The
installer should replace these files with the new ones.
The existing files are NOT write-protected.
If I run the Setup when the old files exist in the target folder, they are
NOT replaced. If the old files are removed, the new ones are installed
properly.
Any solution?
MSI uses file versioning to determine if it needs to copy a file. If the
existing file has a version that is equal to or greater than than the file
in the MSI, the file is NOT copied.
Hi Peter
The answer is No. The files are not in use.
Boaz Ben-Porat
"Peter Ritchie [C# MVP]" <PR****@newsgroups.nospamskrev i en meddelelse
news:3F**********************************@microsof t.com...
Could the files you're trying to replace be currently in use?
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote. http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Boaz Ben-Porat" wrote:
>Hi all I guess it is not the right group for this problem, but I can't find a Newsgroup about Setup projects.
Visual studio 2005 SP1
My Setup project (.vdproj) is very simple. The project's output (msi package) contain one EXE and three DLLs (created in C#) that should be copied to an existing folder, where an older version already exist. The installer should replace these files with the new ones.
The existing files are NOT write-protected.
If I run the Setup when the old files exist in the target folder, they are NOT replaced. If the old files are removed, the new ones are installed properly.
Any solution?
TIA
Boaz Ben-Porat Milestone System Denmark
Hi John.
I can't see my last reply to this mail, so I swnd it again.
Is there any way to force overwriting regardless of file version (some
switch or property in the installer) ?
TIA
Boaz Ben-Porat
"John Vottero" <JV******@mvpsi.comskrev i en meddelelse
news:CC**********************************@microsof t.com...
"Boaz Ben-Porat" <bb*@milestone.dkwrote in message
news:uC**************@TK2MSFTNGP03.phx.gbl...
>Hi all I guess it is not the right group for this problem, but I can't find a Newsgroup about Setup projects.
Visual studio 2005 SP1
My Setup project (.vdproj) is very simple. The project's output (msi package) contain one EXE and three DLLs (created in C#) that should be copied to an existing folder, where an older version already exist. The installer should replace these files with the new ones.
The existing files are NOT write-protected.
If I run the Setup when the old files exist in the target folder, they are NOT replaced. If the old files are removed, the new ones are installed properly.
Any solution?
MSI uses file versioning to determine if it needs to copy a file. If the
existing file has a version that is equal to or greater than than the file
in the MSI, the file is NOT copied.
I can't see my last reply to this mail, so I swnd it again.
>
Is there any way to force overwriting regardless of file version (some
switch or property in the installer) ?
I once did a lot of MSI work and although my memory of the subject has grown
fuzzy, I strongly recommend against this. There are a lot of carefully
crafted rules surrounding MSI versioning and it's not a good idea to play
around with them. It's complicated business with trap doors you don't want
to fall into. You should read up on the subject and version your files
accordingly. Let MSI take care of updating your files according to the usual
rules of file replacement.
"Boaz Ben-Porat" <be******@tdcadsl.dkwrote in message
news:eq**************@TK2MSFTNGP02.phx.gbl...
Hi John.
I can't see my last reply to this mail, so I swnd it again.
Is there any way to force overwriting regardless of file version (some
switch or property in the installer) ?
No, not that I know of. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: D & J G |
last post by:
Hi all
I appear to have lost my setup wizard. Is there anywhere that I can
download this function (upgrade?) or will I have to re-install the whole of
VB6?
TIA
Don
|
by: Wilson Ricardo Passos Oliveira |
last post by:
Hi fellows,
I have two simple questions regarding the Framework's deploy and the Setup
and Deploy Projects:
1. As I've read in another posts and newsgroups (and as I can imagine),
VS.NET...
|
by: vidya |
last post by:
Hi,
I built an installer for my application. When i ran it for testing the
build,
I found that it doesn't copy the dll files if they already exist in the
destination folder.
The copy doesn't...
|
by: Christopher Benson-Manica |
last post by:
(Followups set to comp.std.c. Apologies if the crosspost is unwelcome.)
strchr() is to strrchr() as strstr() is to strrstr(), but strrstr()
isn't part of the standard. Why not?
--...
|
by: Oz |
last post by:
Hi
We in our company build asp.net and MS SQL Server apps for deployment on
clients' machines. We have created an Installer class (DBInstaller) which
runs several scripts to build a database,...
|
by: Howard Kaikow |
last post by:
When I build a setup project, the dependency in the setup project is tied to
the version in which it was built.
Is there a way to build a setup project that can be used in both versions of
the...
|
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= |
last post by:
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.
But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know...
|
by: Robin Becker |
last post by:
I'm getting this error whilst building simplejson-1.7.3 with "setup.py install"
on a win32 platform.
........
creating build\bdist.win32\egg\EGG-INFO
removing...
|
by: Blau |
last post by:
While trying to learn from some sample projects i'm running into a
problem.
The setup that I have is One Solution with two projects. (usually a
library that is being developed along side an...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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...
|
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...
|
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,...
|
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...
| |