mrecep38 Posted November 20, 2010 Share Posted November 20, 2010 Autoit ile inf dosyasını nasıl çalıştırabiliriz? Quote Link to comment Share on other sites More sharing options...
Swisyn Posted November 20, 2010 Share Posted November 20, 2010 Googleden ilk arattığımda çıkan bir sonuç. [quote]Runwait (@systemdir & "\rundll32.exe syssetup,SetupInfObjectInstallAction DefaultInstall 128 " & $pathtoinf & "\your.inf","",@SW_HIDE)[/quote] Quote Link to comment Share on other sites More sharing options...
blue_life Posted November 20, 2010 Share Posted November 20, 2010 Global $INF_FILE = @WindowsDir & "\INF\Deneme.inf" ;Kurmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 " & $INF_FILE) ;Kaldırmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 " & $INF_FILE) Quote Link to comment Share on other sites More sharing options...
mrecep38 Posted November 20, 2010 Author Share Posted November 20, 2010 [quote name='blue_life' date='20 Kasım 2010 - 08:33 ' timestamp='1290242632' post='914488'] Global $INF_FILE = @WindowsDir & "\INF\Deneme.inf" ;Kurmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 " & $INF_FILE) ;Kaldırmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 " & $INF_FILE) [/quote] Üstad, ilginiz için çok teşekkür ediyorum. Peki inf dosyasını FileInstall ile script içine almak da mümkün müdür? Quote Link to comment Share on other sites More sharing options...
blue_life Posted November 20, 2010 Share Posted November 20, 2010 @mrecep38 FileInstall ile autoit içine alabilirsin. Kısa bir örnek verelim ve sen kendine göre düzenle. [codebox]Local $INF_FILE = @TempDir & "\TEST\Test.inf" FileExists(@TempDir & "\TEST") Then DirCreate(@TempDir & "\TEST") FileInstall("Test.inf", $INF_FILE, 1) ;inf dosyamız FileInstall("Test1.dll", @TempDir & "\TEST\Test1.dll", 1) ;gerekli bir dosyamız FileInstall("Test2.dll", @TempDir & "\TEST\Test2.dll", 1) ;gerekli bir dosyamız ;Kuruyoruz. RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 " & $INF_FILE) DirRemove(@TempDir & "\TEST", 1)[/codebox] Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted December 7, 2010 Share Posted December 7, 2010 Ben pikiy inf sini çalıştırdım oldu ama istediğim gibi değil çünkü inf ve cab dosyasını C:\WINDOWS\inf dizinine kopyalamadan çalışmadı. inf ve cab dosyası au3 dosyasının yanında olsun ve komut çalışsın istiyorum. Quote Link to comment Share on other sites More sharing options...
djonur007 Posted December 8, 2010 Share Posted December 8, 2010 (edited) [quote name='kamuran731' date='07 Aralık 2010 - 22:45 ' timestamp='1291755347' post='923158'] Ben pikiy inf sini çalıştırdım oldu ama istediğim gibi değil çünkü inf ve cab dosyasını C:\WINDOWS\inf dizinine kopyalamadan çalışmadı. inf ve cab dosyası au3 dosyasının yanında olsun ve komut çalışsın istiyorum. [/quote] [php] Global $INF_FILE = @ScriptDir & "\Deneme.inf" ;Kurmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 " & $INF_FILE) ;Kaldırmak RunWait("rundll32.exe setupapi.dll,InstallHinfSection DefaultUninstall 132 " & $INF_FILE) [/php] Edited December 8, 2010 by djonur007 Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted February 4, 2011 Share Posted February 4, 2011 @djonur007 verdiğin komut ile cab kuulumunu yaptım kurdu ama kaldır komutu işe yaramadı nedenı ne olabiir komuttamı hata var yoksa ini dosyasında uninstall komtlarımı eksik 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.