How to add exe in command line with extra parameter ? - Advanced Installer Community
aravind
Posts: 2
Joined: Mon May 12, 2014 4:24 am

How to add exe in command line with extra parameter ?

Hi
I am new to Advanced Installer,i am try to create msi without prerequisite exe and successfully can create and installed .It will work.But when i try to add prerequisite exe in command line parameter with extra parameter it will not install prerequisite exe,

I will try based on this link http://www.advancedinstaller.com/user-g ... files.html ,in that i will choose Location as choose "use file from disk"
I have a exe in installed folder,how to point to exe when inside in installed folder (C:/program file/Aravind/novapv.exe).Without prerequisite exe can install main exe and it work,but i need to install prequister exe in command line with addition parameter,so only prerequisite application work when using main application.

Pls see the attachment in that my command line is correct or not,need to specify where the prerequisite exe available.


Pls reply asap

Regards
Aravind
Attachments
pre1.PNG
pre1.PNG (36.55 KiB) Viewed 4018 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to add exe in command line with extra parameter ?

Hello Aravind and welcome to Advanced Installer forums,

I recommend you to first test the prerequisite outside the installer (with the command line) to make sure it works. After that you can read our Setup Files tab user guide article (this article is shown when pressing F1).
Since you are new I recommend you use these two steps with any functionality you try to implement in your Advanced Installer project.

An observation to your current settings is to remove novapv.exe from the Full UI command line field. As described in the user guide, the command line options are enough.

Our tutorials can help you get started using Advanced Installer to efficiently deploy your products. They can also set the basic knowledge for you to understand our support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aravind
Posts: 2
Joined: Mon May 12, 2014 4:24 am

Re: How to add exe in command line with extra parameter ?

Hi
Thank you for your reply,if i try in command prompt(outside the installer) it will install successfully and it work ,pls see attachment.Inside D drive i have novapv.exe,so i change the exe directory to D drive ,then only novapv.exe call and apply other parameter.How to install exe in command line parameter,pls specify the sample install for prerequisite in command lines.

If i choose "Use file form disk" like (E:\exe\novapv.exe) and try to install in some other system.so that system not have E:\exe\novapv.exe in its local drive,so here how specify the exe to root folder and command lines for install,bcz in the root folder i will add novapv.exe or if i choose "use file form disk",it automatically point to root folder ?
Attachments
command.PNG
command.PNG (9.02 KiB) Viewed 4000 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: How to add exe in command line with extra parameter ?

How to install exe in command line parameter,pls specify the sample install for prerequisite in command lines.
Have you tried my suggestion to remove novapv.exe from the Full UI field? The result would be something like:

Code: Select all

/VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL ...
if i choose "use file form disk",it automatically point to root folder ?
The location where the prerequisite files will be placed, extracted or downloaded can be specified in the "Folder" field.

Please follow the instructions from my last post and read the user guide articles completely, they explain every setting you require. The same articles shown when pressing F1 in the application are linked (in blue text) in my last post.

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

Return to “Common Problems”