CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2000
    Location
    Baton Rouge, Louisiana, USA
    Posts
    51

    need Packaging and Deployment help

    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


  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: need Packaging and Deployment help

    Go to project properties and change the name of your project. This new name will appear by default in P&DW.


  3. #3
    Join Date
    Nov 2000
    Location
    Ohio
    Posts
    238

    Re: need Packaging and Deployment help

    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




  4. #4
    Join Date
    Jul 2000
    Location
    Baton Rouge, Louisiana, USA
    Posts
    51

    Re: need Packaging and Deployment help

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured