Post
by vmanda » Thu Jun 12, 2008 8:03 am
No, not running only updates. To make an autoit script, you will need a 1/2 hour, just install and start with simple projects. My recommendations:
1. You need to put your program and updates into a folder.
2. Download and install autoit3. Make a script that contain few lines like the following example:
RunWait ( 'main_program.exe switches', "", @SW_HIDE )
RunWait ( 'update_1.exe switches', "", @SW_HIDE )
and/or
RunWait ( 'msiexec /I "update_n.msp" /quiet /qn /norestart', "", @SW_HIDE )
Exit
Use the proper names and the proper switches inplace of main_program.exe, update_1.exe, update_n.msp, switches, etc.
3. compile this script to executable
4. put the executable to same folder with main program and updates
5. make an rar ( or 7z ) SFX and instruct it to execute your (compiled executable) script after extraction.
(If you are more familiar with commandline batch files, you can use an batch file, and use Hidec or Cmdow or cWnd to hide the window, inplace of the autoit script)
Use your final rar sfx as silent installer or make an svcpack addon.
If you post links to executable (updates) that you want to use, I will check it for silent switches, but I do not have main program, you will need to find switches.
Some of updates can be downloaded as msp, having msi silent switches. for ex.AcrobatUpd812_all_incr.msp that work with msi silent switches.
To see list of switches run Your_msp_file.msp /?. Use the Autoit help, it contain many more examples. I hope I have not missed something, and sorry for my bad english.