We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

[HELP] Execute command on cmd

Hello,

I wanted to know how I can run them hides the cmd prompt to embed this command when the user is installing my application sc stop windefend.


Similarly, when the user goes to uninstall the product, rerun the command again but with a start.

would it be possible?


Finally, as you might look at adding a checkbox in a new form where the user check the box if you want this command is executed, if not marked not running at the time of installation.

I hope your answers thanks
NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Re: [HELP] Execute command on cmd

Help me please?

Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: [HELP] Execute command on cmd

Hello,

Please keep in mind that stopping the anti-virus service during installation is not a very trustworthy behavior for an installer or software for that matter.

Running commands can be done with Launch file custom actions. This custom action type has a built-in hide window option.
Using the predefined way, starting or stopping services can be accomplished with control operations.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”