Solved

Package and Deployment Wizard

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

706 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

15 Experts available now in Live!

Get 1:1 Help Now