Solved

vb6 Package & Deployment -- customize

Posted on 2014-03-17
4
130 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

This very simple solution applies to a narrow cross-section of the "needs to close" variety. In this case, the full message in Event Viewer was in applog, Event ID 1000: Faulting application iexplore.exe, version 8.0.6001.18702, faulting module …
As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

744 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

12 Experts available now in Live!

Get 1:1 Help Now