Kelvin53
Posts: 1
Joined: Mon May 15, 2023 11:16 am

Advanced Installer Command Line Problem

Mon May 15, 2023 11:18 am

I'm attempting to configure the Advanced Installer (6.5.2) build to update it's version from my application executable. It looks like the sequence of flags on the command line is incorrect, I get an error on that build step.

When I manually copied and pasted and modified the sequence, it worked ok.

Here is the command line generated that fails:
"C:\Program Files\Caphyon\Advanced Installer 6.5.2\AdvancedInstaller.com" /edit MySetup.aip /setversion MyApplication.exe -fromfile

If I move the -fromfile to before the application filename, it works:
"C:\Program Files\Caphyon\Advanced Installer 6.5.2\AdvancedInstaller.com" /edit MySetup.aip /setversion -fromfile MyApplication.exe

Is there a way I can change how the command line is built?

Thanks,
Andy

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Advanced Installer Command Line Problem

Tue May 16, 2023 8:28 am

Hello Andy and welcome yo our forums,

I'm afraid you can not change this order. This is the default implementation, as mentioned on our Set Version Command Option article.

/SetVersion { <version_string> | -fromfile <file_path> | -increment } [-noprodcode]

Let us know if you have any other questions.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”