Hi
er.anuj21 wrote:Basically i have a file named demo.exe that is created using the advanced installer. When i double click the demo.exe file then it copies my jboss application server and postgres database to the desried location. But after then a batch file i.e test.bat is executed in which some scripts are written. But what my requirement is that i don't want to see that file means i want that batch file run as hidden.
You can hide the execution of a batch file in several ways. I see that you are using the
Launch file custom action with the property
Hide program's windows. This should be enough for your purpose.
However, I also see from your screenshot that you enabled property
Run as Administrator and moved the custom action under
Finish Dialogs Stage group. This means that you'll get a
Windows User Account Control prompt for the execution of the batch script. You can easily avoid this prompt by moving the custom action under
Install Execution Stage group.
If you have other questions, please let us know.
Best regards
FOLLOW US
Get the latest news in Application Packaging