Custom Action Launch File (Temp) - Invalid Identifier - Advanced Installer Community
merow
Posts: 3
Joined: Wed Aug 24, 2016 1:13 pm

Custom Action Launch File (Temp) - Invalid Identifier

Hello,

I am working with an older version of Advanced Installer (10.8). When i try to launch a temp vbs script as part of the launch file custom action, i get an invalid identifier error for the [&extract.vbs] value. I have not found any information on why this is or if there is a workaround for this issue. the script works fine as a regular file. Any help on clarifying why this is and if there is a workaround for this would be appreciated.

Sean
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action Launch File (Temp) - Invalid Identifier

Hi Sean and welcome to Advanced Installer forums.

I'm not sure why you encounter this problem. Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action Launch File (Temp) - Invalid Identifier

Hi Sean,

The "Invalid identifier" tooltip message that appears when you reference a temporary VBS file in a "Launch file" custom action is displayed because of an Advanced Installer limitation, but it will not cause any problem during the execution.

Your problem appears because you try to execute that file on the "Finish Dialogs Stage" section, but all the temporary files have already been removed until that point. If you want to execute your VBS custom action at that point it is recommended to add it using a "Launch attached file" custom action.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
merow
Posts: 3
Joined: Wed Aug 24, 2016 1:13 pm

Re: Custom Action Launch File (Temp) - Invalid Identifier

Thanks for the quick response.
I will need to change my scripts around a bit, but this sounds like it is the problem.
I will return to confirm once it has been verified.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom Action Launch File (Temp) - Invalid Identifier

You're welcome. Glad to help.

Just let me know if the problem persists.

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

Return to “Common Problems”