Try it without the backslash behind lang and with quotes around the second path xcopy %systemdrive%\Temp\Tools\Ad-aware\lang "%ProgramFiles%\Lavasoft\Ad-aware 6\Lang" And what's this supposed to do? puchd "%ProgramFiles%\Lavasoft\Ad-aware 6\Lang" %systemdrive%\Temp\Tools\Ad-aware\Francais.bmp %systemdrive%\Temp\Tools\Ad-aware\Francais.det %systemdrive%\Temp\Tools\Ad-aware\Francais.ini Is puchd a command or batch file? The three rows under that won't do anything You'll also need to copy a modified prefs.ini to switch to french.
Notice the % instead of %%. The batch did what it was supposed to do. Once again: Dummy1.bat echo %ProgramFiles%will resolve to: C:\Program Files or whatever the variable contains Dummy2.bat echo %%ProgramFiles%%will resolve to: %ProgramFiles%
Please don't double post. There's a little edit button above your posting The switches would be: msiexec /i "MainConcept Mpeg Encoder.msi" /qnBefore that you should install ISScript (and maybe ISScript8 too) once at the beginning of your unattended setup. msiexec /i isscript.msi /qn
The only thing you have to add to your AutoIt script is something like this: Run("MsWorksSetup.exe")WinWait("MsWorks Setup window title")... Send Keys or whatever...Use the AutoItSpy to get the window title of the setup.
I'm not aware of a language switch for Ad-Aware. But you could exchange the language files (rename french.ini to english.ini) and repack it with this method. It's a bit of a hazzle but it should work.