MSFN Forum: Unattended FTP Install v2 - MSFN Forum

Jump to content



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

Unattended FTP Install v2 Rate Topic: -----

#1 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

  Posted 27 August 2004 - 06:03 AM

*** UPDATED *** check new post

http://www.msfn.org/...showtopic=26963


#2 User is offline   GnarlyC 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 26-July 04

Posted 27 August 2004 - 07:34 AM

Very nice. I just might have to give that a try. I have been trying to do a similar thing using network shares, but haven't quite worked it out yet. Some apps install fine, others don't. Keep up the good work!

GnarlyC

#3 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 27 August 2004 - 11:57 AM

nice job...

#4 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 27 August 2004 - 12:00 PM

cool :D

#5 User is offline   joebells 

  • Junior
  • Pip
  • Group: Members
  • Posts: 60
  • Joined: 08-December 03

Posted 04 September 2004 - 07:15 PM

dang another kick arse method edg21. I'm almost definately going this route. I almost had your wget method setup and then decided to go the network share route not for any flaws in it it seems like it will definately work, I just wanted something I could maybe change some options on my winnt.sif(or unattend.txt depending) without having to burn a new cd. But I'm not having a ton of luck with the network booting so I think I'm gonna do this way now.

I'm writing to say thanks and that I think you have one little typo. Down where you are writing the ftp_cmd.txt you change to the tools directory and then the next set of commands down you try to connect directly to the apps directory. I was looking down through the commands and seeing how they worked and I got there and thought how the heck does that work? How is he switching directly from the tools directory to the apps directory. Then I looked down and saw the ../ part on the rest of them.

thanks again this is awesome

#6 User is offline   joebells 

  • Junior
  • Pip
  • Group: Members
  • Posts: 60
  • Joined: 08-December 03

Posted 04 September 2004 - 07:19 PM

nevermind

#7 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

Posted 04 September 2004 - 07:24 PM

joebells, on Sep 4 2004, 05:15 PM, said:

I'm writing to say thanks and that I think you have one little typo. Down where you are writing the ftp_cmd.txt you change to the tools directory and then the next set of commands down you try to connect directly to the apps directory. I was looking down through the commands and seeing how they worked and I got there and thought how the heck does that work? How is he switching directly from the tools directory to the apps directory. Then I looked down and saw the ../ part on the rest of them.

thanks again this is awesome

typo fixed :)

#8 User is offline   ruizit0 

  • Group: Members
  • Posts: 5
  • Joined: 05-September 04

Posted 05 September 2004 - 10:19 PM

you can do a complete how-to to this ftp install with all minor steps ?

it would be preciuous B)

sorry ... think on it :)

sorry me english im from portugal :blushing:

#9 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 05 September 2004 - 11:25 PM

I'll pass along my respect for another Batch Coder!

If I may be so bold as to make a suggestions ... Use
IF /I "%VARIABLE%"=="Y"
and both Y and y will work. The /I is the IgnoreCase switch. Sorry ... I couldn't help myself! Keep up the good work, and don't let others tell you what/how to code!

#10 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

Posted 06 September 2004 - 12:29 AM

GreenMachine, on Sep 5 2004, 09:25 PM, said:

I'll pass along my respect for another Batch Coder!

If I may be so bold as to make a suggestions ... Use
IF /I "%VARIABLE%"=="Y"
and both Y and y will work. The /I is the IgnoreCase switch. Sorry ... I couldn't help myself! Keep up the good work, and don't let others tell you what/how to code!

Done.. thanks :)

#11 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

Posted 06 September 2004 - 12:37 AM

ruizit0, on Sep 5 2004, 08:19 PM, said:

you can do a complete how-to to this ftp install with all minor steps  ?

Once I'm satisfied with it I will try and write up a full tutorial.

#12 User is offline   ruizit0 

  • Group: Members
  • Posts: 5
  • Joined: 05-September 04

Posted 06 September 2004 - 12:45 AM

one more question. . .this runs with RunOnceEX or in command line .cmd ?


sorry im noob :blushing:

#13 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

Posted 06 September 2004 - 01:04 AM

ruizit0, on Sep 5 2004, 10:45 PM, said:

one more question. . .this runs with RunOnceEX or in command line .cmd ?

Run it whenever you want, I run it using GUIRUNONCE cause I'm lazy :P

#14 User is offline   tron 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 10-September 04

Posted 11 September 2004 - 09:36 AM

Hi, this is really awesome...

Now i have a little problem.
Cause i dont have an DHCP Server, so i have to set my ip adress static.

Is there a way to get this thing working on Runonce.cmd? Before i call your FTP.cmd?
I want to call a prompt where i can insert my static ipadress. But i dont know how i gonna script that...

Is there anyone who explain me that. Ive searched in the forum, but i dont want to set this with netsh.exe, cause i want to set the Ip Adress on this way:

Runonce.cmd

-> ip.cmd
--> Look for DHCP --> none
--> Goto prompt:
--> Here setup ip, gateway, etc.
---> then call ftp.cmd

Hope you know what im searching for...

Greetz tron

#15 User is offline   tron 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 10-September 04

Posted 11 September 2004 - 10:02 AM

I tried it this way:

@echo off 
echo Ipadresse festlegen
echo per DHCP Server:
set /p ip1=(j/n): 
if /i %ip1%==j netsh interface ip set address "LAN-Verbindung" dhcp
pause
echo Tragen Sie Ihre IP-Adresse ein:
set /p ip2=(j/n): 
if /i %ip2%==j netsh interface ip set address "LAN-Verbindung" static
exit


DHCP works well, but how could i set interface, gateway when i ask for it?
In txt file?

greetz tron

#16 User is offline   edg21 

  • Member
  • PipPip
  • Group: Members
  • Posts: 196
  • Joined: 29-August 03

Posted 11 September 2004 - 08:55 PM

tron, on Sep 11 2004, 08:02 AM, said:

DHCP works well, but how could i set interface, gateway when i ask for it?

I'm sure you read it but incase anyone else didn't

http://www.msfn.org/...showtopic=27360

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