Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th May 2011, 16:05   #1
kraucer
Junior Member
 
Join Date: May 2011
Posts: 9
Unhappy Windows Vista: functional installer manually but does not work with KiXtart

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
kraucer is offline   Reply With Quote
Old 13th May 2011, 17:10   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 13th May 2011, 18:18   #3
kraucer
Junior Member
 
Join Date: May 2011
Posts: 9
Unhappy

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.
kraucer is offline   Reply With Quote
Old 13th May 2011, 18:32   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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):
code:
SetRegView 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}

Stu
Afrow UK is offline   Reply With Quote
Old 13th May 2011, 19:01   #5
kraucer
Junior Member
 
Join Date: May 2011
Posts: 9
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.
kraucer is offline   Reply With Quote
Old 13th May 2011, 19:36   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 13th May 2011, 20:34   #7
kraucer
Junior Member
 
Join Date: May 2011
Posts: 9
Unhappy

The problem occurs with any other executable. The detail is that it works manually but not via logon script.
kraucer is offline   Reply With Quote
Old 13th May 2011, 21:16   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Have you tried using a batch file instead?

Stu
Afrow UK is offline   Reply With Quote
Old 18th May 2011, 11:59   #9
kraucer
Junior Member
 
Join Date: May 2011
Posts: 9
Red face Sorry!

It seems the problem is even with Kix. Anyway, I found it confusing documentation about the command "Requestlevel. Thank you for your attention.
kraucer is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
installer, kixtart, vista

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump