Domanda

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 with no 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 eula's

this will be used as part of new setups in house.

È stato utile?

Soluzione

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

setup.exe /v/qn
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top