• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

vb6 Package & Deployment -- customize

When running the install program, I get a lot of dialog boxes popping up asking me if I want to keep the new file already on the computer.  Is there some way to turn this off, and by default keep all the latest files?
0
rrhandle8
Asked:
rrhandle8
  • 2
  • 2
1 Solution
 
eemitCommented:
The sample code here is a modified version of VB6 Setup1 Project (Package and Deployment Wizard).
http://www.jsware.net/jsware/vbcode.php5#set1
0
 
rrhandle8Author Commented:
I didn't see anything that told me how to silence the dialog windows.  If there is something there, can you please explain?
0
 
eemitCommented:
In ModInstall, Function SourceFileIsNewer, Line:
If sFile.varDate > datDest Then  '--changed < to > (see below)
    '---------change: < to > above. this sub checks whether source (installing)
    '-- file is newer than current file on machine.
    '-- if it can't find versions it compares dates,
    '-- but the date check was backwards.
0
 
rrhandle8Author Commented:
Thank you.  I will try it.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now