• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 246
  • Last Modified:

Is it possible to run a msi file from a button within a flash exe using actionscript?

Im creating as CD Rom using flash and I want there to be an option button that will launch an windows installer (msi file) that I have created. Ive looked into fscommands and using .bat  files but nothing seems to launch that installer file. Is it even possible across different operating system such a XP, Vista and 7, with flash security issues?

I would be really grateful for any help.

Regards
Jamie
0
keyparker
Asked:
keyparker
  • 2
1 Solution
 
CyanBlueCommented:
You could try using this command inside the batch file, but you will need an admin password to go further and actually install stuff on your user's computer...

CyanBlue
runas /user:administrator "msiexec /i installer.msi"

Open in new window

0
 
MirfsterCommented:
First question would be if you tried to do anything else with the button (ie. Call up NotePad.exe or open a command prompt), does that work?

Second item would be if you are resolving the location of your script and putting that into the command?  Say the User's CD-ROM drive is assigned letter "K", does your action call MsiExec and tell it the location of the MSI to run (Example: MsiExec /I "K:\MyApp.msi)?
0
 
keyparkerAuthor Commented:
Hi CyanBlue and Mirfster

Thanks for your quick replies.

I have solved the problem in the end. I used a bat file to enable windows to pop up a windows explorer window with the exe in it. Then all the user would have to do is click on the exe to install.

This seems to be stable across different windows operating systems so it think its the best solution for this project.

Thanks for your time and thoughts

Regards
Jamie
0
 
CyanBlueCommented:
Oh, I thought that you wanted MSI not EXE...  :)

It'd be great if you can close the topic...

CyanBlue
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now