Old 17th December 2007, 14:23   #1
dynamis_dk
Junior Member
 
Join Date: Dec 2007
Posts: 3
Supressing language selection for silent install

Hi, I'm new to the NSIS format for installs.

I've been asked to script an install using existing setup files etc from a 3rd party. As part of this i'd like to install a NSIS setup silently.

If i run as "installer.exe /S" the installer seems to run silently but i still get prompted to select a language by a drop down box.

Can this be supressed?? I'm after a complete silent solution for rollout.
dynamis_dk is offline   Reply With Quote
Old 17th December 2007, 16:43   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Use:
${Unless} ${Silent}
...
${EndUnless}

Or:
IfSilent SkipLanguage
...
SkipLanguage:

Stu
Afrow UK is offline   Reply With Quote
Old 17th December 2007, 18:34   #3
dynamis_dk
Junior Member
 
Join Date: Dec 2007
Posts: 3
I'm guessing that would be script if i were doing the development??

I'm only using the provided setup.exe for the application i've been given. I cannot edit the setup.exe only run it.

Is there a way to supress the lanugage prompt via something like an answer files or command line argument??

thanks
dynamis_dk is offline   Reply With Quote
Old 17th December 2007, 19:03   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
The default language selection dialog is suppressed for silent installations. If passing /S doesn't hide it, you're dealing with a custom dialog which requires custom handling. You should contact the installer's author for details on how to hide his language selection dialog.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 18th December 2007, 07:11   #5
dynamis_dk
Junior Member
 
Join Date: Dec 2007
Posts: 3
Ok, Thanks for the help.

I plan to look into this into the future for my own use so i may be back after christmas
dynamis_dk is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

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