Very simple dialog to pass arguments to batch file - Advanced Installer Community

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!

edwardn
Posts: 1
Joined: Thu Jun 16, 2011 10:48 am

Very simple dialog to pass arguments to batch file

Hello

I am looking to create a very simple .exe file that shows just shows a dialog that requests some information, such as a server name, and then passes it to a batch file.

I don't need to copy any files or show any welcome screens or anything like that.

Any help would be much appreciated.

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

Re: Very simple dialog to pass arguments to batch file

Hello Edward,

You can create a custom dialog in the "Dialogs" page. Here is a tutorial which may help you.

This dialog can contain an edit box which retrieves the server name. It's automatically stored in the edit box property which can then be used by your script.

To launch the script you can use a custom action.

If you can give us more details about what type of script you are using, we can make a recommendation for a custom action and how to use the edit box property.
I don't need to copy any files or show any welcome screens or anything like that.
Advanced Installer was designed to create installer packages with the Windows Installer standard and unfortunately this functionality is not supported.

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

Return to “Common Problems”