Simple Command Line Create - Advanced Installer Community
billgage
Posts: 3
Joined: Mon Jun 13, 2016 11:50 pm

Simple Command Line Create

I am trying to evaluate your product for purchase without much success. We need to be able to create an MSI through an automated fashion but I can't even get past the basic create project.
It would be really helpful if there were working examples within the help file. Syntax doesn't really help without an example that demonstrates the syntax.
I am trying a basic command to create a new msi project and I can't get it to work.

Here is the command I am using...

"C:\Program Files (x86)\Caphyon\Advanced Installer 13.0\bin\x86\AdvancedInstaller.com" /newproject c:\test.aip
However whenever I run it I get "Error opening file: "c:\test.aip"

I have tried several variations on this like...
"C:\Program Files (x86)\Caphyon\Advanced Installer 13.0\bin\x86\AdvancedInstaller.com" /newproject "c:\test.aip"
"C:\Program Files (x86)\Caphyon\Advanced Installer 13.0\bin\x86\AdvancedInstaller.com" /newproject "c:\test.aip" -overwrite
"C:\Program Files (x86)\Caphyon\Advanced Installer 13.0\bin\x86\AdvancedInstaller.com" /newproject c:\test.aip -type professional -lang "en"

Each produce the same results.
What am I missing?

Bill
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Simple Command Line Create

Hi Bill and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

A new project cannot be created on the "C:\" drive because it does not have enough permissions to write on the Windows Volume. You can try to create it on another drive or run the command line in an elevated console and everything should work.

Just let us know if you need more help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
billgage
Posts: 3
Joined: Mon Jun 13, 2016 11:50 pm

Re: Simple Command Line Create

Thank you for that information, very helpful and worked for me. It would be beneficial for all if that was included in the online user guide.

Bill
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Simple Command Line Create

You're welcome Bill. I'm glad it helped.

We will update our user guide with this information, thank you for your suggestion.

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

Return to “Common Problems”