Re: [Unattended] quotation marks

2006-05-09 Thread Mario Gzuk
Hi,
just do it in this way:

todo.pl xcopy /s /e \%Z%\packages\directory containing white space\\
\%ProgramFiles%\directory containing also white space\\ 


greetings mario


Am Dienstag, den 09.05.2006, 12:09 +0200 schrieb Lars Reinecke:
 How do I write e.g. a copy statement that needs parameters containing
 space characters? When I am working with the prompt I can use
 quotation marks, but here I need them to tell Unattended that it is
 one single statement (otherwise Unattended would execute ‘copy’
 without any parameters and then the source file etc) 
 
 I used to work around with constants like %ALLUSERSPROFILE% and %
 PROGRAMFILES% and I also worked around when I had a file name
 containing space characters by using the 8-character file name. But
 now I have a subdirectory containing a space character…
 
  
 
 Any solution?
 
  
 
 Thanks,
 
 Lars Reinecke
 
 



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] quotation marks

2006-05-09 Thread Alson van der Meulen
* Lars Reinecke [EMAIL PROTECTED] [2006-05-09 12:10]:
 How do I write e.g. a copy statement that needs parameters containing
 space characters? When I am working with the prompt I can use quotation
 marks, but here I need them to tell Unattended that it is one single
 statement (otherwise Unattended would execute 'copy' without any
 parameters and then the source file etc) 
 
 I used to work around with constants like %ALLUSERSPROFILE% and
 %PROGRAMFILES% and I also worked around when I had a file name
 containing space characters by using the 8-character file name. But now
 I have a subdirectory containing a space character...

I usually use \ with environment variables:
todo.pl \%ProgramFiles%\7-Zip\7z.exe\ x -o\%ProgramFiles%\
%Z%\packages\dsfp\dsfp.exe

Does this fail for names with actual spaces in it? Maybe using \ twice
would help? I believe todo.pl commands are processed like this:
- command executes the todo.pl in a batch file, doesn't touch everything
  between quotes, but probably strips the outer quotes.
- todo.pl expands escapes (eg. \) and passes the string to a new cmd
  instance
- the new cmd instance executes it just like every other batch command. 
Please correct me if I'm wrong.

If everything fails, you can always call a batch file which executes the
command without todo.pl, eg:
todo.pl .ignore-err 3 dsfp-install.bat
dsfp-install.bat:
cd %ProgramFiles%\DirectShow FilterPack
[...]

Alson


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Win2k/XP commandline utils to replace fdisk/parted

2006-05-09 Thread Conrad Lawes
Because Unattended uses DOS as the launchpad OS to start your Windows installation, using diskpart is not possible since diskpart is win32 app.

In order to use DISPART, you will need replace DOS with WinPE.

WinPE allows you to exploited with native XP environment. This makes it possible to partition and format the hard disk without having to reboot. Plus you can format the disk to native NTFS.

It's unlikely that Microsoft will release WinPE to the general public anytime soon. In the meantime, I use the Argon Client Deployment Services which includes a licensed copy of WinPE. CDS allows me to leverage the functionality of Unattended within the PXE environment.


On 5/8/06, Paul Griffith [EMAIL PROTECTED] wrote:
 
Greetings,I have been looking for commandline versions of parted or fdisk forWindows2000 or XP, I am looking at porting 
install.pl to a Windowsbased boot disk.*NOTE* I said I am only looking at porting install.pl :-)The biggest roadblock I see so far is replacing fdisk/parted. Another optionwould be to use diskpart.exe
 (native to Windows) and have install.plautomatically generate the script file that diskpart.exe needs.FYI - dispart uses a basic scripting language, but you can't use thecommandline.diskpart.exe /? 
diskpart /s scriptAny ideas out there? and rememberI said I am only looking at portinginstall.pl :-)ThanksPaul--Paul Griffith |York University, Dept. of Computer Science  Engineering 
CSE Technical Team|4700 Keele Street, Toronto, Ontario, Canada M3J 1P3[EMAIL PROTECTED] |CSE1003A|Phone: 416-736-2100 x70258|Fax: 416-736-5872
--- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ unattended-info mailing list
unattended-info@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/unattended-info 
-- Regards,Conrad LawesPXE Guru 


Re: [Unattended] Win2k/XP commandline utils to replace fdisk/parted

2006-05-09 Thread Paul Griffith
I am going to assume that Argon Client Deployment Services is a paid
product. 

I think the DOS boot disk is dead and the Linux boot disk
will be limited to Win2K and WinXP. The best solution is WinPE or
BartPE bootdisk. The winnt32.exe commandline  installer offer some
nice options that the winnt.exe installer doesn't have.

For now my goal is to see how hard it would we to replace fdisk with
diskpart. 

Paul


On Tue, May 09, 2006 at 07:09:12AM -0400, Conrad Lawes wrote:
 Because Unattended uses DOS as the launchpad OS to start your Windows
 installation,  using diskpart is not possible since diskpart is  win32 app.
 
 In order to use DISPART, you will need replace DOS with WinPE.
 
 WinPE allows you to exploited with native XP environment.  This makes it
 possible to partition and format the hard disk without having to reboot.
 Plus you can format the disk to  native NTFS.
 
 It's unlikely that Microsoft will release WinPE to the general public
 anytime soon.   In the meantime,  I use the Argon Client Deployment Services
 which includes a licensed copy of  WinPE. CDS allows me to leverage the
 functionality of Unattended within the PXE environment.
 
 
 
 On 5/8/06, Paul Griffith [EMAIL PROTECTED] wrote:
 
  Greetings,
 
  I have been looking for commandline versions of parted or fdisk for
  Windows2000 or XP, I am looking at porting install.pl to a Windows
  based boot disk.
 
  *NOTE* I said I am only looking at porting install.pl :-)
 
  The biggest roadblock I see so far is replacing fdisk/parted. Another
  option
  would be to use diskpart.exe (native to Windows) and have install.pl
  automatically generate the script file that diskpart.exe needs.
 
  FYI - dispart uses a basic scripting language, but you can't use the
  commandline.
 
  diskpart.exe /?
  diskpart /s script
 
  Any ideas out there? and remember  I said I am only looking at porting
  install.pl :-)
 
  Thanks
  Paul
 
 
  --
  Paul Griffith |York University, Dept. of Computer Science 
  Engineering
  CSE Technical Team|4700 Keele Street, Toronto, Ontario, Canada M3J 1P3
  [EMAIL PROTECTED] |CSE1003A|Phone: 416-736-2100 x70258|Fax: 416-736-5872
 
 
  ---
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  unattended-info mailing list
  unattended-info@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/unattended-info
 
 
 
 
 --
 Regards,
 Conrad Lawes
 PXE Guru

-- 
Paul Griffith |York University, Dept. of Computer Science  Engineering
CSE Technical Team|4700 Keele Street, Toronto, Ontario, Canada M3J 1P3
[EMAIL PROTECTED] |CSE1003A|Phone: 416-736-2100 x70258|Fax: 416-736-5872


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Win2k/XP commandline utils to replace fdisk/parted

2006-05-09 Thread Alson van der Meulen
* Paul Griffith [EMAIL PROTECTED] [2006-05-09 14:49]:
 I think the DOS boot disk is dead and the Linux boot disk
 will be limited to Win2K and WinXP. The best solution is WinPE or
 BartPE bootdisk. The winnt32.exe commandline  installer offer some
 nice options that the winnt.exe installer doesn't have.
I agree that installing from Windows is probably the future (too bad
since WinPE/BartPE is a lot worse than DOS/Linux in terms of
bandwidth, size and speed), and winnt.exe is EOL. Unless someone gets
winnt32.exe to work under Wine, BartPE seems the only free option
(assuming everyone that installs Windows already has a Windows license,
which seems likely).

 For now my goal is to see how hard it would we to replace fdisk with
 diskpart. 
Doesn't seem too hard. Unattended currently uses fdisk command line
switches set in unattend.txt. This is converted to parted commands for
the Linux bootdisk by convert_fdisk_parted. I don't know the diskpart
scripting language, but assuming that it supports all necessary
commands, it doesn't seem hard to write a convert_fdisk_diskpart
function similar to the parted one. This function would write the script
to a temporary file and execute it using diskpart /s. From a quick look at
the documentation 
(http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/diskpart.mspx?mfr=true)
create partition, active, clean, and delete partition seem to support all
the required functions, along with the correct select and list commands.
Not sure how you switch between NTFS and FAT, I guess via format.

Unless third-party tools offer useful extra functionality, I would
prefer standard Windows tools for compatibility, support and
availability reasons.

Alson


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info