Results 1 to 4 of 4

Thread: Don't want to "install" the .exe or a shortcuts/icons

  1. #1

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Don't want to "install" the .exe or a shortcuts/icons

    I used the PDW years ago to create this

    Code:
    [Bootstrap]
    SetupTitle=Install
    SetupText=Copying Files, please stand by.
    CabFile=AMC.CAB
    Spawn=Setup1.exe
    Uninstal=st6unst.exe
    TmpDir=msftqws.pdw
    Cabs=1
    
    [Bootstrap Files]
    [email protected],$(WinSysPathSysFile),,,6/18/98 12:00:00 AM,102912,6.0.81.69
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
    [email protected],$(WinSysPathSysFile),$(TLBRegister),,8/4/04 4:00:00 AM,17920,3.50.5014.0
    [email protected],$(WinSysPathSysFile),,,8/4/04 4:00:00 AM,65024,5.1.2600.2180
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,8/4/04 4:00:00 AM,83456,5.1.2600.2180
    [email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,8/4/04 4:00:00 AM,553472,5.1.2600.2180
    
    [IconGroups]
    Group0=AMC
    PrivateGroup0=True
    Parent0=$(Programs)
    
    [AMC]
    Icon1="AMC.exe"
    Title1=AMC
    StartIn1=$(AppPath)
    
    [Setup]
    Title=AMC
    DefaultDir=$(ProgramFiles)\AMC
    AppExe=AMC.exe
    AppToUninstall=AMC.exe
    
    [Setup1 Files]
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 12:00:00 AM,244024,6.0.81.69
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),6/26/98 12:00:00 AM,644400,6.0.81.77
    [email protected],$(WinSysPath),$(DLLSelfRegister),$(Shared),7/14/04 6:27:12 PM,1081616,6.1.97.82
    We are about to use it at a new customer sight...

    We don't want it to create an entry in the PROGRAM FILES - or actually install the AMC.exe program.

    Just the dll's - that's it.

    The wizard didn't seem to allow that - and I'm not sure how to "hand edit" this.

    Also - how to you make sure the references are the newest and best for deployment?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Don't want to "install" the .exe or a shortcuts/icons

    OK.... I'll bite.... why not install the EXE? You're trying to build a patch install aren't you?

    I haven't used PDW in some time.... but I'd guess that the IconGroups, AMC, and Setup sections could be taken out... leave the boottstrap and the SetupFiles section. But that's just a guess.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Don't want to "install" the .exe or a shortcuts/icons

    I tried removing one of those "sections" and the thing blew up - I'll try all three.

    The .EXE runs off a share that the users get to under some common "universal drive" that they all have access to. That just happens to be the way we set this up 7 years ago.

    Actually - this customer will have several shortcuts - each with the .exe paired with a different .ini to open a different DB (and thus a different application for the user).

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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

    Re: Don't want to "install" the .exe or a shortcuts/icons

    Instead of just editing the ini, you may want to try modifying the setup project in ..

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

    Make a backup copy of the project and the exe in use. Change the code to perform the install as you need, recompile and run.
    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

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