Friends,
When I run executable down manually (by clicking on the executable) it calls the installer VLC (call_vlc.exe).
************************************
Name "Install VLC"
Outfile "call_vlc.exe"
Function. onInit
Silent SetSilent
FunctionEnd
Section "Start"
SetOverwrite on
MessageBox MB_OK "Starting VLC Install ..."
ExecWait "C: \ vlc-install \ call_vlc.exe"
MessageBox MB_OK "VLC Installed"
SectionEnd
************************************
But when I run via the command: "kix32.exe logon.scr" he simply does not run the installer for VLC (call_vlc.exe).
Source of logon.scr
**************************************************
; x ------------------------------------------------ --- x
; X X VLC Setup
; x ------------------------------------------------ --- x
If Exist ("c: \ ProgramFiles \ VLC \ vlc.exe)
? "VLC is installed"
Else
Run "c: \ vlcsetup \ call_vlc.exe"
? "VLC setup executed"
Endif
*************************************************
Any idea what is happening? I need that much help from you.
Thanks
* sorry, my English is not very good
Windows Vista: functional installer manually but does not work with KiXtart
9 posts
This isn't really NSIS related is it? Should you not be asking KiXtart? And anyway, why use KiXtart? You can do everything from NSIS script.
Stu
Stu
I'm using NSIS installer since November 2008 and installed it with OpenOffice and Firefox on 45,000 computers. The computers are all on a network with Active Directory logon script and so I need to install the KiXtart + NSIS.
Sorry I still don't see why this has anything to do with NSIS and why you need to use KiXtart. Your KiXtart script is the same as (with improvements; don't assume the VLC directory; get it from the registry):
StuSetRegView 32
ReadRegStr $R0 HKLM SOFTWARE\VideoLAN\VLC ``
${If} $R0 == ``
${OrIfNot} ${FileExists} $R0
InitPluginsDir
File /oname=$PLUGINSDIR\vlcsetup.exe vlcsetup.exe
ExecWait `"$PLUGINSDIR\vlcsetup.exe" command line options here`
${EndIf}
Soon after a user logs on my network, it automatically runs a logon script. scr and that's where I have to call the installer vlc developed in NSIS.
Have you tried running another executable file? If that doesn't work then you know it has nothing to do with call_vlc.exe and it's a problem with your script. Otherwise you need to contact the developers of VLC.
Stu
Stu
The problem occurs with any other executable. The detail is that it works manually but not via logon script. 🙁
Have you tried using a batch file instead?
Stu
Stu
Sorry!
It seems the problem is even with Kix. Anyway, I found it confusing documentation about the command "Requestlevel. Thank you for your attention.
It seems the problem is even with Kix. Anyway, I found it confusing documentation about the command "Requestlevel. Thank you for your attention.