[GRASS-dev] [GRASS GIS] #2755: Commandline switch "/S" is not working anymore

GRASS GIS trac at osgeo.org
Tue Jan 12 06:00:50 PST 2016


#2755: Commandline switch "/S" is not working anymore
---------------------------+-------------------------
  Reporter:  derseppel     |      Owner:  grass-dev@…
      Type:  defect        |     Status:  new
  Priority:  normal        |  Milestone:  7.0.3
 Component:  Installation  |    Version:  7.0.1
Resolution:                |   Keywords:  wingrass
       CPU:  Unspecified   |   Platform:  MSWindows 7
---------------------------+-------------------------

Comment (by hellik):

 Replying to [comment:10 derseppel]:
 > what about installing MS VC++ in "normal" (GUI) mode and just skip it in
 silent mode.
 >
 > I think people (Admins) using the /S switch should be smart enough to
 find out what is missing (as I already said, it should be documented
 somewhere).
 >
 >
 > ''I tend to wontfix for this ticket.'' <-- Worst you can do. I don't
 think taht I am the only one who needs a silent install to deploy software
 in a huge environment.

 for some input:

 [http://nsis.sourceforge.net/Which_command_line_parameters_can_be_used_to_configure_installers%3F
 NSIS doc1]
 [http://nsis.sourceforge.net/Examples/silent.nsi NSIS doc2]
 [http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.4.12 NSIS doc3]

 {{{
 4.9.4.12 IfSilent

 jump_if_silent [jump_if_not]

 Checks the silent flag, and jumps to jump_if_silent if the installer is
 silent, otherwise jumps to jump_if_not. The silent flag can be set by
 SilentInstall, SilentUninstall, SetSilent and by the user passing /S on
 the command line.

 IfSilent +2
   ExecWait '"$INSTDIR\nonsilentprogram.exe"'
 }}}

 > If not, maybe your error message isn't clear enough. As you see, the
 problem can be solved on many stages.

 direct hints where improvement should go/code snippets/sentences for
 better are messages/etc are always welcome. :-)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2755#comment:11>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list