Jump to content

İşletim Sistemine Göre Dosya Çalıştırma


byhabit
 Share

Recommended Posts

os = System.GetOSName();
if os == "Windows XP" then
File.Run(_SourceFolder.."\\XP.exe", "", "", SW_SHOWNORMAL, true);
elseif os == "Windows 7" then
if not System.Is64BitOS() then
File.Run(_SourceFolder.."\\x86.exe", "", "", SW_SHOWNORMAL, true);
else
File.Run(_SourceFolder.."\\x64.exe", "", "", SW_SHOWNORMAL, true);
end
end

Dialog.Message("Bilgi", "Kurulum tamamlandı.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);

Sıkıntı yoksa kalsın o zaman.

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...