Alext
Posts: 5
Joined: Tue Dec 04, 2018 7:30 pm

VLC create MST

Mon Jan 21, 2019 12:56 pm

Hello trying to create mst files to customize installation.
Msi editor is available here :

http://download.videolan.org/pub/videol ... -win32.msi

When trying to save the project i have an error :

Checking builds status
Build required.

[ DefaultBuild ]
Building package: C:\Users\Admin\Desktop\WORK\VLC\vlc-3.0.6-win32.msi
Prepare build
Preparing files
Invalid MSI package. Cabinet data streams product.cab - missing from the package.
Reusing archives from cache
File "C:\Users\Admin\Desktop\WORK\VLC\vlc-3.0.6-win32.msi-cache\part3\product.cab" could not be written.
Error details

Build finished because an error was encountered.


Advanced Installer 15.6 build 0c40bd432e
*** Stack Trace (x86) ***

[0x761308b2] RaiseException()
[0x021e287a] -----
[0x012cf937] -----
[0x012ce862] -----
[0x012e141c] -----
[0x012ce790] -----
[0x011dcbce] -----
[0x010ad3f5] -----
[0x011d1610] -----
[0x00e920ba] -----
[0x00dd9511] -----
[0x00de213e] -----
[0x019ee390] -----
[0x00dc0ef1] -----
[0x779f4a47] RtlGetAppContainerNamedObjectPath()
[0x779f4a17] RtlGetAppContainerNamedObjectPath()
[0x00a10000] MODULE_BASE_ADDRESS


The error raise even if i just open the msi with advanced installer and try to save it.

Any advice ?

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: VLC create MST

Mon Jan 21, 2019 4:03 pm

Hello,

I've tested your scenario and replicated. We will further test and investigate this issue on our end. Thank you for bringing it to our attention.

As a side note, please note that even Orca.exe fails to create a transform file:
orca error.PNG
orca error.PNG (6.1KiB)Viewed 13877 times
We'll continue investigating the MSI on our end.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Alext
Posts: 5
Joined: Tue Dec 04, 2018 7:30 pm

Re: VLC create MST

Wed Jan 23, 2019 1:43 pm

Hello,

It seems that vlc developpers are aware of this bug :

https://trac.videolan.org/vlc/ticket/18985

And they won't fix it without some sponsorship.

But someone found a workaround :

I also ran into this issue today. Took me quite some time to understand it's not a bug in Orca...

I also implemented a workaround, based on what packageologist wrote. I just don't have "Insted", so I had find a similar prodecure with standard tools only. I used Orca.exe and WiMakCab?.vbs from the Windows SDK.

Extract the files by creating an administrative installation point like this: msiexec /a vlc-3.0.4-win64.msi /qb TARGETDIR=C:\fixmsi
Open the original (broken) MSI in Orca and export all tables.
Create a new MSI in Orca and import all the tables exported in the last step.
Manually copy the Summary Information from the original MSI to the new MSI, but leave "compressed by default" unchecked.
Save the new MSI in Orca, replacing the small vlc-3.0.4-win64.msi in the administrave installation point.
Create a standalone MSI like this: cscript WiMakCab?.vbs vlc-3.0.4-win64.msi product /L /C /U /E
To clean up, everything except the new MSI can be deleted.
For the fixed MSI, I have successfully created an MST file and deployed it with group policy.



Do you think I can do the same with Advance Installer ?

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: VLC create MST

Wed Jan 30, 2019 2:24 pm

Hello,

Note that you can export tables with Advanced Installer. However, when you need to create a new blanc MSI and import the related tables, Advanced Installer will throw an error, saying that the related tables are already defined.

So, you cannot import those tables in an Advanced Installer project because those tables are standard MSI tables and are already defined in Advanced Installer. In this case, you can only add the missing entries from the default bales but this would need a lot of entries to add manually.

In this case, you will have to use a tool as Orca that when opened it contains a bank project, with no tables inside.

Please let me know if there is anything else I can help you with.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”