Results 1 to 10 of 10

Thread: Package & Deployment Wizard installation path

  1. #1

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Question Package & Deployment Wizard installation path

    I have a set of applications which I want to install in a single directory
    eg C:\Program Files\My Progs

    I'm using the Package & Deployment Wizard but it wants to create a separate directory for each app

    eg C:\Program Files\[app name]

    How can I override this?


    Thanks
    Another light-hearted post from Guru

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Package & Deployment Wizard installation path

    I guess you must be clicking "Finish" too soon because one of the windows you would otherwise see lets you choose the folder for your project.

    BTW I moved your thread to here.

  3. #3

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Re: Package & Deployment Wizard installation path

    No!

    Even changing the install location of the .exe on the "Install Locations" screen makes no difference.


    Another light-hearted post from Guru

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Package & Deployment Wizard installation path

    Sorry but I may have misunderstood what tou were asking about. In any case when you create the package you get a screen like pic1 and when you install you get a screen like pic2. One of those two places should allow you to solve your problem.
    Attached Images Attached Images   

  5. #5

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Re: Package & Deployment Wizard installation path

    pic1 is for choosing where the cab files are going to be written

    pic2 id for instalation like you say.

    I want the path in pic2 to default to c:\program files\my apps
    but it defaults to c:\program files\[app name]


    Probably just another example of Micros$oft's "we know best attitude"
    Another light-hearted post from Guru

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

    Re: Package & Deployment Wizard installation path

    In the Start menu items form you can create a new program group where ever you need. Then you can assign what files go where in one of the other screens. Sounds like you have a few programs that you want installed under one program group but each program to have its own sub menu item.
    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
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Package & Deployment Wizard installation path

    Have you given Inno Setup a try. I don't have any first hand experience with it. My company uses Wise, but I've seen many a post on these here forums on folks extolling its flexibility and configurability.

  8. #8
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Package & Deployment Wizard installation path

    I just had a thought. The Setup Wizard is a VB app and so you can change it. The path to it is C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp and if you look for "Program Files" you'll find a couple of places here you could change the default.

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

    Re: Package & Deployment Wizard installation path

    If you change the P&D code and recompile, dont forget to make a backup of the project first.
    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

  10. #10

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Re: Package & Deployment Wizard installation path

    Thanks for the replies etc

    If I just edit DefaultDir=
    in the [Setup] section
    of SETUP.LST

    it works

    Not ideal but it will do.


    Thanks
    Another light-hearted post from Guru

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