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!

hinca.net
Posts: 2
Joined: Mon Apr 13, 2020 2:19 pm

GitHub Actions

Hey, we have created an .aip file and it works fine for distributing the application. We are considering upgrading the Trial version to Enterprise, however one important step remaining is running the installer build within our CI pipeline.

We are using GitHub Actions to release and upload the application (runs-on: windows-latest) and wanted to use AI as part of the pipeline. The catch is we've not found documentation or examples on how to do that yet.

Would someone please be so kind and suggest a way how to build AIP in a CI environment such as GitHub actions? Basically we need either a managed integration with GitHub Actions, or a way to do it manually, that is from the windows command line perform the following steps in unattended (quiet) mode from CLI:

[*] Install Advanced Installer.
[*] Activate our (future) Enterprise licence for the installation.
[*] Build the AIP into an installer. (Should be the easy part, this is documented: https://www.advancedinstaller.com/user- ... ld-project.)
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: GitHub Actions

Hello and welcome to Advanced Installer forums,

Unfortunately, I am afraid that, as for this moment, we do not offer support for GitHub Actions.

However, what you want to achieve can be done through the Command Line:
[*] Install Advanced Installer.
This can be done by downloading the MSI file from our "Downloads" page. After doing so, you can run the MSI file, as it follows:

Code: Select all

msiexec /i <path_to_AI_MSI> /qn
One important thing that we need to keep in mind here is the fact that, in order to perform a silent installation, an elevated command prompt is required ("Run as administrator")
[*] Activate our (future) Enterprise licence for the installation.
This can be done after the installation is successful, as it follows:

Code: Select all

InstallationFolder\Caphyon\Advanced Installer <verNo>\bin\x86\AdvancedInstaller.com /register <licenseKey>
For instance, the above looks like this on my machine:

Code: Select all

"C:\Program Files (x86)\Caphyon\Advanced Installer 16.9\bin\x86\AdvancedInstaller.com" /register <my_license_key_here>
This can also be seen in the article you have mentioned, at point 9. Register Advanced Installer using the command line

The third point can be achieved as explained in the linked article.

Please let me know if there is anything else I could help you with and I will be glad to assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hinca.net
Posts: 2
Joined: Mon Apr 13, 2020 2:19 pm

Re: GitHub Actions

Thanks, this should work for us. Additionally, I discovered that a convenient way to install it is with Chocolatey, which is preconfigured on GitHub executors:

Code: Select all

choco --yes install advanced-installer
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: GitHub Actions

You are always welcome!
Additionally, I discovered that a convenient way to install it is with Chocolatey, which is preconfigured on GitHub executors
Thank you for sharing your new found solution with us. I'm sure this will come on handy for further users facing a similar scenario.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”