jes
Posts: 34
Joined: Mon Oct 23, 2017 12:51 pm

problem in command line

Hi,

I have a problem with dealing with command line.
I have a exe file which need to run as part of installation. Its a .net application with 3 parameters, which need to given to start the application.
I selected "Launch exe with working directory" to lauch that exe. Now my problem is to how to give command line aruments.
I created properties for 3 parameters and try to add in command line and its not working.
I given the command line like this :
"[#LicenseValidationTool.exe]" [PROP2] [PROP1] [PROP3]
But it have some errors and didnt run as expected.
Will you please help me. what is the correct format to give properties in command line.

Thanks,
jes.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: problem in command line

Hi Jes,

In order to have a better view about this, please send me the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so I can investigate them.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jes
Posts: 34
Joined: Mon Oct 23, 2017 12:51 pm

Re: problem in command line

Hi,

Thanks for the reply.
I created the above custom action as a Next step for licence agreement in the installation step.
Used Launch exe with working directory.
And used following parameters:
File Path: [temp_Dir]License Validation Tool.exe
Command Line: "[temp_Dir]License Validation Tool.exe"[PROP2] [ProductVersion] [PROP3]
Working Directory: TempFolder

Now, it doesnt showing any errors. when i click on Next, it seems idle. No actions are happening. Also, no errors too. Installation not getting proceeding.

Will help me for this.
thanks,
jes.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: problem in command line

Hi Jes,

The custom action from your project seems to be configured correctly. Are you sure that it works correctly if you try to run it outside Advanced Installer with the same parameters (e.g. from a Command Prompt)? If so, can you send me a screenshot with its configuration outside Advanced Installer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jes
Posts: 34
Joined: Mon Oct 23, 2017 12:51 pm

Re: problem in command line

Hi,
Thanks for the reply.
Its working properly now.

Thanks,
jes.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: problem in command line

You're welcome Jes. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”