Software Deployment Question

Set INSTALLDIR to root directory?

11/26/2012 9551 views

In Wise Package Studio, I want to do the following. (or in ORCA)

In my .mst I want to change installation default directory from
C:\program files\app (this is vendor default)

I have played around with the Directory table, and INSTALLDIR. But I need help to get it right.
I just cant manage to set it to root directory or find out wich environment variable to use.

0 Comments   [ + ] Show comments


All Answers


Create a log file during installation and find the property that the installation directory is set to. Use a Set Property custom action then to change the location.

Answered 11/26/2012 by: SnowLyric
Second Degree Brown Belt

  • or you can change the app directory parent from ProgramFilesFolder to TARGETDIR.
  • I have tried to change the app directory parent to TARGETDIR. The result is that the .msi installation
    comes up with the error that it doesnt find the media in ...\app\filename.dll and so on.

    When I use the command line,
    msiexec /i INSTALLDIR="C:\app" app.msi
    then it works like a charm. But as you know its not possible to use msi command lines with gpo sw deployment.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