How to change installation directory path with command line of NSIS installer of new VLC player?

2

I want to silently install NSIS in D:\VLC. I can do that with old VLC version i.e. VLC 1.1.9. But I cannot do the same for VLC 2.0.5.

Here is the command line I am using

vlc-1.1.9-win32.exe /D=D:\vlc\

Result:

Old VLC installer can change installation directory with command line

Command for 2.0.5

vlc-2.0.5-win32.exe /D=D:\vlc\

Result:

new VLC installer cannot change installation directory with command line

It don't want to download source and re-compile with NSIS. I just want to know is changing directory of installation possible in new VLC? And if yes How?

grvpanchal

Posted 2013-02-28T18:01:43.310

Reputation: 748

No one to answer? – grvpanchal – 2013-05-13T19:26:06.423

It seems to me that latest GetParameters is bugged... try case sensitive "/d" – Marco A. – 2013-09-25T08:12:19.500

I tried but still isnt working.. – grvpanchal – 2013-10-18T16:18:17.003

what is the output of the parameter command line? Can you print it out? – Marco A. – 2013-10-19T09:50:28.980

Answers

0

You can fix this, by registering the following registry key before launching the setup: [HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC] "InstallDir"="D:\vlc"

Ruben Koene

Posted 2013-02-28T18:01:43.310

Reputation: 1