PDA

View Full Version : Setup.exe parameters



rguggisberg
10-10-2011, 08:40 AM
I am having trouble with Setup.exe parameters. I did start the CMD prompt by 'Run as administrator'.
The following commands do nothing... what am I overlooking?

Setup.exe /v"AgreeToLicense=YES"

Setup.exe /r /f1"C:\Temp\Setup.iss"

Thanks!

bryanwolf
10-10-2011, 11:07 AM
For your first command, you cannot normally specify the values of private properties through the command-line of an MSIEXEC call (which similarly prevents setup.exe from doing that for you). Please see http://msdn.microsoft.com/en-us/library/windows/desktop/aa370851(v=vs.85).aspx for more information.

For your second call, assuming it's an InstallScript installation, I don't see any issues with the command-line itself for recording a response file and saving it to C:\Temp\Setup.iss.

rguggisberg
10-10-2011, 01:12 PM
What I am trying to accomplish is to display an individual EULA if the Basic MSI package was run separately, but skip the individual EULA because I have a global EULA if the package(s) are installed via Suite.
Still puzzled as to why I can't generate an iss file.
Maybe there is a better way to accomplish what I am trying to do?