By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,060 Members | 1,878 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,060 IT Pros & Developers. It's quick & easy.

how to run .msi file in website by clicking button

P: 5
its working on my pc, i want to do this on our website by clicking button,
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" language="javascript">
  2.         function RunFile() {
  3.         WshShell = new ActiveXObject("WScript.Shell");
  4.         WshShell.Run("rundll32 SHELL32.DLL,ShellExec_RunDLL msiexec /qb /i C:\\WINDOWS\\Setup\\SMART_V1.0.msi REBOOT=ReallySuppress", 1, false);
  5.         }
  6.     </script>
how to do this on our website
Apr 27 '13 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,357
Please use code tags when posting code.

Remote sites don't have that kind of access to a user's computer system because of security issues.
Apr 27 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.