advancedinstaller.com command line is very very slow - Advanced Installer Community
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

advancedinstaller.com command line is very very slow

Hi there,

As our project grows, we're relying heavily on the command line to make modifications on the fly when building projects.
Every single command line edit takes ~30 seconds, such that our entire build is taking over a half hour.

Is this a bug? Does anyone else encounter this problem? Is there something we can do to prevent advancedinstaller.com from churning so much for each command?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: advancedinstaller.com command line is very very slow

Hi,

Are you passing the commands separately to our CLI? If yes, this could take so long because you have a big project and it simply takes time to load and save it.
The actual execution time of the edit command is probably much smaller.

If that is the situation a solution is to gather all commands, or as much as possible, in command files. This will make Advanced Installer load the project once and apply a set of commands on it, thus saving a lot time by removing a lot of open and save operations.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: advancedinstaller.com command line is very very slow

We use command files too. However, we had to resort to using the CLI for certain things due to special Unicode characters in our project. We found that using command files did not work as expected when using characters like SM, TM, and &.

So, we've got stuff in command files, stuff changed via CLI, as well as direct modifications to the XML code for certain changes that can't be done via command line or command file for that matter.

The AI file in itself is very small. I don't quite understand why so much churning goes on when making simple edits via the CLI. I suspect that the app is checking the file in its entirety to be sure everything is correct regarding file locations, syntax, etc. I would kill for a /skipchecks command.

Do you have any other suggestions?
natecope
Posts: 38
Joined: Tue Feb 03, 2015 4:27 pm

Re: advancedinstaller.com command line is very very slow

Bumping. Still wrestling with this.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: advancedinstaller.com command line is very very slow

Hello,
We use command files too. However, we had to resort to using the CLI for certain things due to special Unicode characters in our project. We found that using command files did not work as expected when using characters like SM, TM, and &.
Please note that you can use a file of commands containing Unicode characters. Just make sure you save the file of commands (;aic file) with the Unicode encoding.
The AI file in itself is very small.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it?
I don't quite understand why so much churning goes on when making simple edits via the CLI.
Can you please tell us if editing the .AIP(project file) from the UI takes as long as editing from CLI (of course executing the same operation)?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”