Adding prerequisite Converted msi to exe - Advanced Installer Community
jammy
Posts: 17
Joined: Mon Sep 08, 2014 7:44 am

Adding prerequisite Converted msi to exe

Hi Team,

I am using Advanced Installer 11.7.1 Professional version.

I have a msi project working perfectly. But today i added .Net 4.0 as a prerequisite to my project then suddenly the project converted into a exe replacing previous msi file. i tried to remove that prerequisite option then also it stays .exe

1) How can i revert back to msi file?

2) How can i add prerequisite without changing project to .exe ??

Its kind of urgent please reply ASAP .

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

Re: Adding prerequisite Converted msi to exe

Hi Jammy,

The package type turned automatically into an EXE package, because the prerequisite was added as a "pre-install" prerequisite. In this case, it is installed by the EXE Bootstrapper, before the installation of the MSI package. The EXE Bootstrapper is basically just a wrapper over the prerequisite and the MSI package.

1) To revert to a MSI file, you can go in the "Media" page and use one of the first two options.

2) To add the prerequisite without changing the package type to EXE, you can move that prerequisite from the "Pre-install" folder to the "Feature-based" folder in the "Prerequisites" page.

However, please keep in mind that because of some Windows Installer limitations, ".NET Framework" cannot be installed as a "feature-based" prerequisite. You can see more details in the Why does .NET Framework fails as feature-based prerequisite FAQ article.

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: Adding prerequisite Converted msi to exe

Hi Eusebiu,

Thanks for Help :) . Advanced Installer Team is extremely awesome on forum . Great Going .

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

Re: Adding prerequisite Converted msi to exe

You're welcome Jammy. Glad to help.

Just let us know anytime you have a problem.

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

Return to “Common Problems”