We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

John Dill
Posts: 9
Joined: Tue Dec 02, 2014 10:23 pm

Time to execute a SetVersion or GetProperty

I have a batch script that builds some executable and jar files. I was able to build an aip project file that builds the installer fine using /build in the batch script. However, as part of the batch script, I query the Product Version using

AdvancedInstaller.com /edit project.aip /GetProperty ProductVersion

It works but I'm curious why it takes like 15 seconds to complete. Same thing for setting the version number with /SetVersion. Considering that the aip file is an XML file that's only about 1000 lines long, I wonder what is taking so long and if there's something I can do to speed it up. I could echo the file contents to 'find' and use some extra batch script to pull the product version out, but maybe there's something I'm missing. It just looks awkward when everything else goes by real quickly in the batch script and then it hangs for a seemingly little task.

Any suggestions?

Windows 7, Advanced Installer 9.5

Best regards,
John D.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Time to execute a SetVersion or GetProperty

Hi John and welcome to Advanced Installer forums.

I'm not sure why you encounter this problem. I tested the scenario, but I couldn't reproduce the behavior. Can you reproduce it on multiple clean machines? Also, can you test it with the latest Advanced Installer release?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
John Dill
Posts: 9
Joined: Tue Dec 02, 2014 10:23 pm

Re: Time to execute a SetVersion or GetProperty

Yeah, that's going to be a bit problematic since I do not have Admin privileges and the AdvancedInstaller is installed on a computer with known cruftiness. I've tried to get him to wipe or upgrade the computer where the license is located, but I don't have enough cred to motivate him to do it. I believe that we have a maintenance plan, so I will see if he can upgrade it, but who knows when that will happen.

For now, it works well enough but for those who are obsessive about such things like me it bothered me enough to make a post.

I appreciate the response back in such a timely manner. Unfortunately, I will not be able to be timely in my reporting back on this issue.

Best regards,
John
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Time to execute a SetVersion or GetProperty

Hi John,

Please note that in order to test this scenario, you can install the latest version of Advanced Installer on any machine and you will have a 30-day trial period.

Just let me know if any other problem appear.

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

Return to “Building Installers”