Results 1 to 9 of 9

Thread: Change Setup program

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Change Setup program

    I got this files from this folder C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard

    Why my program used this SETUP icon rather then SETUP1 after creating the setup package using PDW? I don't want the computer icon like this. I want to used my own Icon, I have create my own icon but fail..

    Here is VB6DEP.INI files

    ; Master dependency file for Microsoft Visual Basic 6 Setup Wizard

    ;----------------------------------------------------------
    ; ENGLISH/DEFAULT
    ;----------------------------------------------------------

    [SetupWiz]
    Drive1=1.44 MB,1457664,512
    Drive2=2.88 MB,2915328,1024
    Drive3=1.2 MB,1213952,512
    Drive4=720 KB,730112,1024
    BootstrapPath=C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\SETUP.EXE
    Setup1Path=C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\SETUP1.EXE
    DepPath=C:\WINDOWS\system32\VB6STKIT.DLL
    UninstallerPath=C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\ST6UNST.EXE
    MakeCabPath=C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\MAKECAB.EXE

    Attached Images Attached Images  

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Change Setup program

    Didnt we solve this already?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Change Setup program

    Setup.exe is a bootstrap program, as the comment within it states.

    Setup1.exe is a program that Setup.exe runs after extracting the rest of the package from the CAB file.

    No matter what you do to change Setup1.exe's icon, it has no impact on the icon used for the pre-built Setup.exe supplied by Microsoft.

    The only real option you have to change this icon is to use some sort of resource editor to replace the icon resource within Setup.exe with some other icon you supply. I think we already covered this in another thread you had started a little while ago on the same topic.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Change Setup program

    it solve when I recompile the exe and replace the exe to setup.exe. But the setup.exe cannot run . Which one I should replace the exe? setup1.exe or setup.exe because it have two exe files in that folder.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Change Setup program

    Quote Originally Posted by dilettante
    Setup.exe is a bootstrap program, as the comment within it states.

    Setup1.exe is a program that Setup.exe runs after extracting the rest of the package from the CAB file.

    No matter what you do to change Setup1.exe's icon, it has no impact on the icon used for the pre-built Setup.exe supplied by Microsoft.

    The only real option you have to change this icon is to use some sort of resource editor to replace the icon resource within Setup.exe with some other icon you supply. I think we already covered this in another thread you had started a little while ago on the same topic.
    Ok, But I would like to know how to change the name "setup bootstrap for Visual basic?I don't want this name

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Change Setup program

    Can you describe your steps when you modified the P&D Wiz?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Change Setup program

    Quote Originally Posted by RobDog888
    Can you describe your steps when you modified the P&D Wiz?
    1) Ok, First I open setup1.vbp, I put my i own Icon.

    2) Then, I recompile the setup1.vbp and replace the existing setup1.exe in this folder C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard

    3) I run PDW of my program..

    Then I see setup.exe with default icon..When I see support folder , my own icon "Setup1.exe" in this folder.

    But I run my installation package from this setup.exe (bootstrap program)

    What dilettante said it correct "No matter what you do to change Setup1.exe's icon, it has no impact on the icon used for the pre-built Setup.exe supplied by Microsoft"
    Attached Images Attached Images  
    Last edited by matrik02; Mar 16th, 2008 at 05:04 PM.

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: Change Setup program

    Ok, I am able to change the icon by download the utility. But I would like to change the version information and the name. How to do that?

    name "setup bootstrap for Visual basic?I don't want this name
    Attached Images Attached Images  
    Last edited by matrik02; Mar 17th, 2008 at 12:44 AM.

  9. #9
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Change Setup program

    This data appears to be contained within another resource in the EXE for Version Info.

    While you might be able to change it using a 3rd party tool or a VB6 program, you may be in violation of Copyright and your VB/VS license agremeent to do so.

    An example of a product that helps make these changes is Resource Tuner Console. With some research and effort you could write a VB6 program to do this too, or maybe somebody already has and offers the code for free somewhere. A more general resource modifier utility might have this capability as well.

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