Package and Deployment Wizard

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.

mkolanuAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
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
 
Éric MoreauSenior .Net ConsultantCommented:
open setup1.vbp and find the message.
0
 
mkolanuAuthor Commented:
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
 
mkolanuAuthor Commented:
Thnkyou very much for your time. That helps
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.