Issue with Custom Action Launch File - Advanced Installer Community
nesbot
Posts: 9
Joined: Mon Feb 25, 2013 4:17 pm

Issue with Custom Action Launch File

I am trying to Launch a program at the end of the installation. I have added a custom action "Launch File" after the Finish Execution stage.

I have set the "File to Launch" to an external exe... say Notepad.exe and have left the "Command Line" blank.

If I click to another stage and then pack again the Command Line text box now has text in it. If you clear the text and click to different stage again and then back the
text in the text box reappears and changes.

I have seen it have values of "ns", "໱໱ꠀ໱", "耔໱言WS_MINIMIZEBOX" and "芛໱焀耀០ࡓ䄂ࡒៈࡓ䄂ࡒ៸ࡓ䄂ࡒ톐؈䄂ࡒ芞໱爀蠀ᢈ塷䏬塏ᤔ塷\᧴塷侘塎᭄塷侰塎芑໱猀謀丬塎倠׿ᅨ࡜"

Seems like quite the bug !

This is with Advanced Installer 10.5 build 52704... I just upgraded tonight. This was happening on my previous build... think it was 10.3.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Issue with Custom Action Launch File

Hi,

Indeed, this seems to be an Advanced Installer issue. A fix will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
nesbot
Posts: 9
Joined: Mon Feb 25, 2013 4:17 pm

Re: Issue with Custom Action Launch File

Any idea for timing of a fix? Seems to be a pretty important feature and a blocking bug.

Can I revert to a version that doesn't have the bug? Any other workaround for the time being?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Issue with Custom Action Launch File

Hi,
Any idea for timing of a fix?
A fix will be probably included in the next version of Advanced Installer, scheduled to be released on the next month.
Can I revert to a version that doesn't have the bug?
Yes, you can revert to an older version of Advanced Installer that does not have this bug (older than 10.2), or you can even install it side-by-side with newer versions.

To download an older version, you can go on the Customer Information web page, enter your Advanced Installer key and click on the "GO" button. On the next page, below the information about your license, you can select the Advanced Installer versions available for your license from the "Versions released during your maintenance plan" drop-down list.
Any other workaround for the time being?
There are few workarounds to go around this problem:

1. You can use a property in the "File To Launch" field, that contains the path or a part of the path to the application that you want to launch
2. You can use a space in the name of the file that you want to launch (i.e. Note Pad.exe instead of Notepad.exe)
3. You can use an inexistent property in the "Command Line" field (a property that is not initialized during run time, i.e. [PROP])

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Issue with Custom Action Launch File

Hello,

This was fixed in version 10.7 of Advanced Installer released on November 11, 2013.

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

Return to “Common Problems”