executing exe file - Page 2 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: executing exe file

Hi Sony,

You can try manually adding the DTD to your XML before adding it in Advanced Installer. After that you can add it twice in your project:
- once as a regular file
- the second time in Windows Installer format

In XML Editor you can configure the elements to update when found. This way the XML is installed as a regular file and then updated with the settings you specify in XML Editor.

Another approach is to use a custom action which adds the DTD after installation.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: executing exe file

Hi Cosmin,

Can you please elaborate the following approach:

"Another approach is to use a custom action which adds the DTD after installation."

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: executing exe file

Hi Cosmin,

Any updates on the issue?

Regards
Sony
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: executing exe file

Hi Sony,

I'm afraid that we don't have a sample custom action for this. However, you can write one (by using custom code) which adds the required DTD to the XML file after it has been installed.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: executing exe file

Hi Support,

I have three msi based executables. I want to install and uninstall silently, I am lauching these executables using " exe with working directory" Cusotm action .could you please tell how to sequence these during installation and uninstallation. During uninstallation, its throwing an windows installer. Please let me under which standard action should I sequence these custom action both during installation and uninstallation.

Regards
Sony
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: executing exe file

Hi Sony,

Unfortunately, two or more installer processes cannot run at the same time. Thus, if you want to run them you can either use a "Launch Files or Open URL" predefined custom action or an "EXE with working Dir" custom action after the InstallFinalize standard action.
Another way during install would be to add them as prerequisites.

If you use custom actions you can condition the ones for install with:

Code: Select all

NOT Installed
and the ones for uninstall with:

Code: Select all

REMOVE="ALL"
Here is a related article to help you out.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”