Old 12th July 2011, 15:49   #1
dwatrous
Junior Member
 
Join Date: Jul 2011
Posts: 1
MUI + InstType and silent install

I have created an installer that uses MUI and has several InstTypes. It works great.

I now have the need to automate the deployment across several hundred hosts and would like to use the silent install option, but I'm having trouble.

I was hoping that I could just run it from the command line like this:
code:
myinstaller.exe /S /InstType="Some Platform"


That doesn't work. The correct sections are not selected.

Can someone tell me how to pass the InstType in on the command line?
dwatrous is offline   Reply With Quote
Old 13th July 2011, 05:40   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
It's all in the manual: http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.11

You can use the macros in sections.nsh to toggle (enable/disable) sections, depending on the paramaters supplied to the installer. You can do this in the .onInit function.
MSG is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
insttype, mui, silent

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