NSIS default install type problem - with fix

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
VLCfan
New Cone
New Cone
Posts: 2
Joined: 30 Aug 2009 13:02

NSIS default install type problem - with fix

Postby VLCfan » 30 Aug 2009 14:03

I found some problems with the Nullsoft installer script for Windows. The following options are set to default when they shouldn't be:
- ActiveX plugin
- Delete preferences and cache (isn't applied with the Full profile either)

To fix these problems I edited the vlc.win32.nsi in the following way:
[Line 560]
Section /o $Name_Section04 SEC04 ; ActiveX option
[Line 626] Section /o $Name_Section08 SEC08 ; Delete preferences option
[Insert line 627] SectionIn 3 ; Add Delete preferences option to Full profile

I have checked vlc-1.0.1-win32 and vlc-1.0.2-git-20090830-0004-win32 and both have the same problem.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: NSIS default install type problem - with fix

Postby VLC_help » 30 Aug 2009 19:14

Could you please create a patch file and send it to vlc-devel mailing list?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: NSIS default install type problem - with fix

Postby Jean-Baptiste Kempf » 30 Aug 2009 23:55

Why ActiveX shouldn't be default?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLCfan
New Cone
New Cone
Posts: 2
Joined: 30 Aug 2009 13:02

Re: NSIS default install type problem - with fix

Postby VLCfan » 31 Aug 2009 02:48

Could you please create a patch file and send it to vlc-devel mailing list?
ok
Why ActiveX shouldn't be default?
To make the script consistent with the Recommended profile i.e. ActiveX does not exist in the Recommended profile. My intention is to fix the mistakes that I found within the script, not to change the options within the profiles.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: NSIS default install type problem - with fix

Postby thannoy » 31 Aug 2009 16:05

For what I remember, the "delete preferences" had been activated because there were incompatibilities between versions of the plugin cache or the config file. People who didn't cleared them wasn't able to read some files because their new VLC was trying to work with an older version of cache/config.

If the cause which lead to this default activation remains (I don't know if it is the case), then better fix would be to integrate it in the recommendation profile.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 42 guests