Solved

vb6 Package & Deployment -- customize

Posted on 2014-03-17
4
134 Views
Last Modified: 2014-03-31
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
Comment
Question by:rrhandle8
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:eemit
ID: 39935367
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
 

Author Comment

by:rrhandle8
ID: 39946645
I didn't see anything that told me how to silence the dialog windows.  If there is something there, can you please explain?
0
 
LVL 15

Accepted Solution

by:
eemit earned 300 total points
ID: 39946692
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
 

Author Comment

by:rrhandle8
ID: 39960636
Thank you.  I will try it.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

831 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