[solved] VBS variable name "targetPath" fails Inline Execution - Advanced Installer Community
a.guelle
Posts: 98
Joined: Tue May 19, 2015 2:23 pm

[solved] VBS variable name "targetPath" fails Inline Execution

Hi Everyone,

I just stumbled upon something weired.

1. Build a custom action to execute the following inline script code:

Code: Select all

targetPath = "Hello World!"
2. Run the installer -> the action will fail.
3. Rename the variable to any other name -> The installer will execute the action without a problem

Are there any reserved words that can not be used in inline script code?

Cheers,

Angelo
Last edited by a.guelle on Wed Apr 19, 2017 3:07 pm, edited 1 time in total.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: VBS variable name "targetPath" fails Inline Execution

Hello Angelo,

Indeed, it seems that "targetPath" variable is a reserved variable in Advanced Installer.

If you have any questions, let us to know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”