Link to home
Start Free TrialLog in
Avatar of GarySB
GarySB

asked on

Application Setup Package control

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
Avatar of game-master
game-master
Flag of Philippines image



GOOD MORNING!

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




GAME-MASTER
Avatar of deepakra79
deepakra79

In P&D wizard, as you added your own exe, the same way you can add any exe or file.
Avatar of GarySB

ASKER

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.
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
Avatar of GarySB

ASKER

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.  
ASKER CERTIFIED SOLUTION
Avatar of BrianVSoft
BrianVSoft
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of GarySB

ASKER

Understand, I will be able to try this evening, Thank You
Avatar of GarySB

ASKER

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.