Jump to content

İnstall Cmd.


Ademuzun
 Share

Recommended Posts

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 by Ademuzun
Link to comment
Share on other sites

  • Ademuzun changed the title to İnstall Cmd.

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

)

 

  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...