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!

plowrance
Posts: 1
Joined: Tue Jan 08, 2019 10:48 pm

Building a Package with Angular Files

Hello everyone,

I am evaluating Advanced Installer for my company to deliver web applications and extensions to clients that self-host their sites and apps. So far we are thrilled with the product and the features in the Enterprise version but we do have something that we cant seem to get around in our test spike.

We use Angular UI for our web applications and when built with ahead-of-time compilation, the files in the output directory are unique every time the build runs. This is to avoid caching issues in the client browser so we cannot work around the file naming.

Is there a process or method to dynamically add these files based on their location in the directory structure, regardless of the name? Currently we have to update the .aip manually after every build.

Any help or advice is appreciated!
Paul
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Building a Package with Angular Files

Hello Paul and welcome to our forums,

First of all, thank you for your interest in Advanced Installer.

In what regards your request, I think you may find useful our predefined support for "Synchronized Folders". For more information about this, you can have a look on our "Working with Synchronized Folders" and "Synchronize Folder Tab" articles.

Please let me know if this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ionut.boronea
Posts: 14
Joined: Fri Dec 14, 2018 4:14 pm

Re: Building a Package with Angular Files

Hello.

Can you create patches using the above suggestion?
I tried and when creating a patch I get the squence changed warning and my files are not getting updated.
I even tried without syncronizing the folder but still the same warning.
What am I doing wrong?

Thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Building a Package with Angular Files

Hi Ionut,

No, I am afraid our synchronized folders support is not compatible at all with patch creation.

The file sequence error during patch creation may occur if you deleted some files from your newer version of the setup package.

Please note that in order to be able to create a valid patch package there are quite a few rules the old and new version of your setup package should fulfill. Have a look on our "Creating Patches" article.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”