SETUP

 I have two versions of a program one for 14 and 15 inch monitors and one for 17 and larger. Using the SETUP program that comes will VB4 16 bit, can I let the user choose from within the setup program which version to install, or what is my best option & how do I pull it off?
ralphyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

gwambCommented:
U can customize your Setup.

Source code for Setup1.exe is located on install CD.
0
moterkCommented:
If you do not want to modify your setup app then you can do the following.  Create a separate setup for each version and then write a small app that prompts the users for the version they want.  Then have that small app launch the appropriate setup.

Or many comertial setup creation apps will allow you to do this with one setup.  So if you plan to have a lot of apps that will install differently on different machines, you should concider investing in a comertial setup app.
0
ralphyAuthor Commented:
I found the place in frmsetup1- form_load
right below "showbeginform"
where it says
'this would be a good place to display an option dialog, etc.
I want the user to pick one of two xxxxx.ex_ files, all other files in the setup proceedure are the same.
To reiterate my original question HOW do I pull it off?
Thanks Guys
Ralphy
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

gwambCommented:
There are two steps how to customize your setup1.

1) Look into Setup.lst file. This will be generated by Setup wizard. In this file is section [Files]. All files from this section will be installed by default.
Create other section. E.g. [Screen1] and [Screen2]. In section [Screen1] insert files for 14 and 15 monitors and in section [Screen2] files for 17 monitors.

2) Edit frmSetup1.frm.
Create variable e.g. b15Monitor as Boolean. If this variable is True, than this installation is for 14 and 15 monitor.
Create option dialog in which user check type of installation.

----

In source code find "CalcDiskSpace gstrINI_FILES".
After this line insert

if b15Monitor then
   CalcDiskSpace "Section1"
else
   CalcDiskSpace "Section2"
end if

----

Next find CopySection gstrINI_FILES

After this line insert

if b15Monitor then
   CopySection "Section1"
else
   CopySection "Section2"
end if

----

Create Setup1.exe. Then create Setup installation and try.
0
ralphyAuthor Commented:
qwamb:
     Thanks for your help. One more question how do I create the dialog box?
     Go ahead and lock the question and claim your points.
Thanks
Ralphy
0
gwambCommented:
Create normal form.
Open this form via Form.Show vbModal.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.