?
Solved

Application Setup Package control

Posted on 2009-04-14
9
Medium Priority
?
306 Views
Last Modified: 2012-05-06
I have a VB5 program that I create a package with.  I also need to include an additional  .exe program (just that one file) that is VB6.  I need to know how to include the .exe file in with my application package so it also gets installed and I also need it to be the first one that executes.  Right now the VB5 is automatically the one the Setup program defaults to.  Any suggestions, Thank You
0
Comment
Question by:GarySB
[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
9 Comments
 
LVL 13

Expert Comment

by:game-master
ID: 24144300


GOOD MORNING!

USING THE PACKAGE AND DEPLOYMENT WIZARD YOU CAN ADD FILE TO YOUR SET-UP PACKAGE..




GAME-MASTER
0
 
LVL 1

Expert Comment

by:deepakra79
ID: 24145589
In P&D wizard, as you added your own exe, the same way you can add any exe or file.
0
 

Author Comment

by:GarySB
ID: 24164424
Agreed, the problem is not adding the .exe to the package.  Any file or files can be added to the P&D package.  The problem is I want the .exe VB6 program to be the one the Icon points to after the package is installed.  My VB5 program by default since it is the one being packaged will be the target of the Icon after the Setup finishes.  The other VB6.exe is the one I need to be the first one that executes.  I use a shell from the VB6 program to execute the VB5 one.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:deepakra79
ID: 24174345
You can select the required executable from the Start Menu Items - Properties window. It shows all the added files, you can select the one you want to run.
P-D.JPG
0
 

Author Comment

by:GarySB
ID: 24177372
This is a program that I am giving other people to install.  It is not profesional to ask them to go into the properties after it is installed and change the target to the other application file.  This is not a personal problem I am having with a program on my computer.  This is a package that I wish to give to others and I require the other program to be the target.  Do you know a way in VB6 or VB5 to change the Target regardless of which operating system a user has.  So if my program as it is installing now has B.exe as the target, but I really want A.exe. What VB instructions could change that?  Can you think of any other approach to have the VB6 turn out as the target result of the P&D setup? Thank You.  
0
 
LVL 5

Accepted Solution

by:
BrianVSoft earned 1000 total points
ID: 24183371
The file SETUP.LST controls which exe is run first..
This file is created by the Deployment Wizard.. Open it in notepad and find this section..

[Setup]
Title=Whizz-Bang App
DefaultDir=C:\Whizz
AppExe=Whizz.exe
AppToUninstall=Whizz.exe

Change the line starting with "AppExe="
You can also change.. DefaultDir=
0
 
LVL 1

Expert Comment

by:deepakra79
ID: 24185021
I think you did not understood what I provided to you. I asked you to set target program in you setup build part itself. I think you need to go through all the things properly first and then comment on anything. It is not something that I am asking your customer to change.
0
 

Author Comment

by:GarySB
ID: 24188631
Understand, I will be able to try this evening, Thank You
0
 

Author Closing Comment

by:GarySB
ID: 31570070
The SETUP.LST was exactly what I needed to change for each of my programs so that they would share the same new created folder and they both point to the same .exe file to run so that the Programs Icon points to my VB6 program.  The other comment about changing the Start Menu Items Properties was not what I was looking for in my particular situation or adding it to the package would not incorporate the additional dependency files.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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