Mixed Mode Msi Installer - Advanced Installer Community
Carlo2007
Posts: 8
Joined: Fri May 13, 2016 10:45 am

Mixed Mode Msi Installer

Hi,

I'm trying to use my mixed mode "EXE setup with recources next to it" as a MSI installer.
When building the project the output folder is filled with the following files:
  • setup.exe
  • setup.msi
  • setup.mst
  • setup.x64.msi
  • setup1.cab
  • Some Prerequisites
The program I'm installing is just a 32 bit application but there is a connection to a Word startup file which might be installed on a x64 location.
What is the proper way to install the application using msiexec based on a specific architecture of the system?

When I run msiexec on one of the .msi files I get the following log information:

Code: Select all

=== Logboekfunctie beëindigd: 21-06-2016 10:46:31 ===
MSI (c) (58:48) [10:46:31:796]: Note: 1: 1707 
MSI (c) (58:48) [10:46:31:796]: Note: 1: 2205 2:  3: Error 
MSI (c) (58:48) [10:46:31:796]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1707 
MSI (c) (58:48) [10:46:31:796]: Note: 1: 2205 2:  3: Error 
MSI (c) (58:48) [10:46:31:796]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (c) (58:48) [10:46:31:796]: Product: Codex -- De installatie is voltooid.

MSI (c) (58:48) [10:46:31:796]: Het product is geïnstalleerd. Productnaam: Codex. Productversie: 1.0.0. Producttaal: 1043. Fabrikant: . Fabrikant: . Status van geslaagde/mislukte installatie: 0.

MSI (c) (58:48) [10:46:31:797]: Cleaning up uninstalled install packages, if any exist
MSI (c) (58:48) [10:46:31:798]: MainEngineThread is returning 0
=== Verbose logging stopped: 21-06-2016  10:46:31 ===
Could you help me out?

Kind regards,

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

Re: Mixed Mode Msi Installer

Hi Carlo,

Please keep in mind that in order to install a "Mixed 32/64-bit package" it is recommended to use the "setup.exe" file that it creates, not the MSI packages. That EXE package will automatically detect the system architecture and install the appropriate MSI package (32-bit or 64-bit package).

The log information that you posted shows that the installation was completed successfully.

The "Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1707" lines that are displayed in the log says that some data was searched in the "Error" table of the package.

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Carlo2007
Posts: 8
Joined: Fri May 13, 2016 10:45 am

Re: Mixed Mode Msi Installer

Hi Eusebiu,

Thank you for your reply.
Is there a way to use msiexec with the mixed mode setup.exe? I've read that the .EXE bootstrapper supports this but I cannot get it to work.

Kind regards,

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

Re: Mixed Mode Msi Installer

Hi Carlo,

Yes, in order to send some Windows Installer command lines to the "setup.exe" package you do not need to call "msiexec" anymore, just run it in a command prompt as in the example below (this will create a verbose log):

Code: Select all

setup.exe /L*V D:\log.txt
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”