Build VLC aliases cleanly (don't need to parse argv[0])
[vlc.git] / mozilla / install.js
1 var version = "0.8.6-rc1";\r
2 \r
3 initInstall( "VideoLAN", "VLC", version, 1);\r
4 \r
5 var tmpFolder = getFolder( "Temporary" );\r
6 \r
7 if ( ! fileExists( tmpFolder) )\r
8 {\r
9         logComment( "Cannot find Temporary Folder!" );\r
10         cancelInstall();\r
11 }\r
12 \r
13 \r
14 setPackageFolder( tmpFolder );\r
15 \r
16 addFile( "http://downloads.videolan.org/pub/videolan/testing/0.8.6-rc1/win32/vlc-0.8.6-rc1-win32.exe" );\r
17 \r
18 var exe  = getFolder(tmpFolder, "vlc-0.8.6-rc1-win32.exe");\r
19 File.execute( exe );\r
20 \r
21 performInstall();\r
22 \r