MSI custom install location

MJ89
MJ89 Posts: 2 ✭✭

Apolgies if this has been asked before however I've been unsuccesful in finidng an answer here or elsewhere.

I'm working on an embedded product using Windows UnifiedWriteFilter and as such I'd like to change the install path for my custom msi file using a predefined script.

However I simply cannot customize the install location.

I've tried the following:

msiexec /i C:\path1\path2\TeamViewer_Host-idcXXXXXXX.msi TARGETDIR="C:\path1\path3\Teamviewer\" /qn

No matter what it ends up in the ProgramFiles folder, what can I do to change this?

Comments

  • MJ89
    MJ89 Posts: 2 ✭✭

    OP here again.

    I got the above to work for teamviewer 12 MSI package but still not for teamvier 14.

    Any assistance is appriciated!

  • MarianH
    MarianH Posts: 1
    edited October 2021

    Why this hasn't been answered yet?

  • DHITSD
    DHITSD Posts: 1

    Still hasn't been answered. Wow Teamviewer.

  • Justin
    Justin Posts: 802 [Former Staff]
    edited August 2022

    Hello everybody,

    to customize the location of the installation while setting TeamViewer up, please use the following command:

    msiexec /i TeamViewer_Full.msi INSTALLFOLDER="D:\TeamViewerApps"
    

    We will display a warning after trying to change it 👇🏻


    💡Please make sure that you have the latest TeamViewer version installed.


    If you have any further questions, don't hesitate to let us know.


    Best,

    Justin

    German Community Moderator