We help IT Professionals succeed at work.
Get Started

run macro / exe during installation - msi installer

940 Views
Last Modified: 2013-11-07
Can we run macros or exe before program installation in installer? Can we check and delete windows folders  (basically to cleanup before the actual installation)?

Am creating the setup installer with standard Visual Studio 'Setup and Deployment'. I have to run some macros to check older software entries. When the user clicks setup.exe ... this cleanup macro has to run. Is it possible?

Any help or ideas is much appreciated. Cheers.
 

Comment
Watch Question
Full stack Software Engineer
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 8 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE