Ademuzun Posted February 11, 2021 Share Posted February 11, 2021 (edited) Selam Arkadaşlar ben hem 32 hem 64 bitte hangisi varsa programı otomatik kuracak ve o klasöre hem patch yapıp registry dosyasını çalıştıracak bir İnstall.cmd dosyası yapmak istedim aşagıdaki gibi bir yerde hata yapıyorum nerede acaba bunu düzenleyecek bir yardım gerekli teşekkürler Özellikle bu işin ustası Senyor3 ve forjest usta destek lütfen not : 2 ayrı (ScreenHunter7Pro.exe ,,,,, ScreenHunter7Pro-Admin.exe) dosyasınıda hangi sistemde kurulursa oraya kopyalayacak. @echo ScreenHunter7Pro REM Uninstall old ScreenHunter7Pro version if exist "%PROGRAMFILES%\ScreenHunter 7.0 Pro\uninstall.exe" "%PROGRAMFILES%\ScreenHunter 7.0 Pro\uninstall.exe" /VERYSILENT /NORESTART if exist "%PROGRAMFILES(x86)%\ScreenHunter 7.0 Pro\uninstall.exe" "%PROGRAMFILES% (x86)\ScreenHunter 7.0 Pro\uninstall.exe" /VERYSILENT /NORESTART copy "ScreenHunter7Pro.exe" "%PROGRAMFILES(x86)%\ScreenHunter 7.0 Pro\" /Y copy "ScreenHunter7Pro-Admin.exe" "%PROGRAMFILES(x86)%\ScreenHunter 7.0 Pro\" /Y copy "ScreenHunter7Pro.exe" "%PROGRAMFILES%\ScreenHunter 7.0 Pro\" /Y copy "ScreenHunter7Pro-Admin.exe" "%PROGRAMFILES%\ScreenHunter 7.0 Pro\" /Y REM ScreenHunter7Pro Silent install "%~dp0setupscreenhunter.exe /VERYSILENT /NORESTART Regedit /S ScreenHunter7Pro.reg Edited February 11, 2021 by Ademuzun Quote Link to comment Share on other sites More sharing options...
By_FaRuK Posted February 12, 2021 Share Posted February 12, 2021 Merhaba, İşletim sistemi x64 - x32 ayrımına göre aşağıdaki komutları kullanabilirsin. Kolay gelsin. Alıntı if defined ProgramFiles(x86) ( /// İşletim sistemi 64 bit ise yapılacak işlemler ) else ( /// İşletim sistemi 32 bit ise yapılacak işlemler ) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.