?
Solved

vb6 Package & Deployment -- customize

Posted on 2014-03-17
4
Medium Priority
?
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1200 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
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)…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

741 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