Page 1 of 1

MSI installer for 2.1.0

Posted: 09 Apr 2013 13:31
by funman
Hello,

We just started providing a msi installer in the VLC 2.1.0 (beta) nightly builds.

Please test it and report back!

Windows x64 nightly builds should also come in .msi form once they are back (after I had to disable gnutls / https modules).

Posted: 11 Apr 2013 07:51
by TmvJosue
Hi
What is the difference between the exe and the msi?
According to Wikipedia it is better to use msi, or at least is what MS recommends:
http://en.wikipedia.org/wiki/Windows_Installer
So it is advisable to use it instead of exe?

Re: MSI installer for 2.1.0

Posted: 11 Apr 2013 09:40
by etix
The MSI will probably be the default installer for VLC 2.1 but for now it still lacks some important features (like a proper upgrade path). I do not recommend using it except for testing purpose.

Re: MSI installer for 2.1.0

Posted: 11 Apr 2013 10:47
by TmvJosue
Ok etix, so we go to testing it then. There are some errors or behavior that you expect/search?

I installed the last msi file and all work fine, the unique error was when the installer tried to launch the VLCmp when it finished. Is related at the problem in this ticket: https://trac.videolan.org/vlc/ticket/8410

But the msi work fine.

Edit:
I've seen that does not remove versions already installed before the installation like the exe does, but I guess that's not a error.

Win8-x86-64
VLC-32bit

Re: MSI installer for 2.1.0

Posted: 11 Apr 2013 11:46
by etix
Thanks for the quick test.
I'm aware that installing a new version is not removing/upgrading correctly in some cases, this should be fixed soon.

Re: MSI installer for 2.1.0

Posted: 16 Apr 2013 06:00
by TmvJosue
Hi.
All the MSI builds are broken, since its first build:
210-git-20130409-0023.msi (1st. msi build)
It can't play files, showing this error:
"Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Users/SKY/Desktop/SONG.mp3'. Check the log for details."
Here is the log at verbosity 2 (210-git-20130412-0010.msi):

Code: Select all

main debug: adding item `SONG.mp3' ( file:///C:/Users/SKY/Desktop/SONG.mp3 ) qt4 debug: Adding a new MRL to recent ones: file:///C:/Users/SKY/Desktop/SONG.mp3 main debug: processing request item: SONG.mp3, node: null, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on SONG.mp3 main debug: SONG.mp3 is at 0 main debug: creating new input thread main debug: Creating an input for 'SONG.mp3' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\SKY\AppData\Local\Temp' main debug: `file:///C:/Users/SKY/Desktop/SONG.mp3' gives access `file' demux `' path `/C:/Users/SKY/Desktop/SONG.mp3' main debug: creating demux: access='file' demux='' location='/C:/Users/SKY/Desktop/SONG.mp3' file='C:\Users\SKY\Desktop\SONG.mp3' main debug: looking for access_demux module matching "file": 19 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/SKY/Desktop/SONG.mp3', path='C:\Users\SKY\Desktop\SONG.mp3' main debug: looking for access module matching "file": 14 candidates main debug: no access modules matched main error: open of `file:///C:/Users/SKY/Desktop/SONG.mp3' failed main debug: dead input main debug: Destroying the input for 'SONG.mp3' main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: Creating an input for 'SONG.mp3' main debug: meta ok for (null), need to fetch art main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\SKY\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: removing module "lua" main debug: searching art for SONG.mp3 main debug: looking for art finder module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\SKY\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched main debug: art not found for SONG.mp3

Since version:
210-git-20130413-0009.msi
Does not start the GUI, but start the VLC process and gradually uses more and more RAM, like the behaviour in this threads:
viewtopic.php?f=14&t=109463
viewtopic.php?f=14&t=109790

Aparently are missing some files:
libgcc_s_sjlj-1.dll
libstdc++-6.dll
If they are aggregates then the GUI starts and there aren't memory leak but it can't play files anyway:
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Users/SKY/Desktop/SONG.mp3'. Check the log for details.
(210-git-20130416-0008.msi)

Code: Select all

main debug: adding item `SONG.mp3' ( file:///C:/Users/SKY/Desktop/SONG.mp3 ) qt4 debug: Adding a new MRL to recent ones: file:///C:/Users/SKY/Desktop/SONG.mp3 main debug: processing request item: SONG.mp3, node: null, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: resyncing on SONG.mp3 main debug: SONG.mp3 is at 0 main debug: creating new input thread main debug: Creating an input for 'SONG.mp3' main debug: Creating an input for 'SONG.mp3' main debug: meta ok for (null), need to fetch art main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\SKY\AppData\Local\Temp' main debug: `file:///C:/Users/SKY/Desktop/SONG.mp3' gives access `file' demux `' path `/C:/Users/SKY/Desktop/SONG.mp3' main debug: creating demux: access='file' demux='' location='/C:/Users/SKY/Desktop/SONG.mp3' file='C:\Users\SKY\Desktop\SONG.mp3' main debug: looking for access_demux module matching "file": 20 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/SKY/Desktop/SONG.mp3', path='C:\Users\SKY\Desktop\SONG.mp3' main debug: looking for access module matching "file": 15 candidates main debug: no access modules matched main error: open of `file:///C:/Users/SKY/Desktop/SONG.mp3' failed main debug: dead input main debug: Destroying the input for 'SONG.mp3' main debug: changing item without a request (current 0/1) main debug: nothing to play main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\SKY\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: removing module "lua" main debug: searching art for SONG.mp3 main debug: looking for art finder module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\SKY\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched main debug: art not found for SONG.mp3
Win8 x64 - VLCmp 32 bits

Re: MSI installer for 2.1.0

Posted: 17 Jun 2013 21:43
by funman
This should have been fixed (not sure at which date exactly), but last time I tried MSI it did not install properly

Re: MSI installer for 2.1.0

Posted: 17 Aug 2013 15:35
by funman
Bumping the thread to ask for MSI testing.

I just installed a new component on our buildbot machine to try to fix Bug 8858, and also enabled MSI building for 2.1 nightly builds.

Please test nightly builds as they appear in the next days and report success/failure.

Thanks!

Re: MSI installer for 2.1.0

Posted: 09 Sep 2013 22:56
by phuzi0n
Will the MSI installer finally fix the incredibly obtrusive update process? I hate it when I play a video, accept an update, then have the movie playing but the player completely unresponsive while the updater is running, and finally having to restart the video once the update is installed. It would be much better if the update downloaded in the background and installed after the current playlist finished or on the next run or at least make the player responsive while it's downloading.

Re: MSI installer for 2.1.0

Posted: 26 Sep 2013 19:24
by dam012345
Hello,
Is there an MSI planned for VLC 2.1.0 final ?

Re: MSI installer for 2.1.0

Posted: 08 Oct 2013 11:18
by jascha
Thanks for the quick test.
I'm aware that installing a new version is not removing/upgrading correctly in some cases, this should be fixed soon.

Re: MSI installer for 2.1.0

Posted: 24 Oct 2013 20:19
by eqonline
Bumping the thread to ask for MSI testing.

I just installed a new component on our buildbot machine to try to fix Bug 8858, and also enabled MSI building for 2.1 nightly builds.

Please test nightly builds as they appear in the next days and report success/failure.

