Re: [Unattended] Using unattended post os install
Dear Jeff, Jeff Black wrote: I place the following scripts in z:\scripts\ ftp://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat ftp://www.hansonsystems.com/unattended/AppsOnly_Set1.bat I can't connect to your server to get the two files, would you mind email attaching them to me personnaly? Thanks in advance. Or alternatively, since they are text batch files, maybe you could post them to the list as text in the body of emails, I am relatively sure more than than just one or two are interested in this? Best Regards, Urs Rau --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
RE: [Unattended] Using unattended post os install
Dear Jeff, Jeff Black wrote: I place the following scripts in z:\scripts\ ftp://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat ftp://www.hansonsystems.com/unattended/AppsOnly_Set1.bat I can't connect to your server to get the two files, would you mind email attaching them to me personnaly? Thanks in advance. Or alternatively, since they are text batch files, maybe you could post them to the list as text in the body of emails, I am relatively sure more than than just one or two are interested in this? Best Regards, Urs Rau Oops, fixed. http://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat http://www.hansonsystems.com/unattended/AppsOnly_Set1.bat Keep in mind that the user you are currently logged in with will need the ability to map a drive to \\ntinstall\install (or whatever share you change Start_Apps_Only_Install.bat to point to. You will most likely also want to be a local administrator on the machine in question, I assume you are using this to install applications and/or os patches and it is increasingly difficult to do that as a Restricted User ;( Any help I can get cleaning these up even more so they can be included in the base unattended distribution would be appreciated. -Jeff Begin Start_Apps_Only_Install.bat @Echo off for %%a in ( c d e f g h i j k l m n o p q r s t u v w x y z ) do if exist %%a:\dosbin\install.pl set z=%%a: if %z%== goto :unc if not %z%== goto :drive :unc :: :: Can we get Z_PATH from DHCP if option 233 is set Instead of hard coding it here? :: set Z_PATH=\\ntinstall\install %Z_PATH%\bin\mapznrun.bat %Z_PATH%\scripts\AppsOnly_Set1.bat goto :end :drive %Z%\bin\mapznrun.bat %z%\scripts\AppsOnly_Set1.bat :end End Start_Apps_Only_Install.bat Begin AppsOnly_Set1.bat @Echo off :: :: Disclamer: :: -- :: This script should be run under a local administrator account. If you choose to run under any other :: user, good luck :) My reasoning is simple, many applications and (all?) Windows security updates require you :: have file and registry permissions to add them to a machine. This script does NO user rights checking at all. :: feel free to fix that for me :) :: :: :: Modifying the path is necessary becuase we want to use todo.pl without having to specify z:\bin set path=%z%\bin;%path% :: Setup netinst directory on c: to hold the todo.txt and the log files for this workstation if not exist c:\netinst\nul md c:\netinst\ if not exist c:\netinst\logs\nul md c:\netinst\logs\ if not exist c:\netinst\mapznrun.bat copy %z%\mapznrun.bat c:\netinst\ :: install perl, it might not be installed yet call %z%\scripts\perl.bat :: :: remember the todo.pl lines are adding lines one by one to c:\netinst\todo.txt :: and will actually be executed in the reverse order that they are added. :: Last first, first last. :: :: :: Uncomment Lines as necessary :: ::** :: Cleanup Section ::** todo.pl .reboot todo.pl srconfig.pl --enable todo.pl autolog.pl --logon=0 :: :: ::* :: Application and Patches Section ::* :: :: Uncomment some lines below to install the application :: or add your own script. see z:\scripts\ for more information :: and more scripts :: :: Open Office - www.openoffice.org ::todo.pl officeop.bat :: :: Microsoft Office XP - www.microsoft.com ::todo.pl officexp.bat :: :: Cygwin - UNIX API and UTILS for Win32 - www.cygwin.com ::todo.pl cygwin.bat :: :: Adobe Acrobat Reader 6.X - www.adobe.com ::todo.pl adobe-reader.bat :: :: WinZip - www.winzip.com ::todo.pl winzip.bat :: :: TightVNC - www.ultravnc.com ::todo.pl ultravnc.bat :: :: Daemon-Tools - www.daemon-tools.cc ::todo.pl d-tools.bat :: :: 7-Zip ::todo.pl 7-zip.bat ::** ::Prepre for unattended Section ::** :: :: disable system restore todo.pl srconfig.pl --disable :: enable auto logon todo.pl autolog.pl --logon=1 :: :: ::** :: Start Unattended ::** @Echo Tasks Added to the todo.txt list @Echo Starting unattended... todo.pl --go End AppsOnly_Set1.bat --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
RE: [Unattended] Using unattended post os install
http://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat http://www.hansonsystems.com/unattended/AppsOnly_Set1.bat Keep in mind that the user you are currently logged in with will need the ability to map a drive to \\ntinstall\install (or whatever share you change Start_Apps_Only_Install.bat to point to. You will most likely also want to be a local administrator on the machine in question, I assume you are using this to install applications and/or os patches and it is increasingly difficult to do that as a Restricted User ;( Any help I can get cleaning these up even more so they can be included in the base unattended distribution would be appreciated. -Jeff I mentioned it in the previous email but it has been a awhile I start the unattended application install after logging in as the appropriate user with a simple, Start -- Run -- \\ntinstall\install\Start_Apps_Only_Install.bat -- ok Windows 2000/Xp autocomplete is your friend :) As long as the currently logged in user has permissions locally on the machine to install the items included in AppsOnly_Set1.bat AND has permissions to access \\ntinstall\install and the files therein (or whatever you change Z_PATH to point to within the Start_Apps_Only_Install.bat script) you should be good to go. -Jeff --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
[Unattended] Using unattended post os install
Title: Message I have situations where I have machines with the OS already installed, but want to use unattended to install applications. What are the steps involved in getting a machine to the point where I can use todo.pl to install applications and updates? I apologize if I have missed the documentation on this. Thanks, Bruce - Bruce Jarvis LeanLogistics, Inc. 3347 128th Ave. Holland, MI 49424 (616) 738-6400 ex. 132 [EMAIL PROTECTED] http://www.leanlogistics.com
RE: [Unattended] Using unattended post os install
I have situations where I have machines with the OS already installed, but want to use unattended to install applications. What are the steps involved in getting a machine to the point where I can use todo.pl to install applications and updates? I could find no step-by-step instructions either. It appears as though everyone that is doing this is using custom scripts to do so. I place the following scripts in z:\scripts\ ftp://www.hansonsystems.com/unattended/Start_Apps_Only_Install.bat ftp://www.hansonsystems.com/unattended/AppsOnly_Set1.bat From any workstation, logged in as a user that has permission to map a drive to my unattended share [ \\ntinstall\install ] I can launch Start - run - \\ntinstall\install\Start_Apps_Only_Install.bat The Z: drive is mapped using mapznrun.bat then appsonly_set1.bat is called to install perl and then use todo.pl to install the programs required. Hopefully this or something similar to this can be rolled into unattended. -Jeff --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info