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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Support for the exe and msi in the same aip file

Hi,

We have a setup which supports multiple languages, and creates the executable as the output.

Now, one of the customer has requested for the msi(instead of exe). Is it possible to get msi and exe for the same aip file(i.e instead of maintaining two aip files)?

Regards,
Rohan
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for the exe and msi in the same aip file

Hi Rohan,

In order to achieve what you want, you can go in the Media page and use the [MSI Build] toolbar button to create a new build of MSI type. However, by default, some settings might be different between the MSI and EXE build (i.e. launch conditions) and you should modify them manually to make them similar.

A better approach for you, I think, is to use the /extract command line to extract the MSI package from the EXE setup and give it to the user.

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
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Support for the exe and msi in the same aip file

Thanks for the help
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for the exe and msi in the same aip file

You're welcome.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Support for the exe and msi in the same aip file

I have tried the /extract command which did not extract a single .msi file. Instead I have got the whole directory structure and the prerequisite archive and a small .msi.

Questions:
- Is it possible to get the one msi file for every language, which should contains even the prerequisites.

In case you need to reproduce this case, please do let me know. I could help in the reproduction of this.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for the exe and msi in the same aip file

Hi Rohan,
I have tried the /extract command which did not extract a single .msi file. Instead I have got the whole directory structure and the prerequisite archive and a small .msi.
I'm afraid that this is the normal behavior. When a single EXE package is created, the prerequisite packages are included in the EXE along with the MSI and CAB packages. So, when the "/extract" command is used, all these packages will be extracted separately.

The "directory structure" might be related to the "Additional Files" that you added for your prerequisites in the "Setup Files" tab, can you confirm this?
Questions:
- Is it possible to get the one msi file for every language, which should contains even the prerequisites.
First of all, a MSI package cannot contain "pre-install" prerequisites, these prerequisites can be included only in the EXE file. On the other hand, if a "Single EXE setup" package type is chosen in the Media page, none of the prerequisite will be included in the MSI package, all of them will be included in the EXE file.

If you choose the "Single MSI" package type in the Media page, then all the resources will be included in the MSI, except the "pre-install" prerequisites which will be completely ignored.

So, if an user needs only a single MSI, you can temporarily use the "Single MSI" package type to build your package and give the created MSI to that user along with the "pre-install" prerequisites that he will have to install manually.

Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Support for the exe and msi in the same aip file

Thank you Eusebiu. You have answered all my queries.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Support for the exe and msi in the same aip file

You're welcome Rohan.

Just let us know anytime you have any question.

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

Return to “Building Installers”