Merge Modules now in CAB files?? - Advanced Installer Community

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!

FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Merge Modules now in CAB files??

Hello, I'm using AI 8.6 and had an installation I created that was strictly only for x86 (32-bit) systems. My installation included a few merge modules and prerequisites. When I built my setup, it created an EXE, a CAB file, and an MSI. Everything worked great.

Now, I'm needing to support the installation on 64bit operating systems. So, I did added an new additional prerequisite (the MySQL ODBC 64 bit install) and make it only install for 64-bit systems) and changed my install to be a "Mixed 32/64 bit matching the platforms" under the Install Parameters section.

There really aren't any different files to install on the 64bit system (same files as for 32 bit), just the MySQL drivers (setup) that I have as a prerequisite.

Now, when I build my setup my merge modules are going into separate CAB files along with the original files I had (EXE, MSI, etc..). Why am I getting all the extra CAB files now? Under the Media section, I still have the following setup:

- Archive the installation files into CAB files
- Compress CABs for smaller size
- One CAB archive containing all the installation files

I would think that the "One CAB archive" would do this. Oddly enough, when I open the one CAB file I had with my original 32-bit setup, I don't see the merge module files in there. Not sure where they were before and the file sizes seem the same. Just that now I have these extra CAB files and I didn't before.

Anyhow know why? Is this because of changing from 32bit to 64bit? Any help would be greatly appreciated.

Thank you for your time.

Best Regards,

FGump
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Merge Modules now in CAB files??

Hello,

Actually this is the expected behavior when switching to a mixed package. All merge modules are placed in separate .CABs.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Re: Merge Modules now in CAB files??

Thank you Mihai. :D

I have a dumb question regarding the need for having this be a mixed package. Since my application is designed for 32-bit OS (compiled for 32-bit OS only), is it even necessary to specify a "mixed package". I know most 32-bit apps will run on Windows 7 x64 and I'm not really including any special files for 64-bit OS (i.e. I'm not utilizing any in my code or compiling anything with them). My setup only installs the 64-bit MySQL ODBC driver as a prerequisite if the OS is detected as being 64-bit or installs the 32-bit driver for x86 OS. I'm think I don't really need the mixed-package. Thoughts?

Best Regards,

FGump
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Merge Modules now in CAB files??

Hi,

Indeed if the install scenario doesn't involve any x64 executables and libraries then your application is by design a x86 application. On x64 machines it will be installed in the x86 location.
Here's an article to help clarify the platform vs package type compatibilities.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”