
If %OS%=32BIT runas /user:Administrator %~dp0\vcredist_x86.exe /q /norestart Reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL & set OS=32BIT || set OS=64BIT To install vcredist in bat silently you will have to add these commands: OFF Better will be to pack all files into zip (together with this *.bat script). From what I know it is not posiible to include this in the *.jar. If you already have bat file for install best way to do this will be to include install of vc_redist in this *.bat before install. then automatically install the vc_redist, depending on the system (32 or 64 bits) - by what means? zip file of my game (this file includes the game and the vc_redist) bat (like above) allowing to run the game. In other words, is it possible to include this vc_redist in the. So, what is the good practice to manually avoid to install the vc_redist?

I am sure that this problematics consisting in facilitating procedure of installation of a game and, more generally, a product has been already solved. I mention "" because it depends on the system they have (vc_redist.圆4.exe or vc_). Jre1.8.0_66\bin\java.exe =d:\HG -jar HG11.9.jarīut, that works if I has PREVIOUSLY installed the VC redistributable.Īs some people are not software specialists, they don't know how to install this vc_redist_.

For running a java code (that includes a JXInput code for a Joystick use), I only run this.
