Solved

Package and Deployment Wizard

Posted on 2002-05-27
4
161 Views
Last Modified: 2010-05-02
Can anyone please tell me how to customize my application install so that i won't get the following message

" the file you are coping is newer than the one on your machinge do you wish to replace............"

If the version of the file is newer than the one on the clients PC i want to replace it automatically.

0
Comment
Question by:mkolanu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7038112
open setup1.vbp and find the message.
0
 

Author Comment

by:mkolanu
ID: 7038144
I have found some code in copysection sub of bassetup1 but iam confused about what lines to change to see is it works. Could you help?
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 100 total points
ID: 7038192
Find this code (I have at line 1260):

    'Source file is not newer than destination file;
    'prompt user for what to do
    '
    Set frm = New frmOverwrite
    frm.FileName = strDestDir & strDestName
    frm.Version = strDestVer
    frm.Description = GetFileDescription(strDestDir & strDestName)
    frm.Show vbModal, frmSetup1
    owValue = frm.ReturnVal
    Set frm = Nothing

Comment it all and add this line instead:

    owValue = owYes
0
 

Author Comment

by:mkolanu
ID: 7038237
Thnkyou very much for your time. That helps
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question