Page 1 of 1

Correct Installation under Vista

Posted: 09 Oct 2008 01:19
by gopackgo
After Vista is installed in Vista, a box comes up that asks if VLC was installed correctly, and if not, to use it's reccommended settings. For some reason, Vista thinks VLC isn't designed to run on Vista. It would be great if this wouldn't show up when it is installed on Vista.

Re: Correct Installation under Vista

Posted: 09 Oct 2008 19:13
by VLC_help
Some older installers cause this if not changed correctly, same applies to nsis which is used for VLC. But it can be fixed.
http://colinnewell.wordpress.com/2008/0 ... ows-vista/

RequestExecutionLevel should be the correct thing. 4.8.1.32 RequestExecutionLevel from http://nsis.sourceforge.net/Docs/Chapter4.html
Now lets hope someone fixes this :D

Re: Correct Installation under Vista

Posted: 09 Oct 2008 23:10
by gopackgo
Cool, good find. I don't have the coding or contact know how to do anything about this. It would be great if this could be fixed though!! :)

Re: Correct Installation under Vista

Posted: 10 Oct 2008 09:15
by Chuen
Hi VLC_help, j-b,

Can one of you patch the following XML snippet

Code: Select all

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo>
after the <description> tag but before the <dependency> tag
as shown below in the vlc.exe.manifest file and make an installer for testing in Vista.

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="VideoLAN.VLC" type="win32" /> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> <description>see http://www.videolan.org/</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>

Re: Correct Installation under Vista

Posted: 10 Oct 2008 14:53
by VLC_help
I can't commit anything :D (I am not official VLC-dev nor do I have commit rights, and that is a good thing)

Re: Correct Installation under Vista

Posted: 10 Oct 2008 15:39
by Jean-Baptiste Kempf
Why do we need anything special for Vista... Pfff

Re: Correct Installation under Vista

Posted: 11 Oct 2008 03:32
by gopackgo
Why do we need anything special for Vista... Pfff
So are you saying that you are not going to look into this? :(

Re: Correct Installation under Vista

Posted: 11 Oct 2008 12:21
by Jean-Baptiste Kempf
Why do we need anything special for Vista... Pfff
So are you saying that you are not going to look into this? :(
I will, but we have sooo many issues with manifest, that I don't know If I want to.

Re: Correct Installation under Vista

Posted: 11 Oct 2008 15:50
by Chuen
Hi j-b,

The manifest is valid for XP and Vista If it works.