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
FOLLOW US
Get the latest news in Application Packaging