That's not up to RunOnceEx.cmd to accomplish. It's a question about wether that application (i.e. its installer package) supports the action of changing destination path or not. Unfortunately there's no general way of doing this. Every installer package has it's own way (if any). Daemon Tools daemon.msi /qn /norestart TARGETDIR=C:\YourPath This only works with the MSI installer for Daemon Tools, not the EXE. DC++ DCPlusPlus-0.674.exe /S /D=C:\YourPath DC++ uses the NSIS installer wich has the /D switch for changing path. Note: Though switches like /qn practically always works with an MSI package, not all supports the TARGETDIR switch. Every package uses it's own. E.g. UltraMon uses MAINDIR and RecordNow DX uses INSTALLDIR. Further, some packages uses other files to determine where the application should be installed. E.g. Adobe Photoshop uses the Abcpy.ini file, located in the installation directory. A third alternative is to edit the register. Install the application as usual first, and choose the path you want. After it's installed, open REGEDIT and try to find a key which tells where the application is installed. Export it and, on your unattended CD, write it to the register before you call the setup program. That might work with some applications. Further reading: http://unattended.msfn.org/intermediate/apps/intro.htm Further searching: http://www.msfn.org/board/index.php?showforum=80 Good luck!