epu
Posts: 17
Joined: Thu Apr 19, 2012 2:29 am
Location: Alameda, California

AdvancedInstaller.com - set temp directory per instance

Hi team,

I'm using advanced installer 9.4 on a dedicated build machine.

Sometimes, 2 builds will run at the same time, and each includes the same visual studio runtime merge module.
When the extract of that merge module happens at the same time in both builds, I get the error

Code: Select all

Could not extract cabinet file from module: C:\Users\build_user\AppData\Local\Temp\Microsoft_VC100_CRT_x64.cab.
in the second build.

This is because the first build to include the merge module ties up that temp file, and the second concurrent build cannot extract over it.
I tried setting a unique TEMP environment variable per advancedinstaller.com process, but it looks like advanced installer isn't using the environment set by build_user's current environment.

Is there a way to set the temporary directory for each advancedinstaller.com instance so this doesn't happen?
If not, I'd like to request it as a feature (either the application uses the value of TEMP from the environment, or creates a new directory per active AdvancedInstaller.com instance).

Kind regards,

-e
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AdvancedInstaller.com - set temp directory per instance

Hi and welcome to our forums,

This indeed is a situation for which we currently don't have a solution. An improvement will be included in the next version to use a new folder for each build, with an
unique name. This will be available in the first half of November.

Until then the only solution is to schedule your projects so they build sequentially.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
epu
Posts: 17
Joined: Thu Apr 19, 2012 2:29 am
Location: Alameda, California

Re: AdvancedInstaller.com - set temp directory per instance

Thanks for the quick reply!

I look forward to trying out the new version when the feature is ready.

Kind regards,

-e
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: AdvancedInstaller.com - set temp directory per instance

Always a pleasure.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
epu
Posts: 17
Joined: Thu Apr 19, 2012 2:29 am
Location: Alameda, California

Re: AdvancedInstaller.com - set temp directory per instance

Hey team,

Checked in today to see if there is a new version available, but it doesn't look like one was released yet.
When should I check back?

Kind regards,

-e
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AdvancedInstaller.com - set temp directory per instance

Hello,

Our 9.7 version of Advanced Installer will be released until the end of this month.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
epu
Posts: 17
Joined: Thu Apr 19, 2012 2:29 am
Location: Alameda, California

Re: AdvancedInstaller.com - set temp directory per instance

Hey Daniel,

Thank you,
Looking forward to it.

I'll check back then.

-e
epu
Posts: 17
Joined: Thu Apr 19, 2012 2:29 am
Location: Alameda, California

Re: AdvancedInstaller.com - set temp directory per instance

Congratulations on your 9.7 release.
Trying this out shortly.

Return to “Common Problems”