Skip to content

Commit 4d780f4

Browse files
committed
Version 1.0.4
JarFix now executes in silent mode
1 parent 14fa484 commit 4d780f4

File tree

6 files changed

+15
-3
lines changed

6 files changed

+15
-3
lines changed
Binary file not shown.

GraalVM_InstallerForWindows/Core/Installer.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,19 @@ private void Step4_RunJarFix()
223223
{
224224
string appPath = AppDomain.CurrentDomain.BaseDirectory;
225225
string jarFixPath = appPath + "JarFix\\jarfix.exe";
226-
System.Diagnostics.Process.Start(jarFixPath);
226+
227+
ProcessStartInfo startInfo = new ProcessStartInfo();
228+
startInfo.CreateNoWindow = false;
229+
startInfo.UseShellExecute = false;
230+
startInfo.FileName = jarFixPath;
231+
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
232+
startInfo.Arguments = "/s";
233+
using (Process exeProcess = Process.Start(startInfo))
234+
{
235+
exeProcess.WaitForExit();
236+
}
237+
238+
//System.Diagnostics.Process.Start(jarFixPath);
227239
fWaitStepToFinish.Set();
228240
}
229241

GraalVM_InstallerForWindows/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.3")]
36-
[assembly: AssemblyFileVersion("1.0.3")]
35+
[assembly: AssemblyVersion("1.0.4")]
36+
[assembly: AssemblyFileVersion("1.0.4")]
Binary file not shown.

0 commit comments

Comments
 (0)