|
-
Feb 9th, 2000, 01:07 AM
#1
Thread Starter
New Member
I have been using the package and deployment wizard in vb6 to create an install program for my package.
Is there any way that I can get information from the user during the installation.
It is required that the user has another piece of software (not a part of the project that I'm implementing, so I'm not going to make it a dependancy).
I just want to have a message prompt the user on installation.
"Input the path to your management software"
Then get the user to browse through their harddisk and select the folder that contains the software. I could use that value in the code later on when i want to use those files.
(This is nothing to do with App.path as I'm not the one who installs that software.)
-
Feb 9th, 2000, 02:58 AM
#2
Addicted Member
The package and deployment wizard's source code is included with Visual Basic and is very well commented. There is just one Sub where you could place your code with msg boxes and so forth.
Just backup the original Setup1 directory.
How it works, is there is a folder in your visual studio folder ... something like
..\VB98\Wizards\PDWizard\
That's where the setup1.exe file that the deployment wizard uses is located. Simply edit the Setup1.vpb file in the
..\VB98\Wizards\PDWizard\Setup1\
folder, compile it, and copy it to
..\VB98\Wizards\PDWizard\
The directory names may vary slightly onn your version of Visual Studio. Don't forget to backup!
------------------
Micah Carrick
http://micah.carrick.com
[email protected]
ICQ: 53480225
-
Feb 9th, 2000, 07:31 PM
#3
Thread Starter
New Member
Thanks very much, that's great. just one more thing about that.
If I do read in a string from the setup procedure, how do I get my code to use it. I think it's out of scope of my code. I could write it to a file when I get it from the user and read from that file each time the package is loaded but I'd prefer to read the string in at setup time and be able to use that string later in MY own code.
-
Feb 9th, 2000, 07:56 PM
#4
Hyperactive Member
Save it in the registry, or in an ini file.
-
Feb 9th, 2000, 08:14 PM
#5
Thread Starter
New Member
Yeah, looks like I'll have to go with the ini file, thanks, don't know enough about the registry to make entries in it from a VB application
Thanks guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|