MSFN Forum: [batch] Do You Want To Install .... ? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[batch] Do You Want To Install .... ? Let a user choice what software they wan Rate Topic: -----

#1 User is offline   batman2k 

  • Group: Members
  • Posts: 3
  • Joined: 17-February 05

  Posted 22 February 2005 - 04:06 PM

Hi all,

I found a batchfile that lets a user choice if he/she wants to install software.
it uses set /p and is a replacement for the old choice command. (so its 2k/xp compatible)

it might be usefull for people who dont know to much (like myself) about scripting.

im posting this cause i couldnt find it yet on this forum, but if im wrong feel free to correct me..


@ECHO off
cls
:start
ECHO.

set choice=
set /p choice=Do you want to install office?
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='y' goto officeyes
if '%choice%'=='n' goto officeno
ECHO "%choice%" is not a valid option
ECHO.
goto start
:officeyes
start /wait %systemdrive%\install\OFFICE\setup.exe TRANSFORMS=PRO11.MST /qb-
goto hitman
:officenee
goto hitman



:hitman
set choice=
set /p choice=Do you want to install Hitman ?
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='y' goto hitmanyes
if '%choice%'=='n' goto hitmanno
ECHO "%choice%" is not a valid option
ECHO.
goto hitman
:hitmanyes
start /wait %systemdrive%\install\HITMANPRO\hitmanpro2nl.exe /verysilent
goto end
:hitmanno
goto end
:end



#2 User is offline   erik_demon 

  • Master Chief
  • PipPip
  • Group: Members
  • Posts: 253
  • Joined: 22-August 04

Posted 22 February 2005 - 04:25 PM

This is indeed a nice script. The only downside that it has, is that you still manualy need to choose which programs you want to install.

There are a lot of alternatives for this script.

My personal favorite is WPI

See this topic for a screen shot of how my WPI looks like

#3 User is offline   batman2k 

  • Group: Members
  • Posts: 3
  • Joined: 17-February 05

Posted 22 February 2005 - 04:45 PM

erik_demon, on Feb 22 2005, 11:25 PM, said:

This is indeed a nice script. The only downside that it has, is that you still manualy need to choose which programs you want to install.
There are a lot of alternatives for this script.
My personal favorite is WPI
See this topic for a screen shot of how my WPI looks like
<{POST_SNAPBACK}>


Thanks for the link, it looks very nice. Gonna give it a try tomorrow (if its not to hard)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy