PDA

View Full Version : Package with no switches


techstuff
October 8th, 2007, 01:35 PM
Hi all - Is there a way I can create a .exe install for the client that already contains the .xml config file I need. I have multiple sites that I need to deploy to and I want to deploy the install file but not use the switch that points to the config.xml file as it is causes me problems with my deployment software.

HiTech_boy
October 8th, 2007, 03:11 PM
Yes , you can .

1. Download the appropriate installer for the correct OS version
2. Download and install WinRAR from www.rarlabs.com
3. Create a new folder for the installer/version
4. Extract the files into the new folder using WinRAR
5. Using the "Configuration editor" create your own config file and call it setup.xml
6. Place that setup.xml into the newly created folder (the one from step 3 which you have used to extract the NOD files into)
7. Confirm overwritting
8. Using WinRAR choose to add all files to archive

N.B. ! Special settings which you must adjust in WinRAR (during created the archive mentioned in step 8) :
- Your archive must be self-extracting archive
- The files should be auto extracted to %ProgramFiles%/ESET/Install/
- Files that should run immediately after extraction is %ProgramFiles%/ESET/Install/setup.exe