GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Creating the installdir based on a search result.

Hello,
Do I need to rebuild the installer in .msi, if I have used an .exe alternative now?
I am not sure what you mean by this. Can you please give me more details?

Thank you,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
MindTooth
Posts: 37
Joined: Mon Aug 17, 2009 12:40 am

Re: Creating the installdir based on a search result.

My installer is bundled as an .exe, with some prerequisites shipped with it. Then I notices that I could run the msiexec command on the .exe. And that is when I ask if I need to recreate the bundle with .msi option instead.

Birger :)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Creating the installdir based on a search result.

Hello,

You do not need to rebuild your installer as an msi. The executable package also supports the msiexec commands, as it passes them to msiexec when your .msi is extracted and run.

Regarding the 2716 error you were receiving, this was because you moved the InstallInitialize standard action in the wrong place (after AppSearch). To fix this, right click InstallInitialize, then select Move After->Before Initialization->RemoveExistingProducts.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
MindTooth
Posts: 37
Joined: Mon Aug 17, 2009 12:40 am

Re: Creating the installdir based on a search result.

Can you explain why I need to add RemoveExistingProducts? And what this does? Thank you so much for the solution :D Much appreciated...

Birger :)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Creating the installdir based on a search result.

Hello,

You are not adding RemoveExistingProducts. You are setting InstallInitialize to be executed after RemoveExistingProducts standard action.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”