Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to give user choices on installation?

Status
Not open for further replies.

chrisjs

Programmer
Sep 11, 2001
6
GB
Hi
Ive been using the package and deployment wizard for my VB6 application but now I need to give the users some setup choices, which will be written to an .ini file. For example to allow them to choose the default com port.

I cant see how to use the PDW for this. Does anyone have a good 'seamless' way of doing this?

Thanks
Chris
 
Yes, but it is a little involved.

PLEASE MAKE A BACKUP COPY OF THE ORIGINALS BEFORE YOU PROCEED DOWN THIS PATH.

If you look in the following directory (this is the default directory - yours may be different depending on where you installed VisStudio) you will find a project called SETUP1.

C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1

You can modify the Setup1.frm code to perform additional tasks. You should be able to modify this project to perform whatever tasks you need.


A couple of other notes:

1). After you compile your new setup1.exe, you need to copy it up into the PDWizard directory. SAVE THE SETUP1.EXE that is already there, then copy your new one into place.

2). Be sure to include your addition progams (if you have any) on your disttribution media.

3). Previous threads have identified the known problems with the installation of the STDOLE2, OLEAUT32, and OLEPRO32 dlls, with version problems. If you look in the Redist directory, underneath PDWizard, you will find copies of these DLLs. SAVE FIRST, then you can put your own specific copies/versions of these DLLs in the Redist directory, and those will be the ones included with your installation.
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top