GuidProcTesting

Most recent edit on 2010-04-11 07:32:43 by AlexTaylor

Additions:
A: Yes, but it requires some slightly awkward manual setup.
By default, the installer will generate response files in \ECS\INSTALL\RSP on the selected install drive. For this reason, you are advised not to select your actual eCS drive as the installation target. Alternatively, you can have the response files placed in another location by editing every single GPS file (in the NLS\xx subdirectory you created) which defines a response file path, and changing that path to somewhere more appropriate. (There are quite a few files you need to change, although you can probably skip the ones named RE*.GPS and RI*.GPS. Running grep -i "\\\\ecs\\\\install\\\\rsp" *.gps should show you what needs changing.)
You may also wish to comment out the INCLUDE=MAKEDIRS.GPS statement from INSTMODE.GPS, EAS_FORM.GPS, and ADV_FORM.GPS, otherwise the installer will create a bunch of directories on whatever drive you choose as your install drive. (However, you should make sure the target directory for writing response files — ?:\ecs\install\rsp by default — actually exists, unless you changed it as above.)


Deletions:
A: Yes, but it requires some rather tricky manual setup.
By default, the installer will generate response files in \ECS\INSTALL\RSP on your boot drive, which may overwrite the actual response files that were used to install your system (depending on your selections). This is not necessarily a problem, since these files are not used after installation, but you should be warned anyway. If you prefer it not to do this, then you will need to edit every single GPS file (in the NLS\xx subdirectory you created) which defines a response file path, and change that path to somewhere more appropriate. There are quite a few files you need to change, although you can probably skip the ones named RE*.GPS and RI*.GPS. Running grep -i "\\\\ecs\\\\install\\\\rsp" *.gps should show you what needs changing.
You may also wish to comment out the contents of MAKEDIRS.GPS, otherwise it'll create a bunch of directories on whatever drive you choose as your install drive.




Edited on 2010-04-02 14:20:57 by AlexTaylor [Tweaks]

Additions:
~- Edit EINETCMN.GPS and make sure the 'Data=100' item contains the name of the directory where NIC drivers may be found.
To enable hardware detection (optional):
SET MEMDRIVE=Z
Where:
Note: The SET MEMDRIVE statement is important; GuidProc will not run properly without it. The drive you specify must exist, although there doesn't have to be anything on it. (I recommend using a RAM disk if you have one.) The installer debug logfile and hardware detection files will get written to the root directory of this drive.
Do not attempt to start the actual install process using this method. Cancel out of the installer once you reach the last page (or at whatever earlier point is suitable for your testing).


Deletions:
~- Edit EINETCMN.GPS and make sure the Data=100 variable contains the name of the directory where NIC drivers may be found.
set MEMDRIVE=Z
The SET MEMDRIVE is important; the drive you specify must exist, although there doesn't have to be anything on it. (I recommend using a ram disk if you have one.) The installer debug logfile will get written to it.
Do not attempt to start the actual install process using this method. Cancel out of the installer once you reach the last page (or at whatever earlier point is suitable for your testing).




Edited on 2010-04-02 11:30:15 by WikkaAdmin [Corrected MEMDRIVE statement (skip the colon!)]

Additions:
set MEMDRIVE=Z

Deletions:
set MEMDRIVE=Z:



Edited on 2010-04-02 09:15:06 by AlexTaylor [Added requirements for NIC support and hardware detection.]

Additions:
~- Edit EINETCMN.GPS and make sure the Data=100 variable contains the name of the directory where NIC drivers may be found.
Q: Is there a way to test installer files (.GPS scripts or GuidProc modules) without building a CD and running an installation (e.g. under Virtual PC)?
By default, the installer will generate response files in \ECS\INSTALL\RSP on your system boot drive, which will overwrite the existing, actual response files that were used to install your real system. (This is not necessarily a problem, since these files are not used after installation, but you should be warned anyway.) If you prefer it not to do this, then you will need to edit every single GPS file (in the NLS\xx subdirectory you created) which defines a response file path, and change that path to somewhere more appropriate. There are quite a few files you need to change, although you can probably skip the ones named RE*.GPS and RI*.GPS. Running grep -i "\\\\ecs\\\\install\\\\rsp" *.gps should show you what needs changing.
Finally, create a CMD file to launch the installer. It should be something like:
Do not attempt to start the actual install process using this method. Cancel out of the installer once you reach the last page (or at whatever earlier point is suitable for your testing).


