Install an External Program thru Excel VBA codes

sanits591

Active Member
Joined
May 30, 2010
Messages
253
Hi

I am trying to find a an excel VBA code which can install an external program downloaded to a folder.

I have searched around google but in vain.

Please help
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Thanks for the prompt response, but this is meant for running the exe file.

My requirement is, let us say, we have downloaded the exe file from net and that application requires to be installed on the hard disk with sequential message boxes like allowing the program to be installed then >next, next> next etc. and then OK for installation at the end.

I need to have these :-allowed to install message (in Vista) then next auto clicked thru vba for that particular program to get this installed.

It would be much appreciated on the above.

Thanks
 
Upvote 0
Hmm, sorry.
I'm sure it can be done, but it's a little outside my expertise.
I'm sure others can step with some more assistance.
 
Upvote 0
As mentioned, it's outside my expertise....but I'm not sure you'll get a positive result.
I don't believe Excel VBA will allow you to "bypass" another applications install procedures to make it run the way you are requesting.
 
Upvote 0
Very VIRUS LIKE
why don't you Install it once then get all the bits :- exe's, dll's, data files, registry setting and install these bits "manually" ( as in register the dlls/exe's upload the registry settings, create the folders etc.. ) through VBA
 
Upvote 0
I want to install through VBA only. I hope sendkeys shall be one of the ingredient of the code to do this, i am not getting the way out.

Please assist.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,345
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top