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 5805
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******** ******@TK2MSFTN GP03.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****@newsgro ups.nospamskrev i en meddelelse
news:3F******** *************** ***********@mic rosoft.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******** *************** ***********@mic rosoft.com...
"Boaz Ben-Porat" <bb*@milestone. dkwrote in message
news:uC******** ******@TK2MSFTN GP03.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******@tdcad sl.dkwrote in message
news:eq******** ******@TK2MSFTN GP02.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 IDE isn't capable of create a setup and deploy project and, in a
elegant way, during the setup process, detect the absence of the Framework.
In this case, I'd like to run the Dotnetredist.exe file, first, and the
|
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 happen even if the dlls in the destination folder are older
than the dll files in the Installer package.
Can someone help how i can force the copy of the dll files in the Setup
|
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?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
|
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, populate it will data, etc. I
would like to be able to create a setup file, which, if the application is
NOT installed on the client computer, installs from scratch. This already
works in the MSI file we create. However, if the application DOES...
| |
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 Framework?
There is provision to build the app's .exe so that the .exe can be used in
either version of the framework, is there not a way to do this for the setup
project? I looked at the options, did not find any. Did I miss something?
--
|
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 what needs to be done to ensure that DLLs are produced &
not code files.
Note: BOTH 'codebehind' & 'SRC' attribute has been used.
--
|
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 simplejson.egg-info\native_libs.txt
copying simplejson.egg-info\PKG-INFO -build\bdist.win32\egg\EGG-INFO
copying simplejson.egg-info\SOURCES.txt -build\bdist.win32\egg\EGG-INFO
copying simplejson.egg-info\dependency_links.txt -build\bdist.win32\egg\EGG-INFO
copying...
|
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 application.)
In the examples that I am learning from, they have a "content" folder
in the library solution, which stores various things like font files.
In the examples, the application project does not have its own folder
with the same content,...
|
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,...
|
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...
| |
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...
|
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,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |