Property For aicustact.dll location? - Advanced Installer Community

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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Property For aicustact.dll location?

I appreciate how often you guys put out new releases.

To soften the pain a little bit is there any kind of property we can use in our custom actions that use your aicustact.dll? So we don't have to edit the hard coded AI version number after every upgrade?

Creating MSM database...
File "C:\Program Files (x86)\Caphyon\Advanced Installer 9.4\custact\x86\aicustact.dll" could not be read.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Property For aicustact.dll location?

Hello,

If you use "Launch attached file" custom action and point to "aicustact.dll" from the most recent Advanced Installer version, that path will use a path variable.

Code: Select all

<AI_CUSTACTS>aicustact.dll
When you upgrade this shouldn't be a problem anymore.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property For aicustact.dll location?

Well at least in a merge module that doesn't seem to work as it always wants to browse to an actual file and I can't edit the file path directly either in the custom action or the Binary table.

Besides, how does <AI_CUSTACTS> know if you want the x86 version or the 64-bit version? ;)
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property For aicustact.dll location?

I guess you have a <AI_CUSTACTS64> for the 64-bit... my other question still stands... I can't make use of these properties in the Custom Action UI.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Property For aicustact.dll location?

Hello,

Indeed, the path variables are not automatically converted in Merge Modules project types, but you can still use the wizard to accomplish the same (Ribbon menu -> Home tab -> Convert Paths).
We'll add the same automatic conversion functionality in Merge Module project types as well. Thank you bringing this to our attention, the improvement will be available in a future version.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property For aicustact.dll location?

mihai.petcu wrote:Hello,

If you use "Launch attached file" custom action and point to "aicustact.dll" from the most recent Advanced Installer version, that path will use a path variable.

Code: Select all

<AI_CUSTACTS>aicustact.dll
When you upgrade this shouldn't be a problem anymore.

All the best,
Mihai
Mihai,

Appears like this part is indeed fixed in 9.6.

Thanks!

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property For aicustact.dll location?

This was NOT fixed in 9.6 for existing Merge Module projects that get converted to 9.6 unfortunately :cry:

The other heartburn with this is when you fix the hardcoded path to the aicustact.dll the function gets reselected to the top one, AI_AuthorSinglePackage and if you don't notice it it can cause a rollback depending on what you were supposed to be invoking, e.g. CreateExeProcess.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Property For aicustact.dll location?

Hello,

Please keep in mind that in order to achieve what you want you should use (in the older version of Advanced Installer) the "Convert Paths" wizard from "Project Home Tab", and then open the project using a newer version of Advanced Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property For aicustact.dll location?

I did not have to do that with my older non-merge module projects though.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”