The Siginet Software Forum is dead, so to find out what is the latest method here is a snapshot taken by the Wayback Machine
https://web.archive.org/web/20081228131 ... .php?t=283
As of RVM Integrator v1.5RC4 there are many new Parameters that can be used. These Parameters are useful for batch files or scripts that can control just about any portion of the integrator when it is executed.
Enjoy!
/Load: Allows you to specify a settings file to use when the integrator is opened. You can show the entire path or just the ini file. If the path is not specified then the integrator looks in it's own directory.
Code: Select all
/Load:"X:\PathTo.ini"
Or
/Load:settings.ini
/Save: Will save the current settings file to a new settings file that can be Loaded at a later time. You can show the entire path or just the ini file. If the path is not specified then the integrator looks in it's own directory.
Code: Select all
/Save:"X:\PathToNew.ini"
Or
/Save:SaveSettings.ini
/Wipe: When you use the "Wipe" switch it will delete the settings file (if it exists) before opening the integrator. This is useful if you wish to only use the settings you specify from your parameters. If you do not use the "Wipe" switch then the integrator will use the current settings file and change it with the specified parameters.
/Source: This is where you specify the "Source" directory which contains the I386 directory you wish to start with.
Code: Select all
/Source:"X:\PathToYourSource\My\WinXP Source"
/Destination: This is where you specify the "Destination" directory where you wish to copy the "Source" to. You do not have to specify a "Destination" but it is reccommended. If you do not specify a "Destination" then the integrator will integrate files to the source instead of copying the source to the "Destination" and integrating files to the "Destination".
Code: Select all
/Destination:"X:\PathToYourSource\My\WinXP Source"
/CMPNENTS: This parameter is only needed when dealing with a Media Center or Tablet edition of Windows XP. The integrator requires you to point to the location of the CMPNENTS folder so that it knows where to copy it from. The reason this is required is because the CMPNENTS dir is usually kept on a seperate disk.
Code: Select all
/CMPNENTS:"X:\PathToCMPNENTS\WinXP\MCE\CMPNENTS"
/ServicePack: This parameter is used if you wish to specify a Service Pack file to be used during an integration.
Code: Select all
/ServicePack:"X:\PathToSP\windowsxp-kb936929-sp3-x86-enu.exe"
/UpdatePack: You can specify an UpdatePack to be used during integration with this parameter.
Code: Select all
/UpdatePack:"X:\PathToUPck\RVMUpdatePack2.2.1.7z"
/Addons: You can specify a directory with a wildcard "*" to specify all addons to be added to the integration or you can specify specific Addons within a directory seperated by a comma ",".
This parameter can actually be used multiple times in your script. You can specify diferent directories with each instance. This is useful if you wish to add all addons in one directory, all addons in a second directory, and a few addons from a third directory, ... and so on...
Code: Select all
/Addons:"X:\PathToAddons\Dir1\*" /Addons:"X:\PathToAddons\Dir2,ThemeAddon1.7z,ThemeAddon2.zip,PatchAddon_UXTheme.rar,AdobeReader.exe,Entries_WINNTUPG_Removal.ini"
/Optimize: This will choose whether to use "Optimize System Files" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/OptimizeOnly: This will force the integrator to unattendedly "Optimize system Files". Make sure your setting specify a destination or source so that it knows what to optimize. You can specify it by either the settings file or the batch parameters /Source or /Destination.
/Advanced: This will choose wether to use "Advanced Options" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/Cache: This will choose wether to use "Cached Driver.cab" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/advDebug: This will choose wether to use "Advanced Debug Mode" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/ShowWindows: This will choose wether to use "Show External Windows" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/BreakDriver: This will choose wether to use "Break Before driver.cab Repacking" during integration or not. If you use a + then it activates it. If you use a - then it deactivates it.
/RunFile: This is how you specify if you wish to "Run a Program After Integration". If you specify a path to a file to run then it will activate it. If you specify a - then it will Deactivate it.
Code: Select all
/RunFile:"X:\PathToFile\myfile.exe"
/RunFile:-
/RunParams: If you "Run a Program After Integration" and you wish to specify Parameters for that file then you would use this parameter to do it. If you specify parameters in this one then it will place them in the "Enter Parameters For The Above Program" inputbox in the integrator. If you specify a - then it will delete and parameters from that inputbox.
Code: Select all
/RunParams:"/s /NoRestart"
/RunParams:-
/LeaveOpen: This will leave the integrators window open after it executes a "Run a Program After Integration". (I personally have never found a need for this option in the integrator... and I may remove this option later if no one claims to have any use for it.) It is activated with a + and deactivated with a -.
/ISODir: You can specify a directory which will be used to compile into an iso file with this parameter. If you are making an iso and this is not specified then the integrator will check if a Destination exists instead. If no Destination exists then the integrator will attempt to use the Source when creating an iso.
Code: Select all
/ISODir:"X:\PathToMakeISOFrom\WinXP Updated"
/ISOFile: This is where you specify the path/name of the iso file you wish to create.
Code: Select all
/ISOFile:"X:\PathToImage\mynew.iso"
/ISOLabel: You will need to specify a label for your ISO with this parameter.
/UseMKISOFS: This specifies that you wish to use the internal mkisofs when creating your iso file.
/MKISOFSParams: This specifies that you wish to use the internal code for mkisofs.
/UseExternal: If you wish to specify an external tool for iso creation then you can specify it with this parameter. This will Activate this option and place the program in the inputbox.
Code: Select all
/UseExternal:"X:\PathToExternalTool\cdimage.exe"
/CDImageParams: If you specify cdimage.exe as your external tool for use when creating an image then you can use this parameter to use the integrators built in code for cdimage.exe
/ExternalParams: If you wish to use your own parameters for iso creation then you can specify it here. Remember to use double % if you do not want certain EnvVars to be parsed.
Also remember you must have the string after /ExternalParams: enclosed in quotes! So in your string instead of using quotes Wrap areas in <>. The integrator will change each < or > into a quote. This is needed to simplify passing external params within this param. Without doing this it would probably be impossible.
Code: Select all
/ExternalParams:"-l<%%3> -g -h -j1 -b<%%2> -x -yd -m <%%0> <%%1>"
/AutoDelete: When copying files from Source to Destination a msgbox pops up if there are files that allready exist which asks if the user would like to delete or overwrite files. This switch will tell the integrator to delete the files.
/AutoOverwrite: When copying files from Source to Destination a msgbox pops up if there are files that allready exist which asks if the user would like to delete or overwrite files. This switch will tell the integrator to overwrite the files.
/Integrate: This will put the integrator into unattended mode and automatically begin to start an integration once the integrator is opened.
/MakeISO: This will put the integrator into unattended mode and automatically begin to compile an ISO when the integrator is opened.
You can also use /Integrate /MakeISO in the same script to unattendedly integrate files and compile an ISO in one go.
The order of each parameter does not matter. It is also not case sensitive.
Here is an example script:
Code: Select all
"%CD%\RVM_Integrator_1.5.exe" /UseExternal:"%CD%\files\CDIMAGE.EXE" /ExternalParams:"-l<%%3> -g -h -j1 -b<%%2> -x -yd -m <%%0> <%%1>" /Wipe /Load:"%CD%\LoadedSettings.ini" /Save:"%CD%\SavedSettings.ini" /Source:"X:\ROOT\XPHO" /Destination:"%CD%\My New Windows Files" /UpdatePack:"X:\ADDONS\RVMUpdatePack2.2.17z" /Addons:"X:\ADDONS\1\*" /Addons:"D:\ADDONS\2\*" /Optimize:+ /Advanced:+ /Cache:+ /ISOFile:"c:\autotest.iso" /ISOLabel:MyLabel /Integrate /MakeISO
As of now I have also implemented code to attempt to detect older unattended parameters. I will probably remove the old unattended parameters from a later version of the integrator... So I reccommend anyone using old methods to begin using the new methods in this post.