I want to create a MSI file, which simply copies a directory into the "Program Files" directory and creates an icon in the start menu.
Nothing more. No questions to the user, no dependencies, no registry entries, etc. Just copy the directory and set the icon.
And if we deploy a new version of our program, then the MSI should just copy the new one over the old one. No "uninstalling" procedure.
Which tool to use for this task?
I guess the answer is any common tool, since they can all do this. Here is a list of (arguably) the most common tools.
some free features
that you can use for requirements such as yours. You could give it a test spin. Here is a great gateway
to all things Advanced Installer.See linked answer on top for direct download links.
Silent Install: Any MSI file can be run silently (without a GUI) by means of a standard msiexec.exe
command line:
msiexec.exe /I "C:\Your.msi" /QN /L*V "C:\msilog.log"
Quick Parameter Explanation:
/I = run install sequence
/QN = run completely silently
/L*V "C:\msilog.log" = verbose logging at specified path