Click to See Complete Forum and Search --> : need Packaging and Deployment help
W P Hames
May 1st, 2001, 03:05 PM
I am using the Packaging and Deployment wizard for VB6, and am trying to set up my application to install to a certain location. If I run through most of the defaults, the default location will be set up in C:\program files\project1, whcih is not what I want. How do I change project1 to what I want?
Thanks in advance!
Patrick
shree
May 1st, 2001, 09:18 PM
Go to project properties and change the name of your project. This new name will appear by default in P&DW.
Joe Keller
May 2nd, 2001, 09:37 AM
the PDW creates a .lst File that contains the standard setup information that appears on the dialog screens. If you edit this file you can change some of the variables.
[IconGroups]
Group0=YourGroup
PrivateGroup0=True
Parent0=$(Programs)
[Esp32]
Icon1="YourProgram.exe"
Title1=YourTitle
StartIn1=$(AppPath)
[Setup]
Title=[The Title that Appears on the main screen]
DefaultDir=$(ProgramFiles)\[The directory you want]
AppExe=YourProgram.exe
AppToUninstall=YourProgram.exe
You will want to modify the areas I have bracketed. Any part of this file is editable.
If you want even further control of your setup you can modify the setup1.vbp file that is located in...
C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1
this is the complete setup program.
You will need to recompile this program and then put it in the support directory for your installation then rebuild the cab file.
You should be able to look some information up about this process on the MSDN library if you have it and if not there may be some information regarding the process on the MS Knowledge base.
Good Luck
Joe
W P Hames
May 4th, 2001, 10:49 AM
I played around with it and found out how to change it (after the fact) - it was another way, but because of your post I see now how to affect it ahead of time. Thanks for the info!
Patrick
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.