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!

char
Posts: 3
Joined: Wed Jun 18, 2008 2:39 am

Startup Arguments

UPDATE: I did find how to do such things... but check my below post

This is urgent if anyone can help!!!

When executing a application can you put up startup arguments? Is there such a feature?

For example when starting an application - start up commands like your starting a application VIA cmd.exe,

This may be called "Command Arguements" or "Parameters" when you start an executable.

I am trying to do this:

START /WAIT C:\WINDOWS\SSDAL.exe /P "TEC B-SA4T" SETTINGS IMPORT "C:\Program
Files\ULM\PRINTER SETTINGS"

The key part is after the /p so this exe has some Parameters.

Regards
Last edited by char on Sat Jun 28, 2008 6:21 pm, edited 1 time in total.
char
Posts: 3
Joined: Wed Jun 18, 2008 2:39 am

Re: Startup Arguments

I also would like to know if it is possible to have a button when the user presses it to replace a file? And a condition if the folder doesn't excsist hide the button?

Any help would be greatly apprichiated!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: Startup Arguments

Hi,
I am trying to do this:

START /WAIT C:\WINDOWS\SSDAL.exe /P "TEC B-SA4T" SETTINGS IMPORT "C:\Program
Files\ULM\PRINTER SETTINGS"

The key part is after the /p so this exe has some Parameters.
My suggestion is to use a custom action and a file search. Create a file search ("Search" page) to obtain the exact path of SSDAL.exe on the target computer. The result is stored by default in RESULT_PROPERTY. Now create a "Property Source" custom action ("Custom Actions" page) and set RESULT_PROPERTY as "Property Name" and type the arguments in the "Command Line" field. You can read more about custom actions and searches here:
http://www.advancedinstaller.com/user-g ... -page.html
http://www.advancedinstaller.com/user-guide/search.html
I also would like to know if it is possible to have a button when the user presses it to replace a file? And a condition if the folder doesn't excsist hide the button?
This can be done in the "Dialogs" page using the "Dialog Editor" (note that the Dialog Editor is available only on an Enterprise type of project) . To hide a button depending on a condition select the button use "Control Condition" tab:
http://www.advancedinstaller.com/user-g ... ialog.html

Hope this helps. Let us know if you encounter any problem.

Best Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Feature Requests”