repack2021
Posts: 2
Joined: Mon May 10, 2021 12:04 pm

Create mst with new files in cab

Mon May 10, 2021 12:22 pm

Hi,
So, I have the same problem as discussed here, from 2016. viewtopic.php?f=5&t=31807

I need to create a MST File for a vendor msi, add a few custom config files to it. What I want to come up with, is the original MSI, a new CAB-File containing only my additional files when saving the mst.

Here´s how I´m doing:

1. Download Java 8 update 291 exe-file from https://www.java.com/en/download/manual.jsp
2. Start the exe and copy out the msi from AppData\LocalLow\Oracle\Java\jre1.8.0_291
3. Create a new mst with Advanced Installer, point to the Java msi.
4. Add a file to the Java install folder.
5. Goto Builds, mark "MSI with resources next to it"
6. Choose Advanced CAB layout
7. Go to Advanced Layout tab, check that your added file is resided in Cab2.cab. Check that "Include CAB into the MSI database" is not selected.
8. Mark Cab1.Cab (with installer.exe) and select the "Include CAB into the MSI database".

9. File, Save as.(whatever name)

No new cab-file is created for only the added file.

Is this how it´s suppose to be or is it a bug? (again)

Advanced Installer 18.2, Architect version.
Windows 10.0.18363.1500

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Create mst with new files in cab

Mon May 17, 2021 3:21 pm

Hello and welcome to our forums,

First of all, please accept my apologies for the delayed reply.

I have tested this scenario using the provided steps and I was indeed able to replicate the behavior you described.

Unfortunately, I can not say for sure why this happens.

I have forwarded this to our development team for further investigations. I will update this thread once I will have more information about this.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Create mst with new files in cab

Mon May 17, 2021 3:41 pm

Hello,

Could you please proceed as it follows and let me know if everything works as expected:

- on your disk, please create the following folder:

Code: Select all

DISK1
- add the MSI you have extracted to that folder

- recreate the transform & build it

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

repack2021
Posts: 2
Joined: Mon May 10, 2021 12:04 pm

Re: Create mst with new files in cab

Tue May 18, 2021 10:47 am

Hi,
The DISK1 workaround works! Thank you!
I hope your developers can check what´s wrong and maybe we´ll get an updated version of Advanced Installer later.

Thanks again

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Create mst with new files in cab

Tue May 18, 2021 11:56 am

Hello,

Thank you for your followup on this!

I am glad to hear everything works as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”