Launching exe before installation complete - Advanced Installer Community
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Launching exe before installation complete

Hi Team,

I have a strange problem , when i am launching a exe(Which included in the application folder directory) from Dialogues (From Exit dialogue) the exe running perfectly fine. But when i try to launch the same exe from the Custom actions tab it's throwing an error.

1)Which custom action is linked in Dialogues tab to launch exe out of mentioned custom actions like Launch attached file , Launch installed file , Launch file from property ,Launch exe with working directory , Launch file (I am confused which option to use but i tried all of them)

I am using advanced installer Professional 11.4.1

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

Re: Launching exe before installation complete

Hi Jammy,

I'm not sure why you encounter this problem. Please make sure that the EXE file that you try to launch is available on the machine when you try to launch it. The custom action used on the "ExitDialog" dialog is the "Launch file" custom action.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Re: Launching exe before installation complete

Hi Eusebiu,

I solved that problem by creating a custom action using WIzard :) .

i am struck with something else now

1)How to create a AdvancedInstaller Update project using visual studio.By default its creating a Install project. ??
2)i tried creating directly from Advanced installer tool but i am unable to add the project to visual studio because it doesnt have any .aiproj file


Can you help regarding this issue

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

Re: Launching exe before installation complete

Hi Jammy,

I'm afraid that we do not have support for creating an Update Configuration project using Visual Studio. It can be created only in Advanced Installer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Re: Launching exe before installation complete

Hi Eusebiu,

How to include created Update project to the visual studio solution??

Thanks,
jammy
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Re: Launching exe before installation complete

Hi Eusebiu,

Sorry for the trouble. It was blunder committed by me . I was adding adding Add Existing Item instead of Existing Project in Visual Studio :( .

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

Re: Launching exe before installation complete

Hi Jammy,

I'm afraid that the "Updates Configuration" project cannot be added in Visual Studio.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Re: Launching exe before installation complete

Hi Eusebiu,

In our company there is one more product line which is a outlook add in,They have added the "Updates Configuration" file to Visual Studio and able to build the project from visual studio too.

I was able add the "Update Configuration" Project. but when i Build from visual studio it saying the following error.

Error 2 Your 'update' Advanced Installer project cannot be used to execute command 'RunCommandFile'. One of the following types of projects is required 'simple | java | professional | patch | msm | enterprise | win-ce | vsix | architect'.
Advanced Installer 11.7.1

It was building properly from advanced installer UI

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

Re: Launching exe before installation complete

Hi Jammy,
In our company there is one more product line which is a outlook add in,They have added the "Updates Configuration" file to Visual Studio and able to build the project from visual studio too.
They may work with an older version of Advanced Installer. After we add some features (i.e. TFS Integration in version 11.4), we filtered the project types that can be build with Visual Studio because there were some conflicts between them.

If you want to test an older version and see if it works, you may need to uninstall the version of Advanced Installer that you use now on your machine.

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

Return to “Common Problems”