Results 1 to 5 of 5

Thread: How to run an Executable file from Setup Project?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    10

    How to run an Executable file from Setup Project?

    Hello,

    I have created a Setup project that installs my application on client PC. But in order to run my program, end users must install Windows Media Encoder. What I want to do is to include redistributable WMEncoder.exe file into my Setup project, so that my application’s setup will install WM Encoder along with my application. Can someone please tell me or point me to an article that shows how to do this?

    Thanks very much in advance,
    Jerry

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

    Re: How to run an Executable file from Setup Project?

    I believe its a Custom Action in your setup sproject. I'm not sure if its available on Express but it is in Standard+. You should be having them download it as there are service patches and hotfixes with it too.
    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

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    10

    Re: How to run an Executable file from Setup Project?

    Where can I find these Custom Actions?

    Thanks,
    Jerry

  4. #4
    Lively Member RickyH's Avatar
    Join Date
    Oct 2007
    Posts
    92

    Re: How to run an Executable file from Setup Project?

    jerry, try something more simple. Click start, Click Run, type in iexpress and click ok.

    This is a builtin windows zip cabinet maker. during setup, it asks you which files you want to include. Choose your installation setup files from vb.net and choose the exe you want to have installed after the install to be included in the setup project you are making with iexpress.

    during the wizard, you are asked which exe files you want to start after the unzipping occurs. Choose your vb.net exe setup file then in the other option, asking if you would like to run a command after the setup is complete, choose the Windows Media Encoder setup file.

    (Iexpress comes comes bundled with Windows already)

    This is also useful if you want to compres your vs.net deployment project to a single exe file (e.g. myProject.exe, myProject.msi) down to a single executable file.

    Regards,
    Ricky H

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

    Re: How to run an Executable file from Setup Project?

    But zipping a setup for WMEncoder.exe will not install it, only package it along with your files in the installation package. It may not even be legal to redistribut WMEncoder.exe this way as its more ethical and legal to have the user download the program from Microsoft. The custom action can include the url for download too.
    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