#2755: Commandline switch "/S" is not working anymore
--------------------------+-------------------------
Reporter: derseppel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Installation | Version: 7.0.1
Keywords: | CPU: Unspecified
Platform: MSWindows 7 |
--------------------------+-------------------------
When using the "WinGRASS-7.0.1-1-Setup.exe" with the Commandline parameter
"/S" to perform a silent installation a window appears.
This window is asking me if I wish to install the MS Visual C++ Packages
(see attachment).
With the old "WinGRASS-7.0.0-1-Setup.exe" everything works fine.
IDK which default action should be applied here. For me it would be OK
when the installer simply does not install any MS Visual C++ Packages.
Best way would be (maybe a lot of work to do here) to check if the VC++
Packages are installed and add them only if they are not.
#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 derseppel):
Replying to [comment:6 neteler]:
> Replying to [comment:4 DerSeppel]:
> > Will it will be fixed in Version 7.0.3 or is it deferred again?
>
> Would you want /S to automatically install these (needed) MS Visual C++
Packages or to skip them?
Depends on how this will be implemented.
If it checks which versions are already installed and then just installs
the missing versions, it would be nice.
But for me it will also be Ok if all VC++ installations are skipped when
the needed versions are documented somewhere easy to find.
#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:7 derseppel]:
> Replying to [comment:6 neteler]:
> > Replying to [comment:4 DerSeppel]:
> > > Will it will be fixed in Version 7.0.3 or is it deferred again?
> >
> > Would you want /S to automatically install these (needed) MS Visual
C++ Packages or to skip them?
>
> Depends on how this will be implemented.
>
> If it checks which versions are already installed and then just installs
the missing versions, it would be nice.
>
> But for me it will also be Ok if all VC++ installations are skipped when
the needed versions are documented somewhere easy to find.
the reason why the windows pops up is that some time ago it was changed to
install the runtimes by default.
AFAIR background: there were many complaints in the ML that winGRASS isn't
working caused by missing runtimes; therefore the install by default. the
runtimes can't be deployed by winGRASS itself cause of licensing issues;
therefore the explicit popup window informing.
there is no easy way to determine/identify which MS runtime versions are
already installed, complicated by 32bit and 64 bit and so much different
runtime versions (SP, etc etc).
some possibilities to solve this ticket:
- find an easy way to implement how to check already installed MS runtimes
versions and compare it with the needed ones and install it case by case
(input/code/... very welcome!)
- change the installer back to previous status (without installing MS
runtimes by default); possible sideeffect: new complaints of users tha
winGRASS isn't working (see above)
#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:8 hellik]:
> some possibilities to solve this ticket:
>
> - find an easy way to implement how to check already installed MS
runtimes versions and compare it with the needed ones and install it case
by case (input/code/... very welcome!)
>
> - change the installer back to previous status (without installing MS
runtimes by default); possible sideeffect: new complaints of users tha
winGRASS isn't working (see above)
>
> I tend to ''wontfix'' for this ticket.
>
> any opinions?
>
>
a third possibility:
- find a way (new additional flag/parameter?) for the "/S" installation
mode to skip MS runtime installation (input/code/.. very welcome).
#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 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).
If not, maybe your error message isn't clear enough. As you see, the
problem can be solved on many stages.
''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.
#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.
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.
#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:11 hellik]:
>
> {{{
> 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"'
> }}}
maybe another (easier?) way to skip the MS runtime installation in silent
mode?
#2755: Commandline switch "/S" is not working anymore
---------------------------+-------------------------
Reporter: derseppel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Installation | Version: 7.0.1
Resolution: | Keywords: wingrass
CPU: Unspecified | Platform: MSWindows 7
---------------------------+-------------------------
Comment (by user5):
Replying to [comment:11 hellik]:
> 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 that I am the only one who needs a silent install to deploy software
in a huge environment.
Hello, I just wanted to say that I ran into the same problem whlie trying
to deploy to a student computer pool. I think that a change, so that VC++
isn't installed in silent mode would be the best way, too.
#2755: Commandline switch "/S" is not working anymore
---------------------------+-------------------------
Reporter: derseppel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Installation | Version: 7.0.1
Resolution: | Keywords: wingrass
CPU: Unspecified | Platform: MSWindows 7
---------------------------+-------------------------
Comment (by aaronsmiley):
Hey there, thank you guys for making the software and creating a /S option
for software packaging!
I'm currently trying to package this for a University lab image, and I
can't figure out how to suppress the prompt for VC++. I have no problem
making sure the dependencies are there in advance. Is there some way I
can suppress this message so the software will install silently?
#2755: Commandline switch "/S" is not working anymore
---------------------------+-------------------------
Reporter: derseppel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Installation | Version: 7.0.1
Resolution: | Keywords: wingrass
CPU: Unspecified | Platform: MSWindows 7
---------------------------+-------------------------
Comment (by derseppel):
Replying to [comment:19 aaronsmiley]:
> Hey there, thank you guys for making the software and creating a /S
option for software packaging!
>
> I'm currently trying to package this for a University lab image, and I
can't figure out how to suppress the prompt for VC++. I have no problem
making sure the dependencies are there in advance. Is there some way I
can suppress this message so the software will install silently?
>
> Thank you again!
>
Which Version are you using? I stuck on Version 7.0. With this Version it
is sufficient to install VC++ 2010 in advance. Maybe you need the exact
VC++ version?
> Aaron
#2755: Commandline switch "/S" is not working anymore
---------------------------+-------------------------
Reporter: derseppel | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: Installation | Version: 7.0.1
Resolution: | Keywords: wingrass
CPU: Unspecified | Platform: MSWindows 7
---------------------------+-------------------------
Comment (by aaronsmiley):
Thanks for the reply - sorry I forgot to mention I’m using the latest
stable - 7.2.2. I’ve tried uninstalling and reinstalling once the
redistributables are installed, and it still prompts (even though it works
fine if I cancel the install at that point). I’ve tried installing them
first in the packaging process, (it looks like it’s 2013 and 2015 that are
most important ones), and every form of suppression I know of.
It sounds like fixing this isn’t easy, and/or the developers don’t see a
one-size-fits-all solution. I can’t suggest a solution as I don’t know
how difficult it is to develop this software, but for the folks who need a
silent option to streamline packaging for large organizations, it would be
really nice to have a way to make it silent.