How to skip all pages?
hi, i quite new to this. How do we skip all the pages and install the installer silently in the backgroud w/o user type or click anything?
Archive: How to skip all pages?
How to skip all pages?
hi, i quite new to this. How do we skip all the pages and install the installer silently in the backgroud w/o user type or click anything?
Hi,
I am not sure what software/driver you are installing?
or are you just copying some files from installer...?
please look at this URL
http://forums.winamp.com/search.php?...by=&sortorder=
Re: How to skip all pages?
Originally posted by AlstomUse SetSilent instruction.
hi, i quite new to this. How do we skip all the pages and install the installer silently in the backgroud w/o user type or click anything?
Re: How to skip all pages?
I am trying to install this installation silently using silent mode, it is installing in the backgroud but not installing into the computer. Below is my script.
;Runing a .exe file on Windows Start
!include "MUI.nsh"
Name "S2KSetup"
OutFile "S2Kinstall.exe"
!insertmacro MUI_LANGUAGE "English"
SilentInstall silent
AutoCloseWindow true
installDir $DESKTOP\S2K
Function .onInit
Call IsSilent
Pop $0
StrCmp $0 1 0 +3
MessageBox MB_OK|MB_ICONSTOP "This installer can run in silent mode!"
Abort
FunctionEnd
# default section
section
# define the output path for this file
setOutPath $INSTDIR
# define what to install and place it in the output path
file "setupS2KServer.exe"
ExecShell "open" "$EXEDIR\setupS2KServer.exe" /S
sectionEnd
Function IsSilent
Push $0
Push $CMDLINE
Push "/S"
Call StrStr
Pop $0
StrCpy $0 $0 3
StrCmp $0 "/S" silent
StrCmp $0 "/S " silent
StrCpy $0 0
Goto notsilent
silent: StrCpy $0 1
notsilent: Exch $0
FunctionEnd
Function StrStr
Exch $R1 ; st=haystack,old$R1, $R1=needle
Exch ; st=old$R1,haystack
Exch $R2 ; st=old$R1,old$R2, $R2=haystack
Push $R3
Push $R4
Push $R5
StrLen $R3 $R1
StrCpy $R4 0
; $R1=needle
; $R2=haystack
; $R3=len(needle)
; $R4=cnt
; $R5=tmp
loop:
StrCpy $R5 $R2 $R3 $R4
StrCmp $R5 $R1 done
StrCmp $R5 "" done
IntOp $R4 $R4 + 1
Goto loop
done:
StrCpy $R1 $R2 "" $R4
Pop $R5
Pop $R4
Pop $R3
Pop $R2
Exch $R1
FunctionEnd
All you need is a simple script without MUIs/pages, nor languages etc.
Just some function(s) to read from registry, to set the output directories if needed etc, and a section to install the files, write to the registry, call other functions to start/stop services etc.
how do i write it?is the script i wrote wrong? It do seem to install the program at all. If not install silently, it would prompt the user to click next, yes and etc 4 the licence and the directory to install. How do i write to skip all this and install in the background??
Assume you wish to install Firefox without interrupt the end user on a machine where firefox is not installed.
Outfile "test.exe"
SilentInstall silent
function .onInit
Read the target's registry to find out if firefox is installed
then according to that quit or continue.
functionend
section -boo
setoutpath "$PLUGINSDIR"
File /oname=$PLUGINSDIR\Firefox_installer.exe Firefox_installer.exe
ExecWait "$PLUGINSDIR\Firefox_installer -ms"
sectionend
sorry, maybe i write it wrongly. My english is not gd.
I mean is it possible to exec a installation silently w/o prompting the user where to install, etc? I am able to run e installer silently but e installation of the program cannot. if silent, it will not install into e com.
Anyway, thx 4 ur help!! ;)
OK if the installation is from NSIS try to read the SilentInstall topic on manual, create your silent installer and execute it through some gui or from command line with /S switch. For other installers you have to find out the silent switch if they have any.
Thx but the installation is not from NSIS. I would find out the silent switch for the installers.
Million Thx!!! ;)