Deletions:

Testing the Installer Without Building a CD

Q: Is there a way to test installer files (.GPS scripts or GuidProc modules) without building a CD and running an installation (e.g. under Virtual PC)?
If you don't want the installer to stick its RSP files in ?:\ecs\install\rsp (which may overwrite your real ones), you also need to edit every single GPS file which defines a response file path, and change that path to somewhere convenient. There are quite a few files you need to change, although you can probably skip the ones named RE*.GPS and RI*.GPS. Running
grep -i "\\\\ecs\\\\install\\\\rsp" *.gps
should show you what needs changing.
Finally, create a CMD file to launch the installer, something like:
Obviously, you shouldn't try to actually start an install using this method. Just cancel out of the installer once you reach the last page (or before).




Edited on 2010-03-19 08:19:36 by AlexTaylor [Formatting improvements]

Additions:
Q: Is there a way to test installer files (.GPS scripts or GuidProc modules) without building a CD and running an installation (e.g. under Virtual PC)?
A: Yes, but it requires some rather tricky manual setup.
First:
set MEMDRIVE=Z:
guidproc.exe nls\xx\eistart.gps .
The SET MEMDRIVE is important; the drive you specify must exist, although there doesn't have to be anything on it. (I recommend using a ram disk if you have one.) The installer debug logfile will get written to it.


Deletions:
~& Is there a way to test the *.gps files without making an .iso and running an installation e.g. under VPC?
Yes, but it requires some fiddly setup, and in many ways it isn't really ideal.
Basically, create a new directory tree for your "test" installer. Copy *.EXE and *.DLL from the common\ecs\install directory it, and create an NLS\NL subdirectory for the GPS files. Then copy all *.GPS and *.DLL from the common\ecs\install\nls\nl to this subdirectory.
Edit EISTART.GPS and change 'MODE=shell' to 'MODE=wizard'.
set MEMDRIVE=i:
guidproc.exe nls\nl\eistart.gps .
The SET MEMDRIVE is important, although there doesn't have to be anything there. (I have a ram disk which I use.) The installer debug logfile will get written to it.




Oldest known version of this page was edited on 2010-03-18 08:30:38 by AlexTaylor [First version (copied from an email conversation)]
Page view:

Testing the Installer Without Building a CD



Yes, but it requires some fiddly setup, and in many ways it isn't really ideal.

Basically, create a new directory tree for your "test" installer. Copy *.EXE and *.DLL from the common\ecs\install directory it, and create an NLS\NL subdirectory for the GPS files. Then copy all *.GPS and *.DLL from the common\ecs\install\nls\nl to this subdirectory.

Edit EISTART.GPS and change 'MODE=shell' to 'MODE=wizard'.

If you don't want the installer to stick its RSP files in ?:\ecs\install\rsp (which may overwrite your real ones), you also need to edit every single GPS file which defines a response file path, and change that path to somewhere convenient. There are quite a few files you need to change, although you can probably skip the ones named RE*.GPS and RI*.GPS. Running
grep -i "\\\\ecs\\\\install\\\\rsp" *.gps
should show you what needs changing.

You should also comment out all the contents of MAKEDIRS.GPS, otherwise it'll create a bunch of directories on whatever drive you choose as your install drive.

Finally, create a CMD file to launch the installer, something like:

@echo off
setlocal
set MEMDRIVE=i:
guidproc.exe nls\nl\eistart.gps .
endlocal

The SET MEMDRIVE is important, although there doesn't have to be anything there. (I have a ram disk which I use.) The installer debug logfile will get written to it.

Obviously, you shouldn't try to actually start an install using this method. Just cancel out of the installer once you reach the last page (or before).
Powered by eComStation Get Firefox! This page has been accessed 918 times :: Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.7855 seconds