Files not extracted - Advanced Installer Community
remko
Posts: 3
Joined: Mon Feb 20, 2017 11:58 am

Files not extracted

I have loaded O2003PIA.MSI which is inside https://www.microsoft.com/en-us/downloa ... x?id=20923 in Advanced Installer Version 15.6 (0C40BD432E). However in File and Folders there are no files in the listed path (it's created up to %temp%\O2003PIA 11.0.6553.0\Files\FILES\Program Files\Microsoft Office\OFFICE11).

Is this a bug?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Files not extracted

Hello and welcome to our forums,

First of all, thank you for the provided link.

However, I am not sure I understand your scenario. Could you please give me some more details about how exactly you have added the MSI to Advanced Installer? Have you added it as a prerequisite?
However in File and Folders there are no files in the listed path (it's created up to %temp%\O2003PIA 11.0.6553.0\Files\FILES\Program Files\Microsoft Office\OFFICE11
By this, do you mean that the files are extracted in the specified path before they are installed?

Looking forward to hearing from you.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
remko
Posts: 3
Joined: Mon Feb 20, 2017 11:58 am

Re: Files not extracted

Hello Catalin,

I have simply opened the msi in advanced installer (quick edit mode) with the purpose to extract the files from it which seems to work on other msi's.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Files not extracted

Hello,

First of all, I apologize for the delayed reply.

After further investigating this and also talking to the development team, I have came to the conclusion that this is happening due to the fact that there are no modifications made to the "Media" table. The "Media" table describes the set of disks that make up the source media for the installation.

Here is how you can make those files extract to the specified location:

- open the MSI in the quick edit mode.

- go to "Files and Folders" page - "Program Files" --> "Microsoft Office" --> "Office11" and add a new file there.

- now go to "Builds" page --> "Advanced CAB Layout" tab. Here a new .CAB file is created containing your file. Click on it and select that file. Right click on the file --> "Move To" --> "Existing CAB ..." and select the already existing CAB file. Now, when you build the project, the files should be extracted to the specified location.

Another way would be to go to "Builds" page and selecting the "MSI with resources next to it" option from under the "Package Type" section.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
remko
Posts: 3
Joined: Mon Feb 20, 2017 11:58 am

Re: Files not extracted

Hmm I recall this working perfectly without workaround in earlier versions. Is there a specific reason why?
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Files not extracted

Hello,

From what I know, this was the default behavior, even in earlier versions of Advanced Installer.

Maybe in the past, you had a different scenario that included a modification of the "Media" table, thus resulting in the files extracting to the specified location.

Also, do you have a specific reason why do you want the files to always extract?

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

Return to “Common Problems”