changobutt
Newcomer
- Joined
- Dec 11, 2003
- Messages
- 23
I'm trying to run an .msi file using the Shell function, but I guess it doesn't like it.
Shell("C:\mySetup.msi", AppWinStyle.NormalFocus, True)
It gives me the following error:
------------------------------------
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in microsoft.visualbasic.dll
Additional information: File not found.
------------------------------------
Is there a way I can execute an .msi file with code?
Thanks!
Shell("C:\mySetup.msi", AppWinStyle.NormalFocus, True)
It gives me the following error:
------------------------------------
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in microsoft.visualbasic.dll
Additional information: File not found.
------------------------------------
Is there a way I can execute an .msi file with code?
Thanks!