/build/static/layout/Breadcrumb_cap_w.png

Set INSTALLDIR to root directory?

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)
to
C:\app

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

Answers (1)

Posted by: SnowLyric 11 years ago
Second Degree Brown Belt
1

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.


Comments:
  • or you can change the app directory parent from ProgramFilesFolder to TARGETDIR. - dannyarya 11 years ago
  • 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. - zzpack 11 years ago
 
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