Solved

Installing two executables in one folder

Posted on 2013-01-19
7
226 Views
Last Modified: 2013-01-20
My VB6 project has two executables, with associated (shared) data files, and one OCX (used by both executables).

Because data files are shared between the two executables, It would be best if both sets of files were installed into the same folder on the client’s machine.

Preparing to make the installer: At this moment, I have each set of files in separate folders named “BuildA” and “BuildB”. (I’ve taken care that there are no name duplicates.)

What is the proper way to build my installer?

I’m open to suggestions for a commercial installer, or should I use the one available in VB?
0
Comment
Question by:NormaPosy
  • 4
  • 3
7 Comments
 
LVL 45

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 38797185
Well, I can tell you for sure that the Package & Deployment Wizard that comes with VB6 is not the one to use unless your user community all use Window XP or earlier. The reason for that is as you are probably aware, VB6 is out of date and while it is still very useful, the P&D Wizard knows nothing about the post-XP operating systems. Here's a page that talks about some alternatives. Note that the InnoSetup that's mentioned has a more user-friendly UI called InnoScript.
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 38797194
The JSWare products mentioned (which I wasn't aware of) look very interesting.
0
 

Author Comment

by:NormaPosy
ID: 38797620
Martin:

Do I understand correctly that InnoSetup will do whatever conversion is necessary to have the installed application run on Windows 7?
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 45

Expert Comment

by:Martin Liss
ID: 38797731
Support for every Windows release since 2000, including: Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows XP, Windows Server 2003, and Windows 2000. (No service packs are required.)
The above is from their website.
0
 

Author Comment

by:NormaPosy
ID: 38797765
OK. Good so far. InnoScript is easy to use.

These installers seem to assume there will be just one exe. I have two, and since they read files generated by each other, it would be most convenient if both installed into the same folder.

Tomorrow I will run InnoScript twice, telling it to install into the same folder.

There is an alternative: I could make a VB "dashboard" having only two command buttons (plus "Exit" of course). That will require me to combine my two VB individual projects into one. That is going to be tedious, but it might be worth the effort.

Or, I might try customizing the InnoScript's script to create two programs in the same folder, with the two corresponding desktop shortcuts.

Another alternative is to store the communicating files somewhere else, and let InnoScript make two separate installations. That will require some source code revision, but that will not be difficult.

I appreciate your help. I will get back to you tomorrow. Hopefully this question can be closed then.
0
 

Author Closing Comment

by:NormaPosy
ID: 38798806
Thank you, Martin.

InnoSetup seems to be what I was looking for. Smooth and easy to use, too.

My "dashboard" idea:

Rather than combine source code for my two executables under one "Main" dashboard, I am going to leave them as they are. I am going to make a simple VB "dashboard" with two command buttons, each of which will launch one of my existing program executables.

I don't know how to do that, but I will post it as a new question.
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 38798827
You're welcome and I'm glad I was able to help.

Marty - MVP 2009 to 2012
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

762 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

22 Experts available now in Live!

Get 1:1 Help Now