phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Wrapper installer combining multiple existing exe installers

Hi,

We have multiple OEM drivers and currently, users would download separate OEM drivers and install them one at a time.

The OEM drivers are exe installers that were developed using a different product.

We would like to create a wrapper installer that combines all the OEM drivers so users have to download only one installer.
The new wrapper installer should provide the user an option to choose which OEM drivers they want to install.
Based on this selection, we would like to install OEM drivers chosen.

Can this be done?
What should be the approach if we need to combine them into one installer?

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

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,

In order to achieve what you want you can create a new project, go in the Prerequisites page and add these EXE installers as prerequisites. For more details you can take a look on the Add Prerequisite and Prerequisites Page tutorials.

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
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi Eusebiu,

Thanks for the response.

I ended up creating feature based package pre-requisite from the existing exe installers.
I then added "ConfigureDlg" in the first time install UI.
This allows for user to choose which drivers to install.

However, one thing I was not able to figure out..

I have 3 features that show up in the "ConfigureDlg" and user can choose from here.
How can I detect if no features are selected?
Is there a way to do this?

Also, just to confirm that I should be able to use Auto-updater functionality with a wrapper installer as described above?

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

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,
How can I detect if no features are selected?
Is there a way to do this?
To detect if a feature will not be installed you can use the following condition (&FeatureName = 2). Also, to detect if no feature will be selected you can use for example a "Display message box" custom action which will be executed only if the following condition is true:

Code: Select all

(&Feature1 = 2) AND (&Feature2 = 2) AND (&Feature3 = 2)
Also, just to confirm that I should be able to use Auto-updater functionality with a wrapper installer as described above?
Yes, the "Auto Updater" functionality can be used in your scenario.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi Eusebiu,

Thanks for the update. It does look like on I am on the correct path then.

I did build a wrapper installer (exe) and the ConfigureDlg shows up with features when I run the installer.
However, if I change wrapper installer to single MSI instead of exe then the ConfigureDlg does not show the list of features.
It is just empty...

Is ConfigureDlg not supported with MSI installer?

Never mind, I found that adding ConfigureDlg will force it use Enhanced UI requiring exe setup.

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

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,
Is ConfigureDlg not supported with MSI installer?
Yes, this dialog is not supported by a MSI package. As you already noticed, it requires Enhanced User Interface to be enabled.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi Eusebiu,

When I try to un-install the wrapper installer through command line.
The following message pops up:

"Unmatching digital signature between exe bootstrapper and msi database"

This message shows up whether the wrapper installer is digitally signed or not.
I have not been able find any information regarding this message.

Can you please shed some light on this?
Thanks
-Phani
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,

I'm not sure why you encounter this behavior. Can you please send us a link to download your package to support at advancedinstaller dot com so we can investigate it and try to find the problem?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi,

You should be able to download the package from this link
https://skydrive.live.com/redir?resid=9 ... -EacF9q2-Q

I have sent the link to support@advancedinstaller.com as well.

Once the package is installed, you can un-install without problems from "Programs & Features" but when command line option is run it starts the installer but shows the message.

I am using the following command line parameters to un-install

/x {3A93312E-6646-4C98-BC63-A932B80B4CC5}

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

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,

I tested your installer package, but I couldn't reproduce the problem. Also, I noticed that this package is not digitally signed, can you please send me a signed package so I can test that too?

Please keep in mind that this problem may appear when the EXE wrapper is signed with a signature and the MSI package is signed with another signature or it is not signed at all. Do you sign the EXE wrapper after it was created, outside the Advanced Installer project?

You can take a look on the unmatching digital signature between exe bootstraper and msi thread which debates a similar problem.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi,
Interesting that you do not see the issue.
I see the message consistently when trying to uninstall using command line..

<installer exe file name> /x {3A93312E-6646-4C98-BC63-A932B80B4CC5}

I have tried it on multiple 64 bit machines and it always shows when trying to un-install through command line but not when uninstalling from "Programs & Features"

Here is the link for the signed installer.

https://skydrive.live.com/redir?resid=9 ... i6BKmpymzQ

Both exe & msi is configured to be signed and I am using Digital Signature page in Advanced Installer and is not being signed outside.
When I build the project, I can see MSI is getting signed and also verified the exe is also signed.

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

Re: Wrapper installer combining multiple existing exe instal

Hi Phani,
<installer exe file name> /x {3A93312E-6646-4C98-BC63-A932B80B4CC5}
I tested the scenario using this command and indeed, I reproduced the behavior.

However, I'm afraid that this command is only supported if the "Enhanced User Interface" is set to "Always" in the Themes page, "Settings" tab of the project. Otherwise, you can use the command below:

Code: Select all

msiexec /x {3A93312E-6646-4C98-BC63-A932B80B4CC5}
Let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phaniraj
Posts: 14
Joined: Wed Nov 21, 2012 5:47 am

Re: Wrapper installer combining multiple existing exe instal

Hi Eusebiu,

Thanks for the update. I knew it will be related to some settings but could not quite figure out which one.
I will try out your suggestion of changing "Enhanced User Interface" to "Always".

I will update if this does not fix the issue.
Thanks for the help.
Regards
-Phani
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Wrapper installer combining multiple existing exe instal

You're welcome Phani. Just let us know anytime you need help.

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

Return to “Building Installers”