Thanks!
MSI installer is working well, after a few edits to the msi (I'm pushing a silent install)
the installer is not honoring the "EULA_ACCEPT" property for the silent install, so I just removed the condition on the install button that forced the check box to be checked before continuing.

I'm really interested in how to edit the msi so vlc sets itself as the default program for all the file types it has associations for?

Re: MSI installer for 2.1.0

Posted: 24 Oct 2013 20:45
by eqonline
I was able to get the file associations sorted.

Open the msi with an editor (I use orca) and go to the "feature" table, change the "Attributes" column to "24" for each set of associations you want by default.

Re: MSI installer for 2.1.1

Posted: 18 Nov 2013 21:42
by ldlx
Hi,

I already created a Windows Installer package for 1.1.11, 2.0.8, 2.1.0 and finally 2.1.1 using WiX fitting my personal needs since last year, although I didn't make it public. So my installer is "just" copying files, registering the Mozilla/ActiveX plugins and creating the start menu shortcuts (which are customizable through Orca or "InstEd It")

Please tell me how I can share my efforts with you without having to use a bug tracker or something like that (I just want to share my VS project source files and maybe the compiled binaries), as I would have to join a large amount of bugtrackers just to provide my source files/binaries for a handful of applications. At least it would be helpful to have the same upgrade code in case a package needs to be upgraded by one of another author.

As for my personal opinion, it is not reasonable to integrate associations for file formats, which are used by more than just one application, which would be replaced by every update of your installer, without providing the ability to repair (let's say restore) the file associations that existed before installing your MSI package which were associated to other applications... Or maybe got registered to another application since the last update of VLC media player MSI... Could you provide THAT beside clean install/uninstall and caring of non-MSI-installers of VLC media player? I'm not able to do this, so I didn't include file format associations in my Windows Installer package.

Btw. which kind of users are you targetting with your MSI installer? Do you want to replace the regular installer or do you want to provide an installer for enterprise environments, where some of the features of the regular installer just don't need to be cared of? Or where you don't have to care about non-MSI-installed VLC media players?

Kind regards, ldlx

Re: MSI installer for 2.1.0

Posted: 11 Dec 2013 01:01
by Jean-Baptiste Kempf
The WiX code is inside the main vlc.git, if you want to help.

We want to replace all the installer, if possible.

Re: MSI installer for 2.1.0

Posted: 02 Jan 2014 15:05
by project2501a
Apologies if this not the right place to post; Neither google nor #vlc in FreeNode came back with any answers.

We are building a windows image to deploy, and I would like to get some Continuous Integration going.

Is there a stable msi package with fixed name we can point wget to? something like http://get.videolan.org:81/vlc/last/vlc-setup.msi , which points to the latest installer?

Re: MSI installer for 2.1.0

Posted: 02 Jan 2014 15:30
by Jean-Baptiste Kempf
So far, no, sorry.

Re: MSI installer for 2.1.0

Posted: 14 Jan 2014 13:03
by funman
Hello,

Our nightlies build machine has now been upgraded with a newer version of mono to hopefully fix the long standing issue.

Last build works fine for me, please test builds in the following days to see if they continue working or if the issue is back.

Thank you!

Re: MSI installer for 2.1.0

Posted: 29 Jan 2014 12:46
by el.cid
Hello,

is posible to set property like "NOUPDATE" etc.. to achieve "run vlc.exe --no-qt-privacy-ask --no-qt-updates-notif"? Otherwise MSI work fine. Great job!

Re: MSI installer for 2.1.0

Posted: 07 Feb 2014 17:58
by stedlj
Tried installing vlc-2.2.0-git-20140207-0020.msi as well as vlc-2.1.4-20140207-0203.msi and got this error.
"There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact you support....."
followed by
"VLC media player 2.2.0 (32-bit) Setup Wizard ended Prematurely.

System: Win7 Pro 64bit
Old version of VLC: 2.1.2

Re: MSI installer for 2.1.0

Posted: 30 Oct 2014 10:55
by el.cid
Hi,

vlc-3.0.0-git-20141028-0403.msi - Setup Wizard ended Prematurely.

System: Win7 Pro 64bit

Is there any list of stable MSI? I would like to use it but I already tried five more versions and all of them was useless...

Re: MSI installer for 2.1.0

Posted: 24 Mar 2015 20:37
by Marcuzzo
When I ran the installer by double clicking it in windows explorer I had the same error message that has been reported in the last 2 posts.
To figure out what went wrong I launched the installer from an elevated cmd ( in windows 8.1 ) using the following command:

Code: Select all

C:\temp>msiexec /i vlc-2.2.1.msi /L*v "%cd%\log.log"
and the installation ran without any issues.

Code: Select all

MSI (c) (14:90) [20:16:33:377]: Product: VLC media player 2.2.1 (32-bit) -- Installation completed successfully. MSI (c) (14:90) [20:16:33:379]: Windows Installer installed the product. Product Name: VLC media player 2.2.1 (32-bit). Product Version: 2.2.1.0. Product Language: 1033. Manufacturer: VideoLAN. Installation success or error status: 0. MSI (c) (14:90) [20:16:33:384]: Cleaning up uninstalled install packages, if any exist MSI (c) (14:90) [20:16:33:386]: MainEngineThread is returning 0
After the installation I removed VLC again and tried to run it in explorer again to reproduce the error but it completed the installation without any errors.


EDIT: Same for vlc-3.0.0-git-20150324-0003
C:\temp>msiexec /i vlc-3.0.0-git-20150324-0003.msi /L*v "%cd%\3.log"

MSI (c) (70:CC) [20:38:24:662]: Product: VLC media player 3.0.0 (32-bit) -- Installation completed successfully.

MSI (c) (70:CC) [20:38:24:662]: Windows Installer installed the product. Product Name: VLC media player 3.0.0 (32-bit). Product Version: 3.0.0.0. Product Language: 1033. Manufacturer: VideoLAN. Installation success or error status: 0.

MSI (c) (70:CC) [20:38:24:662]: Grabbed execution mutex.
MSI (c) (70:CC) [20:38:24:662]: Cleaning up uninstalled install packages, if any exist
MSI (c) (70:CC) [20:38:24:662]: MainEngineThread is returning 0

Re: MSI installer for 2.1.0

Posted: 19 May 2015 04:07
by tosi
Is there a way how to install the VLC via MSI with GUI? It works fine with GUI for EXE, but not for MSI.