pfletch101
Posts: 24
Joined: Sat Aug 18, 2012 9:19 pm

Run Program with command line options during installation

I have a component of my installer that is run from the Installation Source after the main part of the Installation. In order to debug a remote installation for a user who is not very computer-literate, I would like to be able to modify the installer to run this component (which is a VB.NET console application) with a command line argument (to tell it to record what it finds rather than acting on it). Is there a way to do this?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Run Program with command line options during installatio

Hello,

I'm not sure I fully understand your scenario. Can you please give us more details about the related component? Is it a custom action?

Please note that you can get useful information during the installation process if you create a verbose log. Also, you can write a custom event in the log file.
You can take a look on the How do I debug a .Net Installer Custom Action? article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”