Solved

Package and Deployment Wizard

Posted on 2002-05-27
4
152 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
  • 2
  • 2
4 Comments
 
LVL 69

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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now