Modify install drive and path in MSI

Post Reply
Magichand
Posts:1
Joined:Sat Sep 29, 2012 5:52 am
Modify install drive and path in MSI

Post by Magichand » Sat Sep 29, 2012 6:23 am

Hi there,

I want to change the Installation drive from c:\ to e:\ using ORCA, but I dont't find the right entry I have to modify...

Which values must be changed?

Assaf
Posts:7
Joined:Thu Mar 22, 2007 2:24 pm
Location:Maryland, USA

Re: Modify install drive and path in MSI

Post by Assaf » Tue Oct 23, 2012 3:25 pm

Using the InstallShield Tuner application (not free) you can generate transforms by going through the graphical install dialogues and making the desired changes, it then generates the transform to match.

There isn't a generic method for setting the install directory of an MSI, but using the Tuner application the outcome of changing the install directory on the FF 16.01 MSI is as follows:
(I used the path "e:\ffce", edit as you see fit)
(The "|" represents a column separator)

In the Property table:
_CST_NEW_INSTALLDIR | e:\ffce\
_CST_NEW_DEFAULT_DESTINATION | INSTALLDIR

In the InstallUISequence table
_CST_NEW_INSTALLDIR | NOT INSTALLDIR | 799

In the InstallExecuteSequence table
_CST_NEW_INSTALLDIR |NOT INSTALLDIR | 799

In the CustomAction table
_CST_NEW_INSTALLDIR | 51 |INSTALLDIR | e:\ffce\

Post Reply