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
Solved

Package and Deployment Wizard

Posted on 2002-05-27
4
157 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

838 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