|
-
Oct 18th, 2007, 11:33 AM
#1
Thread Starter
New Member
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
-
Oct 18th, 2007, 12:32 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Oct 18th, 2007, 01:09 PM
#3
Thread Starter
New Member
Re: How to run an Executable file from Setup Project?
Where can I find these Custom Actions?
Thanks,
Jerry
-
Oct 18th, 2007, 02:05 PM
#4
Lively Member
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
-
Oct 21st, 2007, 03:58 PM
#5
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|