problems starting application with System.Diagnostics.Process
-
Hi, my starting routine looks like this:
private void StartProcess() { System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "C:\\Programme\\AutoGK\\AutoGK.exe"; p.Start(); }
When I run the code everything is executed fine except that the application to be started shows me an error: "Installation is corrupted. Please reinstall the application." But starting the app manually (in windows explorer, etc.) causes no errors and the application starts fine, so the problem is in the code I use. The program I want to start is AutoGordianKnot, which probably was written in Qt. Any suggestions or any other ways to start this app? Greetings -
Hi, my starting routine looks like this:
private void StartProcess() { System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "C:\\Programme\\AutoGK\\AutoGK.exe"; p.Start(); }
When I run the code everything is executed fine except that the application to be started shows me an error: "Installation is corrupted. Please reinstall the application." But starting the app manually (in windows explorer, etc.) causes no errors and the application starts fine, so the problem is in the code I use. The program I want to start is AutoGordianKnot, which probably was written in Qt. Any suggestions or any other ways to start this app? GreetingsIs the app usually started with command line parameters, perhaps?
-
Is the app usually started with command line parameters, perhaps?