FLaky Posted January 19, 2013 Share Posted January 19, 2013 mrb arkadaşlar...Local ve LocalLow dizinlerini bi türlü tam olarak oturtamıyorum @UserProfileDir kullandığımda ise farklı yerlere atıyor dosyları...Roaming klasöründe sorun yok ama local ve locallow ile ilgili yardımlarınızı bekliyorum C:\Users\User\AppData\Roaming = @AppDataDir C:\Users\User\AppData\LocalLow = ? C:\Users\User\AppData\Local = ? Quote Link to comment Share on other sites More sharing options...
YAGMURADAM Posted January 19, 2013 Share Posted January 19, 2013 flaky, prk programlamadan anlamam ana File menü tools çalışmamda Akozdemirin verdiği bir kod var. Source: {app}\RadioSure.xml; DestDir: {localappdata}\RadioSure Bu kod C:\Users\Kullanıcı adı\AppData\Local dizinine RadioSure adlı bir klasör oluşturuyor ve bu klasörün içine RadioSure.xml dosyasını kopyalıyor. Belki bir fikir verir diye yazdım. Not: bu kod "iss" (inno setup dosyası) içindedir. Quote Link to comment Share on other sites More sharing options...
FLaky Posted January 19, 2013 Author Share Posted January 19, 2013 (edited) YAGMURADAM macrolara baktım ama onunla ilgili bişey bulamadım... Not: yakın zamanda inno ile ilgili bi kaç sorum olacak sana.. Edited January 19, 2013 by FLaky Quote Link to comment Share on other sites More sharing options...
YAGMURADAM Posted January 19, 2013 Share Posted January 19, 2013 Flaky,inno setup programıyla ilgili soracağınız biri varsa o da Akozdemirdir.Cidden ben anlamam.Sadece varolanı düzenler kısmen değiştirebilirim hepsi bu.Ama sıfırdan iss dosya oluşturamam bilesin. O verdiğim kod makroda(Makro mu değil mi onu da bilmiyorum ya.) falan değildi ki.Akozdemir yazmıştı.Saygılarımla Kaynak klasör : app klasörü. Kopyalanacak dosya : RadioSure.xml RadioSure klasörü oluşturulduktan sonra Kopyalanacağı yer : C:\Users\YAGMUR\AppData\Local\RadioSure Quote Link to comment Share on other sites More sharing options...
FLaky Posted January 19, 2013 Author Share Posted January 19, 2013 yani autoitin macrolarında yok dmek istemiştim... Quote Link to comment Share on other sites More sharing options...
YAGMURADAM Posted January 19, 2013 Share Posted January 19, 2013 Bu autoit dosyası değil.Onun ki au3(Ham dosyası) uzantılı olur.Bu verdiğim kod ise iss dosyasındadır.İnno setup ve İstool programlarının dosyasıdır.İkisi birbirinden farklıdır.Saygılarımla Quote Link to comment Share on other sites More sharing options...
blue_life Posted January 20, 2013 Share Posted January 20, 2013 NT5 ile NT6 gördüğüm kadarıyla farklı. Neyse aşağıdaki kodları denersin... Global $UserProfileDir = @UserProfileDir If StringRight($UserProfileDir, 1) <> "\" Then $UserProfileDir &= "\" Global $User_LocalLow = $UserProfileDir & "AppData\LocalLow" Global $User_Local = $UserProfileDir & "AppData\Local" If StringInStr("|WIN_2003|WIN_XP|WIN_XPe|WIN_2000|", "|" & @OSVersion & "|") <> 0 Then $User_LocalLow = $UserProfileDir & "Application Data" $User_Local = $UserProfileDir & "Local Settings" EndIf MsgBox(64, "", "LocalLow = " & $User_LocalLow & @CRLF & "Local = " & $User_Local) 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.