Changing the installation path of this MSI

Zack used Ask the Experts™

I am trying to install

As per the article

But I can't modify the install path, see pics below:

Tried the following in cmd run as admin: C:\>msiexec /a "sqlserver2005_PerformanceDashboard" INSTALLDIR="C:\myfolder" /qb
Tried the following in cmd run as admin: C:\>msiexec /a "sqlserver2005_PerformanceDashboard" TARGETDIR="C:\myfolder" /qb

Neither of the above works.

How can I overcome this?

Thank you.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I'm sorry but your question isn't very clear to me. are you trying to change the install path of another installation or do you have your own msi project that you want to include this in?

if its the latter you can just include it in your project as a redistributable .
First, create the folder you want to install it into, then type it into the box from your Install-Pic-2 image.
What happens?
Most Valuable Expert 2018
Distinguished Expert 2018
"msiexec /a" doesn't install an msi; it creates an administrative/network installation.
Use PERFDASH to specify the installation dir.
msiexec /i SQLServer2005_PerformanceDashboard.msi PERFDASH="C:\myfolder" /qb

Open in new window

Click dropdown box under 'Look In:", then you will be able to select another directory. You can click on the top C:, it will show all directories on the hard drive, then you can navigate down to the one you want.
screenshotClick on the button on the right from dropdown box goes one level up, click on the next one creates new directory.
ZackGeneral IT Goto Guy


Thank you oBdA that fixed it.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial