1

I am working on packaging up some installers for internal use. I have the uninstall working fine with a passive switch.

As for installation, the MSI's that do not have an EULA work perfectly with the passive switch showing progress.

The EXE's that contain an EULA are the problem.

I am trying to find a way to accept the EULA without user input - note I do not have access to changing the public properties of the EXE's to set the ACCEPTEULA=1

the base I am working with right now is...

start = new ProcessStartInfo();
start.WindowStyle = ProcessWindowStyle.Hidden;
start.CreateNoWindow = true;
start.Arguments = s.args; //curent argument /qn
start.FileName = tempDir + "/" + s.executable;
start.CreateNoWindow = true;

While this code works perfectly fine with the msi's it does not work with the exe's as they all contain EULAs.

Andreas
  • 5,393
  • 9
  • 44
  • 53
asuppa
  • 571
  • 1
  • 11
  • 27

1 Answers1

3

When using an exe you need to preface /qn with /v making it:

setup.exe /v/qn
Andreas
  • 5,393
  • 9
  • 44
  • 53
Cemafor
  • 1,633
  • 12
  • 27