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
Solved

vb6 Package & Deployment -- customize

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Viewers will learn the different options available in the Backstage view in Excel 2013.
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 …

861 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