Found unexpected error while execution - Advanced Installer Community
er.anuj21
Posts: 27
Joined: Fri Aug 16, 2013 10:59 am

Found unexpected error while execution

Hi Team,
i have created an exe file i.e C4iii.exe file. After clicking the C4iii.exe file , i moved to next screen by pressing next button i.e browse screen .After then i browsed to the location path C:/myTesting / where i need to copy those files which i have included in "Files and Folders" of advanced Installer. After then i clicked next button again and i have seen my screen buffering and within few secs i got the error.Before 1 month i was working with advanced installer and the same thing was perfectly working for me.But today when i tried it started throwing error popup.

The thing is that i want to launch the test.bat file just before the end of the execution . The error is resolved if i choose Launch File with "Add custom action without sequence" instead of "Add custom action with sequence"and my all files are copies to to location C:/myTesting /.

But after choosing the Launch File with "Add custom action without sequence" my batch test.bat is not launched . It reaches to last screen.
In Launch File Properties what i mentioned is :-

File to Launch :- [#test.bat]
Command Line :- [#test.bat][APPDIR]

I have attached my all files with aip file . Kindly look forward for your support.

Thanx
Attachments
files.zip
(159.6 KiB) Downloaded 368 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Found unexpected error while execution

Hi Anuj,

As far as I can see, for the predefined Launch file custom action, the Command Line parameter is not necessary. So, can you please delete the "Command Line:" parameter and see if the behavior still persist?

Also please keep in mind that a custom action can be added as a:
  • custom action with sequence- The sequence will be placed in a default location appropriate for the type of custom action you are inserting. You can then move it to a more refined location.
    custom action without sequence- This is useful if you wish to launch this custom action through an Execute custom action event in Dialogs page. Without any event as trigger, the custom action will never be executed. (e.g. you can take a look on the Execute custom action on button push article)
Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
er.anuj21
Posts: 27
Joined: Fri Aug 16, 2013 10:59 am

Re: Found unexpected error while execution

Hi Dan , i tried what you suggested.|
I have removed the Command Line parameter but the problem still persist.
If i delete my launch file then i'm able to copy my all files to desired location.But this is not the requirement. I need to launch the file.

Have you to tried to work on my .aip file attached?|
Screenshot attached of launch file
Waiting for your reply.
Attachments
launchfilescreen.png
launchfilescreen.png (158.94 KiB) Viewed 4679 times
er.anuj21
Posts: 27
Joined: Fri Aug 16, 2013 10:59 am

Re: Found unexpected error while execution

Hi Dan , i have rectified the problem.

Launch file will be at "Finish Dialog Stage" not at "Installation Execution Stage".


Thanx for your support. :)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Found unexpected error while execution

You're welcome Anuj,

I'm glad you got this working. If you have other questions, please let us know.

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

Return to “Common Problems”